nux-1.14.0
nux::Panel Class Reference
Inheritance diagram for nux::Panel:
nux::ScrollView nux::View nux::InputArea nux::Area nux::InitiallyUnownedObject nux::Focusable nux::Object nux::Trackable nux::Introspectable

List of all members.

Public Member Functions

 Panel (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)
void AddWidget (View *ic, int stretchfactor=1)
void AddWidget (std::list< View * > *ViewList)
virtual bool SetLayout (Layout *layout)
 Set the default layout for this view.
void clearContent ()
virtual void PreLayoutManagement ()
virtual long PostLayoutManagement (long LayoutResult)
virtual void PositionChildLayout (float offsetX, float offsetY)

Protected Member Functions

virtual void ScrollLeft (float stepx, int mousedx)
virtual void ScrollRight (float stepx, int mousedx)
virtual void ScrollUp (float stepy, int mousedy)
virtual void ScrollDown (float stepy, int mousedy)
virtual bool AcceptKeyNavFocus ()

Detailed Description

Definition at line 33 of file Panel.h.


Member Function Documentation

bool nux::Panel::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::ScrollView.

Definition at line 166 of file Panel.cpp.

References nux::View::SetLayout().

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

    m_layout = m_CompositionLayout;
    
    FormatContent();

    return true;
  }

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