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