summaryrefslogtreecommitdiff
path: root/src/gui/table_model.h
diff options
context:
space:
mode:
authorFate <fate.tmw@googlemail.com>2008-11-01 22:39:26 +0000
committerFate <fate.tmw@googlemail.com>2008-11-01 22:39:26 +0000
commit4cfdb3620ccbd0de6bd53c5f22e7b6d3801627bf (patch)
tree20471d3a652d35a193b6c9873b45eded59bd3e63 /src/gui/table_model.h
parent885a9c145464a2b376edfd1c9677b84f6d4a8ce5 (diff)
downloadmana-4cfdb3620ccbd0de6bd53c5f22e7b6d3801627bf.tar.gz
mana-4cfdb3620ccbd0de6bd53c5f22e7b6d3801627bf.tar.bz2
mana-4cfdb3620ccbd0de6bd53c5f22e7b6d3801627bf.tar.xz
mana-4cfdb3620ccbd0de6bd53c5f22e7b6d3801627bf.zip
* Updated GUI table and model to better handle NULL widgets during initialisation
* On SMSG_MOVE et al., ignore boots and glove information-- that information is incorrect and we're guaranteed to already have the correct information anyway. * Properly decode `is dead' information for PCs, so that dead players, when encountered, will be lying on the ground, dead, rather than standing. * Use `skills.xml' file from client data to determine skill names * Report client version number (hereby bumped to 1) in unused charserver slot (ignored by vanilla eAthena)
Diffstat (limited to 'src/gui/table_model.h')
-rw-r--r--src/gui/table_model.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/gui/table_model.h b/src/gui/table_model.h
index 48ef1c0d..4be4e60e 100644
--- a/src/gui/table_model.h
+++ b/src/gui/table_model.h
@@ -120,9 +120,14 @@ public:
*/
virtual void fixRowHeight(int height);
- virtual int getRows();
- virtual int getColumns();
- virtual int getRowHeight();
+ /**
+ * Resizes the table model
+ */
+ virtual void resize(void);
+
+ virtual int getRows(void);
+ virtual int getColumns(void);
+ virtual int getRowHeight(void);
virtual int getColumnWidth(int index);
virtual gcn::Widget *getElementAt(int row, int column);