[Scummvm-cvs-logs] SF.net SVN: scummvm: [22791] scummvm/trunk/gui/TabWidget.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Wed May 31 01:53:01 CEST 2006


Revision: 22791
Author:   eriktorbjorn
Date:     2006-05-31 01:52:20 -0700 (Wed, 31 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22791&view=rev

Log Message:
-----------
Update _tabHeight on screen changes.

Modified Paths:
--------------
    scummvm/trunk/gui/TabWidget.cpp
Modified: scummvm/trunk/gui/TabWidget.cpp
===================================================================
--- scummvm/trunk/gui/TabWidget.cpp	2006-05-31 08:44:14 UTC (rev 22790)
+++ scummvm/trunk/gui/TabWidget.cpp	2006-05-31 08:52:20 UTC (rev 22791)
@@ -146,6 +146,12 @@
 		}
 	}
 	Widget::handleScreenChanged();
+	_ws = g_gui.getWidgetSize();
+	if (_ws == kBigWidgetSize) {
+		_tabHeight = kBigTabHeight;
+	} else {
+		_tabHeight = kTabHeight;
+	}
 }
 
 void TabWidget::drawWidget(bool hilite) {


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