Removed a widget set dependency and a few includes.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
coz 2007-06-10 17:42:18 +00:00
parent fd053ced67
commit 2ef1d70096
3 changed files with 6 additions and 4 deletions

View File

@ -33,7 +33,6 @@
#include "material_manager.hpp"
#include "race_manager.hpp"
#include "world.hpp"
#include "widget_set.hpp"
#include "user_config.hpp"
#include "scene.hpp"
#include "history.hpp"

View File

@ -33,7 +33,7 @@
#include "loader.hpp"
#include "gui/menu_manager.hpp"
#include "player.hpp"
#include "widget_set.hpp"
#include "gui/font.hpp"
SDL_Surface *mainSurface;
long flags;
@ -114,7 +114,11 @@ void drv_toggleFullscreen(int resetTextures)
attachment_manager -> loadModels();
// startScreen -> installMaterial();
widgetSet -> reInit();
//FIXME: the font reinit funcs should be inside the font class
//Reinit fonts
delete_fonts();
init_fonts();
}
#endif
}

View File

@ -47,7 +47,6 @@
#include "history.hpp"
#include "constants.hpp"
#include "sound_manager.hpp"
#include "widget_set.hpp"
#include "ssg_help.hpp"
#include "translation.hpp"
#include "highscore_manager.hpp"