nux-1.16.0
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 nux::Introspectable

List of all members.

Public Member Functions

 GroupBox2 (const TCHAR *Caption=TEXT(""), NUX_FILE_LINE_PROTO)
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)

Protected Member Functions

virtual bool AcceptKeyNavFocus ()

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.

Definition at line 36 of file GroupBox2.h.


Member Function Documentation

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.

Definition at line 125 of file GroupBox2.cpp.

References nux::View::SetLayout().

  {
    if(View::SetLayout(layout) == false)
    {
      return false;
    }

    m_layout = layout;

    return true;
  }

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends