LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::Sizer Class Reference

Virtual base class for all Sizers. More...

#include <panel_sizer.h>

+ Inheritance diagram for lwpp::Sizer:

List of all members.

Public Member Functions

 Sizer ()
virtual SizerAdd (Sizer *)=0
 Add a sizer.
virtual void getCurrentSize (int &w, int &h)=0
 Return the current size of the Sizer.
virtual int getFlags ()=0
virtual int getLabelWidth ()=0
 Get the biggest label width of the Size.
virtual void getMaxSize (int &w, int &h)=0
 Return the maximum size of the Sizer.
virtual void getMinSize (int &w, int &h)=0
 Return the minimum size of the Sizer.
virtual void Layout (int x, int y, int w, int h, int lw)=0
 Layout the sizer to fit into the bounds.

Detailed Description

Virtual base class for all Sizers.


Constructor & Destructor Documentation

lwpp::Sizer::Sizer ( )
inline

Member Function Documentation

virtual Sizer* lwpp::Sizer::Add ( Sizer )
pure virtual

Add a sizer.

Implemented in lwpp::ControlSizer, and lwpp::DynamicSizer.

virtual void lwpp::Sizer::getCurrentSize ( int &  w,
int &  h 
)
pure virtual

Return the current size of the Sizer.

Implemented in lwpp::ControlSizer, lwpp::VerticalSizer, and lwpp::HorizontalSizer.

virtual int lwpp::Sizer::getFlags ( )
pure virtual

Implemented in lwpp::ControlSizer, and lwpp::DynamicSizer.

virtual int lwpp::Sizer::getLabelWidth ( )
pure virtual

Get the biggest label width of the Size.

Implemented in lwpp::ControlSizer, and lwpp::DynamicSizer.

virtual void lwpp::Sizer::getMaxSize ( int &  w,
int &  h 
)
pure virtual

Return the maximum size of the Sizer.

Implemented in lwpp::ControlSizer, lwpp::VerticalSizer, and lwpp::HorizontalSizer.

virtual void lwpp::Sizer::getMinSize ( int &  w,
int &  h 
)
pure virtual

Return the minimum size of the Sizer.

Implemented in lwpp::ControlSizer, lwpp::VerticalSizer, and lwpp::HorizontalSizer.

virtual void lwpp::Sizer::Layout ( int  x,
int  y,
int  w,
int  h,
int  lw 
)
pure virtual

Layout the sizer to fit into the bounds.

Implemented in lwpp::ControlSizer, lwpp::VerticalSizer, and lwpp::HorizontalSizer.


The documentation for this class was generated from the following file: