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

#include <albaGUINamedPanel.h>

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

Public Member Functions

 albaGUINamedPanel (wxWindow *parent, wxWindowID id=-1, bool CloseButton=false, bool HideTitle=false)
 
virtual ~albaGUINamedPanel ()
 
void Add (wxWindow *window, int option=0, int flag=wxEXPAND, int border=0)
 
void Add (wxSizer *sizer, int option=0, int flag=wxEXPAND, int border=0)
 
bool Remove (wxWindow *window)
 
bool Remove (wxSizer *sizer)
 
void SetTitle (wxString label)
 
void SetTitleColor (wxColour *color=NULL)
 
wxBoxSizer * GetTopSizer ()
 
wxPanel * GetTopPanel ()
 
- 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 Attributes

wxPanel * m_Top
 
albaGUILabm_Label
 
wxBoxSizer * m_Sizer
 
wxBoxSizer * m_TopSizer
 
albaGUINamedPanelm_NextPanel
 
wxColour m_Color
 

Additional Inherited Members

- Public Attributes inherited from albaGUIPanel
albaGUIPanelm_NextPanel
 

Detailed Description

Class Name: albaGUINamedPanel.

Definition at line 35 of file albaGUINamedPanel.h.

Constructor & Destructor Documentation

◆ albaGUINamedPanel()

albaGUINamedPanel::albaGUINamedPanel ( wxWindow *  parent,
wxWindowID  id = -1,
bool  CloseButton = false,
bool  HideTitle = false 
)

constructor.

set CloseButton to show the close button

◆ ~albaGUINamedPanel()

virtual albaGUINamedPanel::~albaGUINamedPanel ( )
virtual

destructor.

Member Function Documentation

◆ Add() [1/2]

void albaGUINamedPanel::Add ( wxWindow *  window,
int  option = 0,
int  flag = wxEXPAND,
int  border = 0 
)
inline

Add a widget to the panel.

Definition at line 44 of file albaGUINamedPanel.h.

◆ Add() [2/2]

void albaGUINamedPanel::Add ( wxSizer *  sizer,
int  option = 0,
int  flag = wxEXPAND,
int  border = 0 
)
inline

Add a sizer to the panel.

Definition at line 47 of file albaGUINamedPanel.h.

◆ Remove() [1/2]

bool albaGUINamedPanel::Remove ( wxWindow *  window)
inline

Remove a widget from the panel.

Definition at line 50 of file albaGUINamedPanel.h.

◆ Remove() [2/2]

bool albaGUINamedPanel::Remove ( wxSizer *  sizer)
inline

Remove a sizer from the panel.

Definition at line 53 of file albaGUINamedPanel.h.

◆ SetTitle()

void albaGUINamedPanel::SetTitle ( wxString  label)
inline

Set the text shown on the title-bar.

Definition at line 56 of file albaGUINamedPanel.h.

◆ SetTitleColor()

void albaGUINamedPanel::SetTitleColor ( wxColour *  color = NULL)

Change the background color of the title.

◆ GetTopSizer()

wxBoxSizer * albaGUINamedPanel::GetTopSizer ( )
inline

Returns TopSizer.

Definition at line 62 of file albaGUINamedPanel.h.

◆ GetTopPanel()

wxPanel * albaGUINamedPanel::GetTopPanel ( )
inline

Returns Top Panel.

Definition at line 65 of file albaGUINamedPanel.h.

Member Data Documentation

◆ m_Top

wxPanel* albaGUINamedPanel::m_Top
protected

Definition at line 68 of file albaGUINamedPanel.h.

◆ m_Label

albaGUILab* albaGUINamedPanel::m_Label
protected

Definition at line 69 of file albaGUINamedPanel.h.

◆ m_Sizer

wxBoxSizer* albaGUINamedPanel::m_Sizer
protected

Definition at line 70 of file albaGUINamedPanel.h.

◆ m_TopSizer

wxBoxSizer* albaGUINamedPanel::m_TopSizer
protected

Definition at line 71 of file albaGUINamedPanel.h.

◆ m_NextPanel

albaGUINamedPanel* albaGUINamedPanel::m_NextPanel
protected

Definition at line 72 of file albaGUINamedPanel.h.

◆ m_Color

wxColour albaGUINamedPanel::m_Color
protected

Definition at line 73 of file albaGUINamedPanel.h.


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