00001 /** $Revision: 1.3 $ 00002 Last updated: $Date: 2002/09/20 12:21:31 $ 00003 00004 Copyright (C) 2000-2002 Vlad Mereuta <dizzy@users.sourceforge.net> 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ 00019 00020 00021 #ifndef __SPLITS_TABLE__ 00022 #define __SPLITS_TABLE__ 00023 00024 #include <PalmOS.h> 00025 #include "Table.h" 00026 00027 /** this class handles display and modification of splits */ 00028 class SplitsTable : public Table 00029 { 00030 public: 00031 /// initialises the table 00032 SplitsTable(); 00033 00034 ///loads data into the table 00035 void loadData(); 00036 00037 ///inits the columns in the table 00038 void initColumns(); 00039 00040 ///overloads the method in Table 00041 Boolean recordIsValid(UInt16 id); 00042 00043 ///draws a cell in the table 00044 static void drawCell(void* table, Int16 row, Int16 column, RectangleType* bounds); 00045 }; 00046 00047 #endif