nux-0.9.48

nux::VLayout Class Reference

#include <Nux/VLayout.h>

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

Public Member Functions

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

Protected Member Functions

virtual long DoFocusLeft (IEvent &ievent, long TraverseInfo, long ProcessEventInfo)
virtual long DoFocusRight (IEvent &ievent, long TraverseInfo, long ProcessEventInfo)

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from nux::Area.

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

Reimplemented from nux::Area.

void nux::VLayout::ComputeStacking ( t_s32  length,
t_s32 offset_space,
t_s32 element_margin 
)

Compute the how elements are spread inside the layout.

Parameters:
remaining_heightSize that remains after subtracting elements height, inner and outer margins from the content height.
offset_spaceThe space at the top of all elements.
element_marginThe margin between elements.
virtual long nux::VLayout::DoFocusLeft ( IEvent ievent,
long  TraverseInfo,
long  ProcessEventInfo 
) [protected, virtual]

Reimplemented from nux::Layout.

virtual long nux::VLayout::DoFocusRight ( IEvent ievent,
long  TraverseInfo,
long  ProcessEventInfo 
) [protected, virtual]

Reimplemented from nux::Layout.

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

Reimplemented from nux::Layout.

virtual t_u32 nux::VLayout::getMaxStretchFactor ( ) [virtual]
virtual void nux::VLayout::VLayoutManagement ( t_s32  width,
t_s32  height 
) [virtual]

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