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

A sizer with components lined up horizontally. More...

#include <panel_sizer.h>

+ Inheritance diagram for lwpp::HorizontalSizer:
+ Collaboration diagram for lwpp::HorizontalSizer:

List of all members.

Public Member Functions

 HorizontalSizer (int flags)
virtual SizerAdd (Sizer *sizer)
 Add a sizer.
virtual void getCurrentSize (int &w, int &h)
 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)
 Return the maximum size of the Sizer.
virtual void getMinSize (int &w, int &h)
 Return the minimum size of the Sizer.
virtual void Layout (int x, int y, int w, int h, int lw)
 Layout the sizer to fit into the bounds.

Protected Types

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

Protected Attributes

std::vector< Sizer * > childList
int Flags

Detailed Description

A sizer with components lined up horizontally.


Member Typedef Documentation

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

Constructor & Destructor Documentation

lwpp::HorizontalSizer::HorizontalSizer ( int  flags)
inline

Member Function Documentation

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

Add a sizer.

Implements lwpp::Sizer.

virtual void lwpp::HorizontalSizer::getCurrentSize ( int &  w,
int &  h 
)
inlinevirtual

Return the current size of the Sizer.

Implements lwpp::Sizer.

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

Implements lwpp::Sizer.

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

Get the biggest label width of the Size.

Implements lwpp::Sizer.

virtual void lwpp::HorizontalSizer::getMaxSize ( int &  w,
int &  h 
)
inlinevirtual

Return the maximum size of the Sizer.

Implements lwpp::Sizer.

virtual void lwpp::HorizontalSizer::getMinSize ( int &  w,
int &  h 
)
inlinevirtual

Return the minimum size of the Sizer.

Implements lwpp::Sizer.

virtual void lwpp::HorizontalSizer::Layout ( int  x,
int  y,
int  w,
int  h,
int  lw 
)
inlinevirtual

Layout the sizer to fit into the bounds.

Implements lwpp::Sizer.


Member Data Documentation

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

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