YAPOG  0.0.1
Yet Another Pokemon Online Game
GuiManager.cpp
Go to the documentation of this file.
2 
3 namespace yap
4 {
6  : BaseWidget ()
7  {
8  }
9  bool GuiManager::IsFocusable () const
10  {
11  return false;
12  }
13 
15  {
16  }
17 
19  {
20  for (IWidget* child : childen_)
21  {
22  if (child->IsFocusable ())
23  {
24  child->SetFocused (true);
25  return false;
26  }
27  }
28  return false;
29  }
30 
31  void GuiManager::HandleMove (const Vector2& offset)
32  {
33  }
34 
35  void GuiManager::HandleScale (const Vector2& factor)
36  {
37  }
38 
40  {
41  }
42 
43  void GuiManager::HandleShow (bool isVisible)
44  {
45  }
46 
47  void GuiManager::HandleChangeColor (const sf::Color& color)
48  {
49  }
50 
51  void GuiManager::HandleUpdate (const Time& dt)
52  {
53  }
54 } // namespace yap