nux-1.14.0
|
Public Member Functions | |
NUX_DECLARE_OBJECT_TYPE (ActionItem, Object) | |
ActionItem (const TCHAR *label=0, int UserValue=0, NUX_FILE_LINE_PROTO) | |
void | Activate (bool b) |
void | Trigger () const |
void | DrawAsMenuItem (GraphicsEngine &GfxContext, InputArea &area, bool is_highlighted, bool draw_icone) |
void | DrawAsToolButton (GraphicsEngine &GfxContext, InputArea &area) |
void | Enable (bool b) |
bool | isEnabled () const |
void | SetLabel (const TCHAR *label) |
const TCHAR * | GetLabel () const |
int | GetUserValue () const |
void | SetFont (ObjectPtr< FontTexture > font) |
void | SetIcon (const BaseTexture *icon) |
const BaseTexture * | GetIcon () |
Public Attributes | |
sigc::signal< void > | sigAction |
Friends | |
class | MenuBar |
class | MenuPage |
Definition at line 34 of file ActionItem.h.