28 #include <CEGUIFont.h>
29 #include <CEGUIImageset.h>
30 #include <CEGUISystem.h>
31 #include <CEGUILogger.h>
32 #include <CEGUISchemeManager.h>
33 #include <CEGUIWindowManager.h>
34 #include <CEGUIWindow.h>
35 #include <elements/CEGUICheckbox.h>
36 #include <elements/CEGUIRadioButton.h>
37 #include <elements/CEGUIComboDropList.h>
38 #include <elements/CEGUICombobox.h>
39 #include <elements/CEGUIEditbox.h>
40 #include <elements/CEGUIListbox.h>
41 #include <elements/CEGUIListboxTextItem.h>
42 #include <elements/CEGUIPushButton.h>
43 #include <elements/CEGUIScrollbar.h>
44 #include <elements/CEGUISlider.h>
45 #include <elements/CEGUISpinner.h>
46 #include <elements/CEGUITooltip.h>
48 namespace OpenSkyNet {
50 CEGUI::Rect
getTextArea(
const CEGUI::Window* textWindow_);
58 void wrapText(CEGUI::Window* textWindow_,
const std::string& text_,
bool doSetText_, std::string& renderableText_, std::string& leftoverText_);
65 UIScreen(
UI* app_,
const std::string& fileName_);
82 virtual bool update(
float dt_);
84 virtual bool keyPressed(
const OIS::KeyEvent& arg_) {
return false; }
85 virtual bool keyReleased(
const OIS::KeyEvent& arg_) {
return false; }
88 virtual void popScreen(
bool doUnload_=
true);
CEGUI::Window * getGUISheet()
Definition: GUIScreen.h:75
virtual void reload()
Definition: GUIScreen.cpp:81
virtual bool keyReleased(const OIS::KeyEvent &arg_)
Definition: GUIScreen.h:85
virtual void unload()
Definition: GUIScreen.cpp:74
void wrapText(CEGUI::Window *textWindow_, const std::string &text_, bool doSetText_, std::string &renderableText_, std::string &leftoverText_)
UI * _app
Definition: GUIScreen.h:91
UIScreen(UI *app_, const std::string &fileName_)
Definition: GUIScreen.cpp:64
CEGUI::Rect getTextArea(const CEGUI::Window *textWindow_)
Definition: GUIScreen.cpp:13
virtual void popScreen(bool doUnload_=true)
Definition: GUIScreen.cpp:104
virtual ~UIScreen()
Definition: GUIScreen.h:73
CEGUI::Window * _window
Definition: GUIScreen.h:93
std::string _fileName
Definition: GUIScreen.h:92
virtual bool update(float dt_)
Definition: GUIScreen.cpp:92
void popAndUnloadScreenNextUpdate()
Definition: GUIScreen.h:89
bool _popAndUnloadScreenNextUpdate
Definition: GUIScreen.h:94
virtual void load()
Definition: GUIScreen.cpp:66
Definition: GUIScreen.h:63
virtual void setupEventHandlers()
Definition: GUIScreen.h:96
virtual bool keyPressed(const OIS::KeyEvent &arg_)
Definition: GUIScreen.h:84
virtual void switchMouseMode()
Definition: GUIScreen.h:80
virtual void pushScreen(UIScreen *screen_)
Definition: GUIScreen.cpp:103