#include <gadget.h>
Inheritance diagram for Button:
Public Member Functions | |
Button (DialogOp *const pDialog, CGadgetID ControlID, Notifiable *const pNotify=&Nobody) | |
Default destructor for a Button. Does nothing. | |
virtual | ~Button () |
Default destructor for a Button. Does nothing. | |
virtual void | OnClicked () |
Notifies the Notifiable that this Button has been clicked. | |
Private Member Functions | |
CC_DECLARE_MEMDUMP (Button) | |
Private Attributes | |
Notifiable * | m_pNotifyOnPress |
Definition at line 346 of file gadget.h.
|
Default destructor for a Button. Does nothing.
Definition at line 137 of file gadget.cpp. 00137 : 00138 DialogMgrGadget(pDialog, ControlID), m_pNotifyOnPress(pNotify) 00139 { 00140 }
|
|
Default destructor for a Button. Does nothing.
Definition at line 154 of file gadget.cpp.
|
|
|
|
Notifies the Notifiable that this Button has been clicked.
Definition at line 170 of file gadget.cpp. 00171 { 00172 Notify(m_pNotifyOnPress); 00173 }
|
|
|