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

#include <albaGUIRollOut.h>

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

Public Member Functions

 albaGUIRollOut (albaGUI *parent, albaString title, albaGUI *roll_gui, int id=-1, bool rollOutOpen=true)
 
virtual ~albaGUIRollOut ()
 
void RollOut (bool open=true)
 
void SetListener (albaObserver *listener)
 

Protected Member Functions

void OnRollOut (wxCommandEvent &event)
 

Protected Attributes

albaGUIm_MainGui
 
albaGUIm_RollGui
 
albaGUIPicButtonm_RollOutButton
 
albaObserverm_Listener
 

Detailed Description

This class plugs and manage a roll-out gui.

The main gui and the rolled out gui are passed through the constructor and the class plug the title bar with the picture button on the main gui and then plug the sub-gui that can be shown/hidden by pressing on the picture button on the left of the title.

Definition at line 39 of file albaGUIRollOut.h.

Constructor & Destructor Documentation

◆ albaGUIRollOut()

albaGUIRollOut::albaGUIRollOut ( albaGUI parent,
albaString  title,
albaGUI roll_gui,
int  id = -1,
bool  rollOutOpen = true 
)

◆ ~albaGUIRollOut()

virtual albaGUIRollOut::~albaGUIRollOut ( )
virtual

Member Function Documentation

◆ RollOut()

void albaGUIRollOut::RollOut ( bool  open = true)

Open/Close the Roll-out.

◆ SetListener()

void albaGUIRollOut::SetListener ( albaObserver listener)
inline

Definition at line 49 of file albaGUIRollOut.h.

◆ OnRollOut()

void albaGUIRollOut::OnRollOut ( wxCommandEvent &  event)
protected

Answer the click on the Picture button to open/close the roll out gui.

Member Data Documentation

◆ m_MainGui

albaGUI* albaGUIRollOut::m_MainGui
protected

Gui on which will be plugged the RollOut gui.

Definition at line 55 of file albaGUIRollOut.h.

◆ m_RollGui

albaGUI* albaGUIRollOut::m_RollGui
protected

Child gui that will be rolled out.

Definition at line 56 of file albaGUIRollOut.h.

◆ m_RollOutButton

albaGUIPicButton* albaGUIRollOut::m_RollOutButton
protected

Picture button representing the icon to open/close the roll out gui.

Definition at line 57 of file albaGUIRollOut.h.

◆ m_Listener

albaObserver* albaGUIRollOut::m_Listener
protected

Definition at line 58 of file albaGUIRollOut.h.


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