[Scummvm-cvs-logs] SF.net SVN: scummvm: [22968] scummvm/trunk/gui/ThemeNew.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Wed Jun 7 04:55:18 CEST 2006
Revision: 22968
Author: sev
Date: 2006-06-06 19:55:08 -0700 (Tue, 06 Jun 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22968&view=rev
Log Message:
-----------
oops. More appropriate place for loading fonts. Avoids loading fonts on
each GUI start
Modified Paths:
--------------
scummvm/trunk/gui/ThemeNew.cpp
Modified: scummvm/trunk/gui/ThemeNew.cpp
===================================================================
--- scummvm/trunk/gui/ThemeNew.cpp 2006-06-07 02:53:03 UTC (rev 22967)
+++ scummvm/trunk/gui/ThemeNew.cpp 2006-06-07 02:55:08 UTC (rev 22968)
@@ -160,8 +160,6 @@
processExtraValues();
}
- setupFonts();
-
for (int i = 0; i < kImageHandlesMax; ++i) {
if (!_images[i]) {
return false;
@@ -1514,6 +1512,8 @@
warning("no valid 'inactive_dialog_shading' specified");
}
+ setupFonts();
+
// load the colors from the config file
setupColors();
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