nux-0.9.46

nux::HLayout Class Reference

#include <Nux/HLayout.h>

Inheritance diagram for nux::HLayout:
nux::Layout nux::Area nux::InitiallyUnownedObject nux::Focusable nux::Object nux::Trackable

Public Member Functions

 HLayout (NUX_FILE_LINE_PROTO)
 HLayout (NString name, NUX_FILE_LINE_PROTO)
 ~HLayout ()
virtual long ComputeLayout2 ()
virtual void ComputePosition2 (float offsetX, float offsetY)
virtual void HLayoutManagement (t_s32 width, t_s32 height)
virtual t_u32 getMaxStretchFactor ()
virtual void GetCompositeList (std::list< Area * > *ViewList)
void ComputeStacking (t_s32 remaining_width, t_s32 &offset_space, t_s32 &element_margin)
 Compute the how elements are spread inside the layout.

Protected Member Functions

virtual long DoFocusUp (IEvent &ievent, long TraverseInfo, long ProcessEventInfo)
virtual long DoFocusDown (IEvent &ievent, long TraverseInfo, long ProcessEventInfo)

Constructor & Destructor Documentation

nux::HLayout::HLayout ( NUX_FILE_LINE_PROTO  )
nux::HLayout::HLayout ( NString  name,
NUX_FILE_LINE_PROTO   
)
nux::HLayout::~HLayout ( )

Member Function Documentation

virtual long nux::HLayout::ComputeLayout2 ( ) [virtual]

Reimplemented from nux::Area.

virtual void nux::HLayout::ComputePosition2 ( float  offsetX,
float  offsetY 
) [virtual]

Reimplemented from nux::Area.

void nux::HLayout::ComputeStacking ( t_s32  remaining_width,
t_s32 offset_space,
t_s32 element_margin 
)

Compute the how elements are spread inside the layout.

Parameters:
remaining_widthSize that remains after subtracting elements width, inner and outer margins from the content width.
offset_spaceThe space at the left of all elements.
element_marginThe margin between elements.
virtual long nux::HLayout::DoFocusDown ( IEvent ievent,
long  TraverseInfo,
long  ProcessEventInfo 
) [protected, virtual]

Reimplemented from nux::Layout.

virtual long nux::HLayout::DoFocusUp ( IEvent ievent,
long  TraverseInfo,
long  ProcessEventInfo 
) [protected, virtual]

Reimplemented from nux::Layout.

virtual void nux::HLayout::GetCompositeList ( std::list< Area * > *  ViewList) [virtual]

Reimplemented from nux::Layout.

virtual t_u32 nux::HLayout::getMaxStretchFactor ( ) [virtual]
virtual void nux::HLayout::HLayoutManagement ( t_s32  width,
t_s32  height 
) [virtual]

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