uMenuItemExit Class Reference

#include <uMenu.h>

Inheritance diagram for uMenuItemExit:

Inheritance graph
[legend]
Collaboration diagram for uMenuItemExit:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 uMenuItemExit (uMenu *M, const tOutput &text=ExitText(), const tOutput &help=ExitHelp())
virtual void Render (REAL x, REAL y, REAL alpha=1, bool selected=0)
virtual void Enter ()

Static Private Member Functions

static const tOutputExitText ()
static const tOutputExitHelp ()

Private Attributes

tOutput t


Detailed Description

Definition at line 203 of file uMenu.h.


Constructor & Destructor Documentation

uMenuItemExit::uMenuItemExit ( uMenu M,
const tOutput text = ExitText(),
const tOutput help = ExitHelp() 
) [inline]

Definition at line 210 of file uMenu.h.

00213             :uMenuItem(M,help)
00214     ,t(text){}


Member Function Documentation

const tOutput & uMenuItemExit::ExitText (  )  [static, private]

Definition at line 592 of file uMenu.cpp.

00594 {
00595     static tOutput exitText("$menuitem_exit_text");
00596 
00597     return exitText;

const tOutput & uMenuItemExit::ExitHelp (  )  [static, private]

Definition at line 599 of file uMenu.cpp.

00601 {
00602     static tOutput exitHelp("$menuitem_exit_help");
00603 
00604     return exitHelp;

virtual void uMenuItemExit::Render ( REAL  x,
REAL  y,
REAL  alpha = 1,
bool  selected = 0 
) [inline, virtual]

Reimplemented from uMenuItem.

Definition at line 218 of file uMenu.h.

References uMenuItem::DisplayTextSpecial(), and t.

00218                                                                    {
00219         DisplayTextSpecial(x,y,tString(t),selected,alpha);
00220     };

Here is the call graph for this function:

virtual void uMenuItemExit::Enter (  )  [inline, virtual]

Reimplemented from uMenuItem.

Definition at line 222 of file uMenu.h.

References uMenu::Exit(), and uMenuItem::menu.

00222 {menu->Exit();}

Here is the call graph for this function:


Member Data Documentation

tOutput uMenuItemExit::t [private]

Definition at line 204 of file uMenu.h.

Referenced by Render().


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 00:01:06 2008 for Armagetron Advanced by  doxygen 1.5.4