public

Inheritance Graph

graph BT
	ExtLayouter
	ExtLayouter --> AbstractLayouter
	click ExtLayouter "classGUI_1_1ExtLayouter"
	click AbstractLayouter "classGUI_1_1AbstractLayouter"

Description

External Layout (EXPERIMENTAL)

     
     
typedef uint32_t extLayoutFlags_t  
     
const extLayoutFlags_t REFERENCE_X_LEFT
Refernce point of this component.
 
     
const extLayoutFlags_t REFERENCE_X_CENTER  
     
const extLayoutFlags_t REFERENCE_X_RIGHT  
     
const extLayoutFlags_t REFERENCE_Y_TOP  
     
const extLayoutFlags_t REFERENCE_Y_CENTER  
     
const extLayoutFlags_t REFERENCE_Y_BOTTOM  
     
const extLayoutFlags_t ALIGN_X_RIGHT
Alignment inside of the parent.
 
     
const extLayoutFlags_t ALIGN_X_CENTER  
     
const extLayoutFlags_t ALIGN_X_LEFT  
     
const extLayoutFlags_t ALIGN_Y_TOP  
     
const extLayoutFlags_t ALIGN_Y_CENTER  
     
const extLayoutFlags_t ALIGN_Y_BOTTOM  
     
const extLayoutFlags_t POS_X_ABS  
     
const extLayoutFlags_t POS_X_REL  
     
const extLayoutFlags_t POS_Y_ABS  
     
const extLayoutFlags_t POS_Y_REL  
     
const extLayoutFlags_t WIDTH_REL  
     
const extLayoutFlags_t HEIGHT_REL  
     
const extLayoutFlags_t WIDTH_ABS  
     
const extLayoutFlags_t HEIGHT_ABS  
     
const extLayoutFlags_t WIDTH_CHILDREN_REL  
     
const extLayoutFlags_t HEIGHT_CHILDREN_REL  
     
const extLayoutFlags_t WIDTH_CHILDREN_ABS  
     
const extLayoutFlags_t HEIGHT_CHILDREN_ABS  
     
const extLayoutFlags_t WIDTH_FILL_REL  
     
const extLayoutFlags_t HEIGHT_FILL_REL  
     
const extLayoutFlags_t WIDTH_FILL_ABS  
     
const extLayoutFlags_t HEIGHT_FILL_ABS  
     
  ExtLayouter()  
     
  ExtLayouter(const ExtLayouter & void)  
     
  ~ExtLayouter()  
     
const Geometry::Vec2 & getPosition() const  
     
const Geometry::Vec2 & getSize() const  
     
extLayoutFlags_t getFlags() const  
     
void setPosition(const Geometry::Vec2 & v)  
     
void setSize(const Geometry::Vec2 & v)  
     
void setFlags( extLayoutFlags_t f)  
     
void layout( Util::WeakPointer < Component > component)
> AbstractLayouter

Documentation

typedef
GUI::ExtLayouter::extLayoutFlags_t

public
 
 
typedef uint32_t extLayoutFlags_t

Defined in GUI/Base/Layouters/ExtLayouter.h:45


variable
GUI::ExtLayouter::REFERENCE_X_LEFT

public static
 
 
const extLayoutFlags_t REFERENCE_X_LEFT

Refernce point of this component.

Defined in GUI/Base/Layouters/ExtLayouter.h:48


variable
GUI::ExtLayouter::REFERENCE_X_CENTER

public static
 
 
const extLayoutFlags_t REFERENCE_X_CENTER

Defined in GUI/Base/Layouters/ExtLayouter.h:49


variable
GUI::ExtLayouter::REFERENCE_X_RIGHT

public static
 
 
const extLayoutFlags_t REFERENCE_X_RIGHT

Defined in GUI/Base/Layouters/ExtLayouter.h:50


variable
GUI::ExtLayouter::REFERENCE_Y_TOP

public static
 
 
const extLayoutFlags_t REFERENCE_Y_TOP

Defined in GUI/Base/Layouters/ExtLayouter.h:51


variable
GUI::ExtLayouter::REFERENCE_Y_CENTER

public static
 
 
const extLayoutFlags_t REFERENCE_Y_CENTER

Defined in GUI/Base/Layouters/ExtLayouter.h:52


variable
GUI::ExtLayouter::REFERENCE_Y_BOTTOM

public static
 
 
const extLayoutFlags_t REFERENCE_Y_BOTTOM

Defined in GUI/Base/Layouters/ExtLayouter.h:53


variable
GUI::ExtLayouter::ALIGN_X_RIGHT

public static
 
 
const extLayoutFlags_t ALIGN_X_RIGHT

Alignment inside of the parent.

Defined in GUI/Base/Layouters/ExtLayouter.h:56


variable
GUI::ExtLayouter::ALIGN_X_CENTER

public static
 
 
const extLayoutFlags_t ALIGN_X_CENTER

Defined in GUI/Base/Layouters/ExtLayouter.h:57


variable
GUI::ExtLayouter::ALIGN_X_LEFT

public static
 
 
const extLayoutFlags_t ALIGN_X_LEFT

Defined in GUI/Base/Layouters/ExtLayouter.h:58


variable
GUI::ExtLayouter::ALIGN_Y_TOP

public static
 
 
const extLayoutFlags_t ALIGN_Y_TOP

Defined in GUI/Base/Layouters/ExtLayouter.h:59


variable
GUI::ExtLayouter::ALIGN_Y_CENTER

public static
 
 
const extLayoutFlags_t ALIGN_Y_CENTER

Defined in GUI/Base/Layouters/ExtLayouter.h:60


variable
GUI::ExtLayouter::ALIGN_Y_BOTTOM

public static
 
 
const extLayoutFlags_t ALIGN_Y_BOTTOM

Defined in GUI/Base/Layouters/ExtLayouter.h:61


variable
GUI::ExtLayouter::POS_X_ABS

public static
 
 
const extLayoutFlags_t POS_X_ABS

Type of position-value

  • ABS : pixel, REL : relative (1.0 is 100%)

  • If not set for an axis, the original value is not changed.

Defined in GUI/Base/Layouters/ExtLayouter.h:66


variable
GUI::ExtLayouter::POS_X_REL

public static
 
 
const extLayoutFlags_t POS_X_REL

Defined in GUI/Base/Layouters/ExtLayouter.h:67


variable
GUI::ExtLayouter::POS_Y_ABS

public static
 
 
const extLayoutFlags_t POS_Y_ABS

Defined in GUI/Base/Layouters/ExtLayouter.h:68


variable
GUI::ExtLayouter::POS_Y_REL

public static
 
 
const extLayoutFlags_t POS_Y_REL

Defined in GUI/Base/Layouters/ExtLayouter.h:69


variable
GUI::ExtLayouter::WIDTH_REL

public static
 
 
const extLayoutFlags_t WIDTH_REL

Type of size-value

  • If not set for an axis, the original value is not changed.

  • ABS : pixel, REL : relative (1.0 is 100%)

  • CHILDREN referes to the children’s size; FILL fills up to the next component (or the end)

  • For WIDTH_ABS and HEIHGT_ABS: If size-value < 0, the value is subtracted from the corrseponding size of the parent.

Defined in GUI/Base/Layouters/ExtLayouter.h:77


variable
GUI::ExtLayouter::HEIGHT_REL

public static
 
 
const extLayoutFlags_t HEIGHT_REL

Defined in GUI/Base/Layouters/ExtLayouter.h:78


variable
GUI::ExtLayouter::WIDTH_ABS

public static
 
 
const extLayoutFlags_t WIDTH_ABS

Defined in GUI/Base/Layouters/ExtLayouter.h:79


variable
GUI::ExtLayouter::HEIGHT_ABS

public static
 
 
const extLayoutFlags_t HEIGHT_ABS

Defined in GUI/Base/Layouters/ExtLayouter.h:80


variable
GUI::ExtLayouter::WIDTH_CHILDREN_REL

public static
 
 
const extLayoutFlags_t WIDTH_CHILDREN_REL

Defined in GUI/Base/Layouters/ExtLayouter.h:81


variable
GUI::ExtLayouter::HEIGHT_CHILDREN_REL

public static
 
 
const extLayoutFlags_t HEIGHT_CHILDREN_REL

Defined in GUI/Base/Layouters/ExtLayouter.h:82


variable
GUI::ExtLayouter::WIDTH_CHILDREN_ABS

public static
 
 
const extLayoutFlags_t WIDTH_CHILDREN_ABS

Defined in GUI/Base/Layouters/ExtLayouter.h:83


variable
GUI::ExtLayouter::HEIGHT_CHILDREN_ABS

public static
 
 
const extLayoutFlags_t HEIGHT_CHILDREN_ABS

Defined in GUI/Base/Layouters/ExtLayouter.h:84


variable
GUI::ExtLayouter::WIDTH_FILL_REL

public static
 
 
const extLayoutFlags_t WIDTH_FILL_REL

Defined in GUI/Base/Layouters/ExtLayouter.h:85


variable
GUI::ExtLayouter::HEIGHT_FILL_REL

public static
 
 
const extLayoutFlags_t HEIGHT_FILL_REL

Defined in GUI/Base/Layouters/ExtLayouter.h:86


variable
GUI::ExtLayouter::WIDTH_FILL_ABS

public static
 
 
const extLayoutFlags_t WIDTH_FILL_ABS

Defined in GUI/Base/Layouters/ExtLayouter.h:87


variable
GUI::ExtLayouter::HEIGHT_FILL_ABS

public static
 
 
const extLayoutFlags_t HEIGHT_FILL_ABS

Defined in GUI/Base/Layouters/ExtLayouter.h:88


function
GUI::ExtLayouter::ExtLayouter

public inline
   
   
ExtLayouter( )

Defined in GUI/Base/Layouters/ExtLayouter.h:41


function
GUI::ExtLayouter::ExtLayouter

public
     
     
ExtLayouter( const ExtLayouter & void )

Defined in GUI/Base/Layouters/ExtLayouter.h:42


function
GUI::ExtLayouter::~ExtLayouter

public inline virtual
   
   
~ExtLayouter( )

Defined in GUI/Base/Layouters/ExtLayouter.h:43


function
GUI::ExtLayouter::getPosition

public const inline
   
   
const Geometry::Vec2 & getPosition( ) const

Defined in GUI/Base/Layouters/ExtLayouter.h:90


function
GUI::ExtLayouter::getSize

public const inline
   
   
const Geometry::Vec2 & getSize( ) const

Defined in GUI/Base/Layouters/ExtLayouter.h:91


function
GUI::ExtLayouter::getFlags

public const inline
   
   
extLayoutFlags_t getFlags( ) const

Defined in GUI/Base/Layouters/ExtLayouter.h:92


function
GUI::ExtLayouter::setPosition

public inline
     
     
void setPosition( const Geometry::Vec2 & v )

Defined in GUI/Base/Layouters/ExtLayouter.h:94


function
GUI::ExtLayouter::setSize

public inline
     
     
void setSize( const Geometry::Vec2 & v )

Defined in GUI/Base/Layouters/ExtLayouter.h:95


function
GUI::ExtLayouter::setFlags

public inline
     
     
void setFlags( extLayoutFlags_t f )

Defined in GUI/Base/Layouters/ExtLayouter.h:96


function
GUI::ExtLayouter::layout

public virtual
     
     
void layout( Util::WeakPointer < Component > component )
> AbstractLayouter

Defined in GUI/Base/Layouters/ExtLayouter.h:99