diff options
author | Max Horn | 2005-04-04 17:57:15 +0000 |
---|---|---|
committer | Max Horn | 2005-04-04 17:57:15 +0000 |
commit | d2cdbefc5ce074cb5526bb318689a7e099f05b08 (patch) | |
tree | bce027b34e2474bb6126a64236a9e002ede4ed69 /gui | |
parent | 9e2e00881f4fcaa921e251dd237ee9aed06bf3cb (diff) | |
download | scummvm-rg350-d2cdbefc5ce074cb5526bb318689a7e099f05b08.tar.gz scummvm-rg350-d2cdbefc5ce074cb5526bb318689a7e099f05b08.tar.bz2 scummvm-rg350-d2cdbefc5ce074cb5526bb318689a7e099f05b08.zip |
Cleanup
svn-id: r17378
Diffstat (limited to 'gui')
-rw-r--r-- | gui/TabWidget.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/gui/TabWidget.h b/gui/TabWidget.h index 3604c5c65c..ec8ebf1aaf 100644 --- a/gui/TabWidget.h +++ b/gui/TabWidget.h @@ -45,19 +45,20 @@ public: virtual int16 getChildY() const; -// use Dialog::releaseFocus() when changing to another tab - -// Problem: how to add items to a tab? -// First off, widget should allow non-dialog bosses, (i.e. also other widgets) -// Could add a common base class for Widgets and Dialogs. -// Then you add tabs using the following method, which returns a unique ID + // Problem: how to add items to a tab? + // First off, widget should allow non-dialog bosses, (i.e. also other widgets) + // Could add a common base class for Widgets and Dialogs. + // Then you add tabs using the following method, which returns a unique ID int addTab(const String &title); -// Maybe we need to remove tabs again? Hm + + // Maybe we need to remove tabs again? Hm //void removeTab(int tabID); -// Setting the active tab: + + /** Set the active tab by specifying a valid tab ID. + * setActiveTab changes the value of _firstWidget. This means new Widgets + * are always added to the active tab. + */ void setActiveTab(int tabID); -// setActiveTab changes the value of _firstWidget. This means Widgets added afterwards -// will be added to the active tab. virtual void handleMouseDown(int x, int y, int button, int clickCount); virtual bool handleKeyDown(uint16 ascii, int keycode, int modifiers); |