#include <uMenu.h>
Public Member Functions | |
uMenuItemToggle (uMenu *m, const tOutput &title, const tOutput &help, bool &targ) | |
~uMenuItemToggle () | |
virtual void | LeftRight (int) |
virtual void | Enter () |
Private Member Functions | |
void | NewChoice (uSelectItem< bool > *c) |
void | NewChoice (const char *desc, bool val) |
Definition at line 326 of file uMenu.h.
uMenuItemToggle::uMenuItemToggle | ( | uMenu * | m, | |
const tOutput & | title, | |||
const tOutput & | help, | |||
bool & | targ | |||
) |
Definition at line 622 of file uMenu.cpp.
References uMenuItemSelection< T >::NewChoice().
00627 :uMenuItemSelection<bool>(m,tit,help,targ){ 00628 uMenuItemSelection<bool>::NewChoice("$menuitem_toggle_on","",true); 00629 uMenuItemSelection<bool>::NewChoice("$menuitem_toggle_off","",false);
void uMenuItemToggle::NewChoice | ( | uSelectItem< bool > * | c | ) | [private] |
void uMenuItemToggle::NewChoice | ( | const char * | desc, | |
bool | val | |||
) | [private] |
void uMenuItemToggle::LeftRight | ( | int | ) | [virtual] |
Reimplemented from uMenuItemSelection< bool >.
Definition at line 633 of file uMenu.cpp.
References uMenuItemSelection< bool >::select, and uMenuItemSelection< bool >::target.
Referenced by Enter().
void uMenuItemToggle::Enter | ( | ) | [virtual] |
Reimplemented from uMenuItem.
Definition at line 638 of file uMenu.cpp.
References LeftRight().
00639 { 00640 LeftRight(0);