YAPOG  0.0.1
Yet Another Pokemon Online Game
PokemonStatsInfoWidget.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_POKEMONSTATSINFOWIDGET_HPP
2 # define YAPOG_CLIENT_POKEMONSTATSINFOWIDGET_HPP
3 
4 # include "YAPOG/Macros.hpp"
5 
9 
10 namespace ycl
11 {
12  class Pokemon;
13 
15  {
16  public:
18 
19  virtual void Init ();
20 
21  virtual void SetPokemon (const Pokemon& pokemon);
22 
25  /*
26  virtual void SetDefaultColor (const sf::Color& color);
27  virtual void AddDrawable (yap::IDrawable& drawable);
28  virtual void AddChild (yap::IWidget& child);
29  virtual yap::IWidget& GetRoot () const;
30  virtual yap::WidgetBorder* GetBorder () const;
31  virtual void SetParent (yap::IWidget& parent);
32  virtual void SetPadding (const yap::Padding& padding);
33  virtual void SetBackground (yap::WidgetBackground& background);
34  virtual void SetBorder (yap::WidgetBorder& border, yap::uint width);
35  virtual void Refresh ();
36  */
37  virtual bool IsFocusable () const;
38  /*
39  virtual void SetFocused (bool state);
40  virtual void SetEnable (bool enable);
41  virtual void Open ();
42  virtual void Close ();
43  */
45 
46  protected:
47  virtual void HandleMove (const yap::Vector2& offset);
48  virtual void HandleScale (const yap::Vector2& factor);
49  virtual void HandleDraw (yap::IDrawingContext& offset);
50  virtual void HandleShow (bool isVisible);
51  virtual void HandleChangeColor (const sf::Color& color);
52  virtual void HandleUpdate (const yap::Time& dt);
53 
54  private:
55  // Labels
66 
67  // PictureBoxes
70 
71  // Layouts
73 
75 
79 
87 
92 
95  };
96 } // namespace ycl
97 
98 #endif // YAPOG_CLIENT_POKEMONSTATSINFOWIDGET_HPP