ALBA
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
albaGUISplittedPanel Class Reference

#include <albaGUISplittedPanel.h>

Inheritance diagram for albaGUISplittedPanel:
Inheritance graph
[legend]
Collaboration diagram for albaGUISplittedPanel:
Collaboration graph
[legend]

Public Member Functions

 albaGUISplittedPanel (wxWindow *parent, wxWindowID id=-1, int size=100)
 
virtual ~albaGUISplittedPanel ()
 
void PutOnTop (wxWindow *w)
 
void PutOnBottom (wxWindow *w)
 
- Public Member Functions inherited from albaGUIPanel
 albaGUIPanel (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name="panel")
 

Protected Member Functions

void OnSize (wxSizeEvent &event)
 
void OnSashDrag (wxSashEvent &event)
 
void DoLayout ()
 

Protected Attributes

wxSashLayoutWindow * m_Bottom
 
wxWindow * m_TopPanel
 
wxWindow * m_BottomPanel
 

Additional Inherited Members

- Public Attributes inherited from albaGUIPanel
albaGUIPanelm_NextPanel
 

Detailed Description

albaGUISplittedPanel is a wxPanel with a user-draggable splitter that divide it in two sections vertically.

Call SetTop and SetBottom to place things on it.

Definition at line 33 of file albaGUISplittedPanel.h.

Constructor & Destructor Documentation

◆ albaGUISplittedPanel()

albaGUISplittedPanel::albaGUISplittedPanel ( wxWindow *  parent,
wxWindowID  id = -1,
int  size = 100 
)

◆ ~albaGUISplittedPanel()

virtual albaGUISplittedPanel::~albaGUISplittedPanel ( )
virtual

Member Function Documentation

◆ PutOnTop()

void albaGUISplittedPanel::PutOnTop ( wxWindow *  w)

Put on top the window.

◆ PutOnBottom()

void albaGUISplittedPanel::PutOnBottom ( wxWindow *  w)

Put on bottom the window.

◆ OnSize()

void albaGUISplittedPanel::OnSize ( wxSizeEvent &  event)
protected

Call Dolayout.

◆ OnSashDrag()

void albaGUISplittedPanel::OnSashDrag ( wxSashEvent &  event)
protected

Readraw the Sash panel.

◆ DoLayout()

void albaGUISplittedPanel::DoLayout ( )
protected

Readistribute the interface according to the new size.

Member Data Documentation

◆ m_Bottom

wxSashLayoutWindow* albaGUISplittedPanel::m_Bottom
protected

Definition at line 46 of file albaGUISplittedPanel.h.

◆ m_TopPanel

wxWindow* albaGUISplittedPanel::m_TopPanel
protected

Definition at line 47 of file albaGUISplittedPanel.h.

◆ m_BottomPanel

wxWindow* albaGUISplittedPanel::m_BottomPanel
protected

Definition at line 48 of file albaGUISplittedPanel.h.


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