YAPOG  0.0.1
Yet Another Pokemon Online Game
GameGuiManager.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_GAMEGUIMANAGER_HPP
2 # define YAPOG_CLIENT_GAMEGUIMANAGER_HPP
3 
4 # include "YAPOG/Macros.hpp"
6 # include "YAPOG/Collection/Map.hpp"
7 # include "YAPOG/System/String.hpp"
8 
9 namespace ycl
10 {
12  {
14 
15  public:
16 
17  GameGuiManager ();
18 
19  virtual ~GameGuiManager ();
20 
21  void AddGameWidget (const yap::String& name, yap::IWidget* gameWidget);
22 
23  void SetCurrentWidget (const yap::String& name);
24  bool UnsetCurrentWidget ();
25 
26  protected:
27 
28  virtual bool HandleOnEvent (const yap::GuiEvent& guiEvent);
29  //virtual bool HandleOnPriorityEvent (const yap::GuiEvent& guiEvent);
30 
31  private:
32 
33  static const bool DEFAULT_ADDED_WIDGET_STATE;
34 
38  };
39 } // namespace ycl
40 
41 #endif // YAPOG_CLIENT_GAMEGUIMANAGER_HPP