Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
csBoxLayout Class Reference
[Layouting]
Components are scaled to fit in one row or one column of the canvas.
More...
#include <csws/csboxlay.h>
Inheritance diagram for csBoxLayout:

Public Member Functions | |
csBoxLayout (csComponent *pParent, int axis) | |
Set axis to 0 to align the components along the x-axis in the middle of this layout component. | |
virtual void | SuggestSize (int &sugw, int &sugh) |
return best size for this layout | |
virtual void | LayoutContainer () |
recalc positions and sizes of components |
Detailed Description
Components are scaled to fit in one row or one column of the canvas.
Definition at line 35 of file csboxlay.h.
Constructor & Destructor Documentation
|
Set axis to 0 to align the components along the x-axis in the middle of this layout component. To align along y axis set axis to 1. |
Member Function Documentation
|
recalc positions and sizes of components
Implements csLayout. |
|
return best size for this layout
Implements csLayout. |
The documentation for this class was generated from the following file:
- csws/csboxlay.h
Generated for Crystal Space by doxygen 1.3.9.1