[Igarden-commit] CommonSource/YAAFExtensions RGMultiTableView.cpp, 1.3, 1.3.2.1 RGMultiTableView.h,
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2007-01-10 03:33:25
|
Update of /cvsroot/igarden/CommonSource/YAAFExtensions In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv27028 Modified Files: Tag: Release_branch_v1 RGMultiTableView.cpp RGMultiTableView.h Log Message: Problem clicking on a picture column when used on multi-year lists Index: RGMultiTableView.cpp =================================================================== RCS file: /cvsroot/igarden/CommonSource/YAAFExtensions/RGMultiTableView.cpp,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** RGMultiTableView.cpp 17 Jun 2006 02:37:30 -0000 1.3 --- RGMultiTableView.cpp 10 Jan 2007 03:33:24 -0000 1.3.2.1 *************** *** 314,316 **** } } ! } \ No newline at end of file --- 314,334 ---- } } ! } ! ! void RGMultiTableView::ToMultiRow(long index, long &outRow, long &outSubRow) ! { ! long i, count; ! ! outRow = -1; ! outSubRow = -1; ! count = _rows.Length(); ! for(i = 0; i < count; i++) ! { ! if(index >= _rows[i].startTableRow && index < (_rows[i].startTableRow + _rows[i].numSubRows)) ! { ! outRow = i; ! outSubRow = index - _rows[i].startTableRow; ! break; ! } ! } ! } Index: RGMultiTableView.h =================================================================== RCS file: /cvsroot/igarden/CommonSource/YAAFExtensions/RGMultiTableView.h,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** RGMultiTableView.h 8 Sep 2004 01:08:09 -0000 1.2 --- RGMultiTableView.h 10 Jan 2007 03:33:24 -0000 1.2.2.1 *************** *** 69,72 **** --- 69,73 ---- bool IsSubRowVisible(short row, short subRow); + void ToMultiRow(long index, long &outRow, long &outSubRow); /* |