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

#include <albaGUIHolder.h>

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

Public Member Functions

 albaGUIHolder (wxWindow *parent, wxWindowID id, bool CloseButton=false, bool HideTitle=false)
 
virtual ~albaGUIHolder ()
 
wxPanel * GetPanel ()
 
bool Put (albaGUI *gui)
 
bool RemoveCurrentGui ()
 
wxWindow * GetCurrentGui ()
 
- Public Member Functions inherited from albaGUINamedPanel
 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

albaGUIScrolledPanelm_Panel
 
- Protected Attributes inherited from albaGUINamedPanel
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: albaGUIHolder Secialized panel in which a developer can put a albaGUI.

Definition at line 31 of file albaGUIHolder.h.

Constructor & Destructor Documentation

◆ albaGUIHolder()

albaGUIHolder::albaGUIHolder ( wxWindow *  parent,
wxWindowID  id,
bool  CloseButton = false,
bool  HideTitle = false 
)

constructor

◆ ~albaGUIHolder()

virtual albaGUIHolder::~albaGUIHolder ( )
virtual

destructor

Member Function Documentation

◆ GetPanel()

wxPanel * albaGUIHolder::GetPanel ( )
inline

Return the panel that held the gui.

Definition at line 40 of file albaGUIHolder.h.

◆ Put()

bool albaGUIHolder::Put ( albaGUI gui)

Put the gui onto the panel removing the previous gui.

◆ RemoveCurrentGui()

bool albaGUIHolder::RemoveCurrentGui ( )

Remove the current gui.

◆ GetCurrentGui()

wxWindow * albaGUIHolder::GetCurrentGui ( )

retrieve the current gui

Member Data Documentation

◆ m_Panel

albaGUIScrolledPanel* albaGUIHolder::m_Panel
protected

Definition at line 52 of file albaGUIHolder.h.


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