ALBA
|
#include <albaGUIMaterialButton.h>
Public Member Functions | |
albaGUIMaterialButton (albaVME *vme, albaObserver *listener=NULL) | |
~albaGUIMaterialButton () | |
void | OnEvent (albaEventBase *alba_event) |
void | SetListener (albaObserver *listener) |
albaGUI * | GetGui () |
void | UpdateMaterialIcon () |
void | Enable (bool enable) |
mmaMaterial * | GetMaterial () |
void | SetVME (albaVME *vme) |
Public Member Functions inherited from albaObserver | |
albaObserver () | |
virtual | ~albaObserver () |
virtual void | OnEvent (albaEventBase *e)=0 |
Protected Member Functions | |
void | CreateGui () |
Protected Attributes | |
albaGUIPicButton * | m_MaterialButton |
wxStaticText * | m_MaterialLabel |
mmaMaterial * | m_Material |
albaObserver * | m_Listener |
albaGUI * | m_Gui |
albaVME * | m_Vme |
This component allow to manage surface materials.
Definition at line 42 of file albaGUIMaterialButton.h.
albaGUIMaterialButton::albaGUIMaterialButton | ( | albaVME * | vme, |
albaObserver * | listener = NULL |
||
) |
albaGUIMaterialButton::~albaGUIMaterialButton | ( | ) |
|
virtual |
process the events sent by subjects
Implements albaObserver.
|
inline |
Definition at line 48 of file albaGUIMaterialButton.h.
|
inline |
Return albaGUIMaterialButton User Interface.
Definition at line 51 of file albaGUIMaterialButton.h.
void albaGUIMaterialButton::UpdateMaterialIcon | ( | ) |
update material icon.
void albaGUIMaterialButton::Enable | ( | bool | enable | ) |
Enable-Disable material button.
|
inline |
Definition at line 59 of file albaGUIMaterialButton.h.
void albaGUIMaterialButton::SetVME | ( | albaVME * | vme | ) |
|
protected |
Create the GUI for the materials.
|
protected |
Definition at line 67 of file albaGUIMaterialButton.h.
|
protected |
Definition at line 68 of file albaGUIMaterialButton.h.
|
protected |
Definition at line 69 of file albaGUIMaterialButton.h.
|
protected |
Definition at line 71 of file albaGUIMaterialButton.h.
|
protected |
Definition at line 72 of file albaGUIMaterialButton.h.
|
protected |
Definition at line 73 of file albaGUIMaterialButton.h.