nux-0.9.46

nux::MenuItem Class Reference

#include <Nux/MenuPage.h>

Inheritance diagram for nux::MenuItem:
nux::View nux::InputArea nux::Area nux::InitiallyUnownedObject nux::Focusable nux::Object nux::Trackable

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)
ActionItemGetActionItem () const
int GetTextWidth ()
int GetTextHeight ()
StaticTextGetStaticText ()

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]

Implements nux::View.

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]

Reimplemented from nux::View.

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]

Reimplemented from nux::View.

virtual long nux::MenuItem::ProcessEvent ( IEvent ievent,
long  TraverseInfo,
long  ProcessEventInfo 
) [virtual]

Implements nux::View.


Friends And Related Function Documentation

friend class MenuPage [friend]

The documentation for this class was generated from the following file: