YAPOG  0.0.1
Yet Another Pokemon Online Game
VerticalLayout.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_LAYOUT_V_HPP
2 # define YAPOG_LAYOUT_V_HPP
3 
4 # include "YAPOG/Macros.hpp"
6 
7 namespace yap
8 {
10  {
12 
13  public:
14 
15  VerticalLayout ();
16  VerticalLayout (Padding ext, Padding in, bool isExt);
17  virtual ~VerticalLayout ();
18  virtual void GeneratePosition ();
19  virtual float GetWidthItem ();
20 
21  private:
22 
23  virtual void HandleMove (const Vector2& offset);
24  virtual void HandleScale (const Vector2& factor);
25 
26  virtual void HandleDraw (IDrawingContext& context);
27 
28  virtual void HandleShow (bool isVisible);
29  virtual void HandleChangeColor (const sf::Color& color);
30 
31  virtual void HandleUpdate (const Time& dt);
32  };
33 } // namespace yap
34 
35 #endif /* YAPOG_LAYOUT_V_HPP! */