YAPOG  0.0.1
Yet Another Pokemon Online Game
PartialLayoutManager.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_PARTIAL_LAYOUT_MANAGER_HPP
2 # define YAPOG_PARTIAL_LAYOUT_MANAGER_HPP
3 
4 # include "YAPOG/Macros.hpp"
7 
8 namespace yap
9 {
10 
12  {
14 
15  public:
17  virtual ~PartialLayoutManager ();
18 
19  void SetCurrentSel (uint curr);
20  void SetEnable (bool state);
21  void SetSize (float size);
22  void AddItem (IWidget* item);
23  uint GetSize () const;
24  void Refresh ();
25  void Clear ();
26 
27  private:
30  float size_;
31 
33 
36  bool isEnable_;
37  float widthItem_;
38  };
39 } // namespace yap
40 
41 #endif /* YAPOG_PARTIAL_LAYOUT_MANAGER_HPP! */