#include <Nux/ToolButton.h>
Public Member Functions |
| ToolButton (const TCHAR *BitmapFilename=0, NUX_FILE_LINE_PROTO) |
| ~ToolButton () |
virtual long | ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo) |
virtual void | Draw (GraphicsEngine &GfxContext, bool force_draw) |
virtual void | DrawContent (GraphicsEngine &GfxContext, bool force_draw) |
virtual void | PostDraw (GraphicsEngine &GfxContext, bool force_draw) |
void | SetAction (ActionItem *action) |
void | SetState (bool b) |
void | SetBitmap (const BaseTexture *Texture) |
void | EmitClick (int x, int y, unsigned long button_flags, unsigned long key_flags) |
void | RecvMouseDoubleClick (int x, int y, unsigned long button_flags, unsigned long key_flags) |
void | RecvMouseDown (int x, int y, unsigned long button_flags, unsigned long key_flags) |
void | RecvMouseUp (int x, int y, unsigned long button_flags, unsigned long key_flags) |
void | RecvMouseEnter (int x, int y, unsigned long button_flags, unsigned long key_flags) |
void | RecvMouseLeave (int x, int y, unsigned long button_flags, unsigned long key_flags) |
Data Fields |
sigc::signal< void > | sigClick |
Constructor & Destructor Documentation
nux::ToolButton::ToolButton |
( |
const TCHAR * |
BitmapFilename = 0 , |
|
|
NUX_FILE_LINE_PROTO |
|
|
) |
| |
nux::ToolButton::~ToolButton |
( |
| ) |
|
Member Function Documentation
virtual void nux::ToolButton::Draw |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [virtual] |
virtual void nux::ToolButton::DrawContent |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [virtual] |
void nux::ToolButton::EmitClick |
( |
int |
x, |
|
|
int |
y, |
|
|
unsigned long |
button_flags, |
|
|
unsigned long |
key_flags |
|
) |
| |
virtual void nux::ToolButton::PostDraw |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [virtual] |
virtual long nux::ToolButton::ProcessEvent |
( |
IEvent & |
ievent, |
|
|
long |
TraverseInfo, |
|
|
long |
ProcessEventInfo |
|
) |
| [virtual] |
void nux::ToolButton::RecvMouseDoubleClick |
( |
int |
x, |
|
|
int |
y, |
|
|
unsigned long |
button_flags, |
|
|
unsigned long |
key_flags |
|
) |
| |
void nux::ToolButton::RecvMouseDown |
( |
int |
x, |
|
|
int |
y, |
|
|
unsigned long |
button_flags, |
|
|
unsigned long |
key_flags |
|
) |
| |
void nux::ToolButton::RecvMouseEnter |
( |
int |
x, |
|
|
int |
y, |
|
|
unsigned long |
button_flags, |
|
|
unsigned long |
key_flags |
|
) |
| |
void nux::ToolButton::RecvMouseLeave |
( |
int |
x, |
|
|
int |
y, |
|
|
unsigned long |
button_flags, |
|
|
unsigned long |
key_flags |
|
) |
| |
void nux::ToolButton::RecvMouseUp |
( |
int |
x, |
|
|
int |
y, |
|
|
unsigned long |
button_flags, |
|
|
unsigned long |
key_flags |
|
) |
| |
void nux::ToolButton::SetAction |
( |
ActionItem * |
action | ) |
|
void nux::ToolButton::SetBitmap |
( |
const BaseTexture * |
Texture | ) |
|
void nux::ToolButton::SetState |
( |
bool |
b | ) |
|
Field Documentation
The documentation for this class was generated from the following file: