#include <uMenu.h>
Public Member Functions | |
uMenuItemInt (uMenu *m, const tOutput &title, const tOutput &help, int &targ, int mi, int ma, int step=1) | |
~uMenuItemInt () | |
virtual void | LeftRight (int) |
virtual void | Render (REAL x, REAL y, REAL alpha=1, bool selected=0) |
Protected Attributes | |
tOutput | title |
int & | target |
int | Min |
int | Max |
int | Step |
Definition at line 347 of file uMenu.h.
void uMenuItemInt::LeftRight | ( | int | dir | ) | [virtual] |
Reimplemented from uMenuItem.
Reimplemented in ArmageTron_viewport_menuitem, and ArmageTronPlayer_to_viewport_menuitem.
Definition at line 672 of file uMenu.cpp.
References uMenuItem::DisplayText(), target, and title.
00674 { 00675 DisplayText(x-.02,y,title,selected,alpha,1); 00676 00677 tString s; 00678 s << target; 00679 DisplayText(x+.02,y,s,selected,alpha,-1);
tOutput uMenuItemInt::title [protected] |
int& uMenuItemInt::target [protected] |
int uMenuItemInt::Min [protected] |
int uMenuItemInt::Max [protected] |
int uMenuItemInt::Step [protected] |