nux-0.9.46

nux::GroupBox2 Class Reference

#include <Nux/GroupBox2.h>

Inheritance diagram for nux::GroupBox2:
nux::View nux::InputArea nux::Area nux::InitiallyUnownedObject nux::Focusable nux::Object nux::Trackable

Public Member Functions

 GroupBox2 (const TCHAR *Caption=TEXT(""), NUX_FILE_LINE_PROTO)
 ~GroupBox2 ()
virtual long ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo)
virtual void Draw (GraphicsEngine &GfxContext, bool force_draw)
virtual void DrawContent (GraphicsEngine &GfxContext, bool force_draw)
virtual void PostDraw (GraphicsEngine &GfxContext, bool force_draw)
virtual bool SetLayout (Layout *layout)
 Set the default layout for this view.
void SetCaption (const TCHAR *Caption)

Detailed Description

A stretch factor of 0 or 1 for the GroupBox has no effect because the GroupBox is designed to tightly adjust to the size of its composition layout. This unlike the Panel widget for instance who does not force itself to adjust to the size of its composition layout.


Constructor & Destructor Documentation

nux::GroupBox2::GroupBox2 ( const TCHAR Caption = TEXT(""),
NUX_FILE_LINE_PROTO   
)
nux::GroupBox2::~GroupBox2 ( )

Member Function Documentation

virtual void nux::GroupBox2::Draw ( GraphicsEngine GfxContext,
bool  force_draw 
) [virtual]

Implements nux::View.

virtual void nux::GroupBox2::DrawContent ( GraphicsEngine GfxContext,
bool  force_draw 
) [virtual]

Reimplemented from nux::View.

virtual void nux::GroupBox2::PostDraw ( GraphicsEngine GfxContext,
bool  force_draw 
) [virtual]

Reimplemented from nux::View.

virtual long nux::GroupBox2::ProcessEvent ( IEvent ievent,
long  TraverseInfo,
long  ProcessEventInfo 
) [virtual]

Implements nux::View.

void nux::GroupBox2::SetCaption ( const TCHAR Caption)
virtual bool nux::GroupBox2::SetLayout ( Layout layout) [virtual]

Set the default layout for this view.

Set the default layout for this view.

Parameters:
layoutA Layout object.

Reimplemented from nux::View.


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