YAPOG  0.0.1
Yet Another Pokemon Online Game
PokedexCompositeWidget.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_WIDGETCOMPOSITEPOKEDEX_HPP
2 # define YAPOG_CLIENT_WIDGETCOMPOSITEPOKEDEX_HPP
3 
4 # include "YAPOG/Macros.hpp"
7 
8 namespace yap
9 {
10  class Pokedex;
11  class Menu;
12 }
13 
14 namespace ycl
15 {
17  {
19 
20  public:
22  void Init ();
23  virtual ~PokedexCompositeWidget ();
24  virtual bool IsFocusable () const;
25 
26  protected:
27  virtual yap::Vector2 HandleGetSize () const;
28  virtual void HandleMove (const yap::Vector2& offset);
29  virtual void HandleScale (const yap::Vector2& factor);
30 
31  virtual void HandleDraw (yap::IDrawingContext& context);
32 
33  virtual void HandleShow (bool isVisible);
34  virtual void HandleChangeColor (const sf::Color& color);
35 
36  virtual void HandleUpdate (const yap::Time& dt);
37 
38  private:
41 
42  };
43 } // namespace ycl
44 
45 #endif // YAPOG_CLIENT_WIDGETCOMPOSITEPOKEDEX_HPP