21 #include <OgreOverlayContainer.h>
22 #include <OgreOverlayManager.h>
23 #include <OgreOverlayElement.h>
24 #include <OgreTextAreaOverlayElement.h>
25 #include <OgreFontManager.h>
27 #include <CEGUI/CEGUI.h>
28 #include <CEGUI/RendererModules/Ogre/Renderer.h>
44 CEGUI::AnimationInstance*
load_animation(std::string name, CEGUI::Window* window);
45 Ogre::OverlayElement*
create_overlay(std::string name, std::string element);
46 Ogre::OverlayElement*
create_overlay(std::string name, std::string element,
47 std::pair<float, float> position,
48 std::pair<float, float> dimension);
virtual ~GUI()
Definition: gui.cpp:27
CEGUI::Window * load_layout(std::string file)
Definition: gui.cpp:53
Ogre::OverlayElement * create_overlay(std::string name, std::string element)
Definition: gui.cpp:69
const std::string default_font_
Definition: gui.h:33
CEGUI::AnimationInstance * load_animation(std::string name, CEGUI::Window *window)
Definition: gui.cpp:58
CEGUI::GUIContext & get_context()
Definition: gui.cpp:109
void register_callback(std::string button, CEGUI::Event::Subscriber callback)
void init()
Definition: gui.cpp:42
void inject_delta(float delta)
Definition: gui.cpp:114
Ogre::OverlayManager * overlay_manager_
Definition: gui.h:31
void load_resources()
Definition: gui.cpp:33
std::shared_ptr< GUI > shared
Definition: gui.h:36
GUI()
Definition: gui.cpp:20