nux-1.16.0
|
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 () |
bool nux::Panel::SetLayout | ( | Layout * | layout | ) | [virtual] |
Set the default layout for this view.
Set the default layout for this view.
layout | A 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; }