MGUI::LAYOUT_PANE_SASH Class Reference

Layout pane to be used as "sash" for sizing adjacent panes. More...

#include <mgui/layout.h>

Inheritance diagram for MGUI::LAYOUT_PANE_SASH:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 LAYOUT_PANE_SASH ()
virtual ~LAYOUT_PANE_SASH ()
void Create (MGUI::LAYOUT_PANE_BASE &pane, int Thickness=4, int ChildSpacing=4, int ExtraBorder=0)
void SetDelegateOnMoved (DELEGATE_VOID_NOPARMS delegate)

Detailed Description

Layout pane to be used as "sash" for sizing adjacent panes.

A sash control allows the user to resize the two adjacent panes/controls by dragging. Any space not covered by other controls will be usable for adjustment. For this reason it is typical that the center part of the pane remain empty and controls be added at the ends.


Constructor & Destructor Documentation

MGUI::LAYOUT_PANE_SASH::LAYOUT_PANE_SASH (  ) 

Constructor, initializes only, does not create actual pane.

virtual MGUI::LAYOUT_PANE_SASH::~LAYOUT_PANE_SASH (  )  [virtual]

Destructor.


Member Function Documentation

void MGUI::LAYOUT_PANE_SASH::Create ( MGUI::LAYOUT_PANE_BASE pane,
int  Thickness = 4,
int  ChildSpacing = 4,
int  ExtraBorder = 0 
)

Create the pane.

The orientation will be determined based on the parent pane's orientation.

Parameters:
pane 'Parent' pane
Thickness Sash thickness, will expand if needed to contain added controls
ChildSpacing Spacing between 'children' of pane
ExtraBorder Extra border around pane, in addition to ChildSpacing
void MGUI::LAYOUT_PANE_SASH::SetDelegateOnMoved ( DELEGATE_VOID_NOPARMS  delegate  ) 

Set delegate to call after sash moved.

Typcally used to record settings.


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

Generated on Sun Oct 7 21:36:11 2012 for TNTsdk 2012 by  doxygen 1.6.1