Base class for wrapping ADM button controls. More...
#include <ADMButton.h>
Inherits ADMBaseControl.
Inherited by ADMCloseDialogButton, ADMLinkButton, and ADMNotifyButton.

Public Member Functions | |
| ADMButton () | |
| Default constructor. | |
| ADMButton (ADMItemRef control) | |
| Constructor for existing ADM buttons. | |
Protected Member Functions | |
| ADMButton (ADMItemRef control, bool bOwnerDraw) | |
| Constructor for existing owner-drawn ADM buttons. | |
| virtual void | OnNotify (ADMNotifierRef notifier) |
| Called when a user performs an action; calls OnClick() if it's a click. | |
| virtual bool | OnClick ()=0 |
| Called when a button is clicked; must override. | |
Base class for wrapping ADM button controls.
Definition at line 34 of file ADMButton.h.
| ADMButton::ADMButton | ( | ADMItemRef | control | ) | [inline] |
Constructor for existing ADM buttons.
| control | Reference to the ADM button control |
Definition at line 46 of file ADMButton.h.
| ADMButton::ADMButton | ( | ADMItemRef | control, | |
| bool | bOwnerDraw | |||
| ) | [inline, protected] |
Constructor for existing owner-drawn ADM buttons.
| control | Reference to the ADM button control | |
| bOwnerDraw | true for owner-drawn buttons, false for regular buttons |
Definition at line 53 of file ADMButton.h.
| virtual bool ADMButton::OnClick | ( | ) | [protected, pure virtual] |
Called when a button is clicked; must override.
Implemented in ADMLinkButton, ADMNotifyButton, and ADMCloseDialogButton.
Referenced by OnNotify().
| void ADMButton::OnNotify | ( | ADMNotifierRef | notifier | ) | [protected, virtual] |
Called when a user performs an action; calls OnClick() if it's a click.
| notifier | ADM notification object |
Reimplemented from ADMBaseControl.
Reimplemented in ADMCloseDialogButton.
Definition at line 33 of file ADMButton.cpp.
References OnClick(), and ADMBaseControl::OnNotify().
1.6.1