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

#include <panel_sizer.h>

+ Inheritance diagram for lwpp::DynamicSizer:
+ Collaboration diagram for lwpp::DynamicSizer:

List of all members.

Public Member Functions

virtual SizerAdd (Sizer *sizer)
 Add a sizer.
virtual void getCurrentSize (int &w, int &h)=0
 Return the current size of the Sizer.
virtual int getFlags ()
virtual int getLabelWidth ()
 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.

Protected Types

typedef std::vector< Sizer * >
::iterator 
childIter

Protected Member Functions

 DynamicSizer (int flags)
 ~DynamicSizer ()

Protected Attributes

std::vector< Sizer * > childList
int Flags

Member Typedef Documentation

typedef std::vector<Sizer *>::iterator lwpp::DynamicSizer::childIter
protected

Constructor & Destructor Documentation

lwpp::DynamicSizer::DynamicSizer ( int  flags)
inlineprotected
lwpp::DynamicSizer::~DynamicSizer ( )
inlineprotected

Member Function Documentation

virtual Sizer* lwpp::DynamicSizer::Add ( Sizer )
inlinevirtual

Add a sizer.

Implements lwpp::Sizer.

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

Return the current size of the Sizer.

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

virtual int lwpp::DynamicSizer::getFlags ( )
inlinevirtual

Implements lwpp::Sizer.

virtual int lwpp::DynamicSizer::getLabelWidth ( )
inlinevirtual

Get the biggest label width of the Size.

Implements lwpp::Sizer.

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

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 virtualinherited

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 virtualinherited

Layout the sizer to fit into the bounds.

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


Member Data Documentation

std::vector<Sizer *> lwpp::DynamicSizer::childList
protected
int lwpp::DynamicSizer::Flags
protected

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