[Scummvm-cvs-logs] SF.net SVN: scummvm: [27169] scummvm/trunk/gui/TabWidget.h
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Thu Jun 7 17:17:01 CEST 2007
Revision: 27169
http://scummvm.svn.sourceforge.net/scummvm/?rev=27169&view=rev
Author: fingolfin
Date: 2007-06-07 08:17:01 -0700 (Thu, 07 Jun 2007)
Log Message:
-----------
Extended comment on TabWidget::removeTab() a bit
Modified Paths:
--------------
scummvm/trunk/gui/TabWidget.h
Modified: scummvm/trunk/gui/TabWidget.h
===================================================================
--- scummvm/trunk/gui/TabWidget.h 2007-06-07 15:14:58 UTC (rev 27168)
+++ scummvm/trunk/gui/TabWidget.h 2007-06-07 15:17:01 UTC (rev 27169)
@@ -72,6 +72,10 @@
* Remove the tab with the given tab ID. Disposes all child widgets of that tab.
* TODO: This code is *unfinished*. In particular, it changes the
* tabIDs, so that they are not unique anymore! This is bad.
+ * If we need to, we could fix this by changing the tab IDs from being an index
+ * into the _tabs array to a real "unique" ID, which gets stored in the Tab struct.
+ * It won't be difficult to implement this, but since currently no code seems to make
+ * use of the feature...
*/
void removeTab(int tabID);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list