[Igarden-commit] Garden/source/SourceMaterialDB PlantSelection.cpp, 1.27.2.9, 1.27.2.10 QueryDialog
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2008-05-17 20:47:53
|
Update of /cvsroot/igarden/Garden/source/SourceMaterialDB In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv22138/source/SourceMaterialDB Modified Files: Tag: Release_branch_v1 PlantSelection.cpp QueryDialog.cpp Log Message: Improve some comments Index: PlantSelection.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/SourceMaterialDB/PlantSelection.cpp,v retrieving revision 1.27.2.9 retrieving revision 1.27.2.10 diff -C2 -d -r1.27.2.9 -r1.27.2.10 *** PlantSelection.cpp 21 Mar 2008 22:05:38 -0000 1.27.2.9 --- PlantSelection.cpp 17 May 2008 20:47:05 -0000 1.27.2.10 *************** *** 552,555 **** --- 552,558 ---- /// DoKeyEvent // + /// Handle the KXGKeyEvent event from YAAF, indicating that a key has been pressed. + /// Return 0 if the event was handled, -1 otherwise. + // long PlantSelection::DoKeyEvent( long arg, void* /*parg*/ ) { Index: QueryDialog.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/SourceMaterialDB/QueryDialog.cpp,v retrieving revision 1.25.2.10 retrieving revision 1.25.2.11 diff -C2 -d -r1.25.2.10 -r1.25.2.11 *** QueryDialog.cpp 12 May 2008 11:18:20 -0000 1.25.2.10 --- QueryDialog.cpp 17 May 2008 20:47:12 -0000 1.25.2.11 *************** *** 141,145 **** { PersistentTags *prefs = GetActivePreferences(super ? super->GetFile() : NULL); - Int32 zonePref; _query = new SourceQuery(database); --- 141,144 ---- *************** *** 1545,1554 **** return 0; } // --------------------------------------------------------------------------- ! // long QueryDialog::DoKeyEvent( long arg, void* parg ) ! // --------------------------------------------------------------------------- // ! long ! QueryDialog::DoKeyEvent( long arg, void* /*parg*/ ) { long low, high; --- 1544,1556 ---- return 0; } + + // --------------------------------------------------------------------------- ! /// DoKeyEvent // ! /// Handle the KXGKeyEvent event from YAAF, indicating that a key has been pressed. ! /// Return 0 if the event was handled, -1 otherwise. ! // ! long QueryDialog::DoKeyEvent( long arg, void* /*parg*/ ) { long low, high; *************** *** 1563,1572 **** return -1; } // --------------------------------------------------------------------------- ! // long QueryDialog::DoTableChanged( long arg, void* parg ) ! // --------------------------------------------------------------------------- // ! long ! QueryDialog::DoTableChanged( long arg, void* /*parg*/ ) { HandleColorMenuMsg(_window, arg); --- 1565,1580 ---- return -1; } + + // --------------------------------------------------------------------------- ! /// DoTableChanged // ! /// Handle the KTableChange message from RGTableView, indicating that the table data ! /// was changed. This is the primary way of handling user input from a table ! /// in an application-specific manner. ! // ! /// Return 0 if the data was handled, -1 otherwise. ! // ! long QueryDialog::DoTableChanged( long arg, void* /*parg*/ ) { HandleColorMenuMsg(_window, arg); |