Neo  0.5.0
Developer Documentation
ScaleLayout.h
Go to the documentation of this file.
1 #ifndef __SCALE_LAYOUT_H
2 #define __SCALE_LAYOUT_H
3 
4 #include <Neo2DEngine.h>
5 #include <Container.h>
6 #include <vector>
7 
8 namespace Neo2D
9 {
10 namespace Gui
11 {
12 using namespace Neo;
13 
21 class NEO2D_EXPORT ScaleLayout : public Container
22 {
23  public:
24  ScaleLayout(unsigned int x, unsigned int y, unsigned int width,
25  unsigned int height)
26  : Container(x, y, width, height, "")
27  {
28  }
29 
30  void update();
31 };
32 
33 }
34 }
35 
36 #endif
ScaleLayout(unsigned int x, unsigned int y, unsigned int width, unsigned int height)
Definition: ScaleLayout.h:24
A Container organizes multiple Widgets into one to provide layout functionality.
Definition: Container.h:20
Definition: Button.h:42
Scales the containing widget to the size of its parent.
Definition: ScaleLayout.h:21
Definition: Color.h:29