#include <Nux/MenuPage.h>
Public Member Functions |
| MenuItem (const TCHAR *label, int UserValue, NUX_FILE_LINE_PROTO) |
| ~MenuItem () |
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 | DrawAsMenuItem (GraphicsEngine &GfxContext, const Color &textcolor, bool is_highlighted, bool isFirstItem, bool isLastItem, bool draw_icone) |
ActionItem * | GetActionItem () const |
int | GetTextWidth () |
int | GetTextHeight () |
StaticText * | GetStaticText () |
Friends |
class | MenuPage |
Constructor & Destructor Documentation
nux::MenuItem::MenuItem |
( |
const TCHAR * |
label, |
|
|
int |
UserValue, |
|
|
NUX_FILE_LINE_PROTO |
|
|
) |
| |
nux::MenuItem::~MenuItem |
( |
| ) |
|
Member Function Documentation
virtual void nux::MenuItem::Draw |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [virtual] |
void nux::MenuItem::DrawAsMenuItem |
( |
GraphicsEngine & |
GfxContext, |
|
|
const Color & |
textcolor, |
|
|
bool |
is_highlighted, |
|
|
bool |
isFirstItem, |
|
|
bool |
isLastItem, |
|
|
bool |
draw_icone |
|
) |
| |
virtual void nux::MenuItem::DrawContent |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [inline, virtual] |
ActionItem* nux::MenuItem::GetActionItem |
( |
| ) |
const |
StaticText* nux::MenuItem::GetStaticText |
( |
| ) |
[inline] |
int nux::MenuItem::GetTextHeight |
( |
| ) |
|
int nux::MenuItem::GetTextWidth |
( |
| ) |
|
virtual void nux::MenuItem::PostDraw |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [inline, virtual] |
virtual long nux::MenuItem::ProcessEvent |
( |
IEvent & |
ievent, |
|
|
long |
TraverseInfo, |
|
|
long |
ProcessEventInfo |
|
) |
| [virtual] |
Friends And Related Function Documentation
The documentation for this class was generated from the following file: