vdr
2.2.0
|
#include <menuitems.h>
Public Member Functions | |
cMenuEditIntItem (const char *Name, int *Value, int Min=0, int Max=INT_MAX, const char *MinString=NULL, const char *MaxString=NULL) | |
virtual eOSState | ProcessKey (eKeys Key) |
![]() | |
cMenuEditItem (const char *Name) | |
~cMenuEditItem () | |
void | SetValue (const char *Value) |
bool | DisplayHelp (bool Current) |
![]() | |
cOsdItem (eOSState State=osUnknown) | |
cOsdItem (const char *Text, eOSState State=osUnknown, bool Selectable=true) | |
virtual | ~cOsdItem () |
bool | Selectable (void) const |
void | SetText (const char *Text, bool Copy=true) |
void | SetSelectable (bool Selectable) |
void | SetFresh (bool Fresh) |
const char * | Text (void) const |
virtual void | SetMenuItem (cSkinDisplayMenu *DisplayMenu, int Index, bool Current, bool Selectable) |
![]() | |
cListObject (void) | |
virtual | ~cListObject () |
virtual int | Compare (const cListObject &ListObject) const |
void | Append (cListObject *Object) |
void | Insert (cListObject *Object) |
void | Unlink (void) |
int | Index (void) const |
cListObject * | Prev (void) const |
cListObject * | Next (void) const |
Protected Member Functions | |
virtual void | Set (void) |
![]() | |
void | SetHelp (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL) |
Protected Attributes | |
int * | value |
int | min |
int | max |
const char * | minString |
const char * | maxString |
![]() | |
bool | fresh |
Definition at line 33 of file menuitems.h.
cMenuEditIntItem::cMenuEditIntItem | ( | const char * | Name, |
int * | Value, | ||
int | Min = 0 , |
||
int | Max = INT_MAX , |
||
const char * | MinString = NULL , |
||
const char * | MaxString = NULL |
||
) |
Reimplemented from cOsdItem.
Reimplemented in cMenuEditTranItem, cMenuEditChanItem, cMenuEditSrcItem, cMenuEditIntxItem, and cMenuEditCaItem.
Definition at line 95 of file menuitems.c.
References cOsdItem::fresh, k0, k9, k_Repeat, kLeft, kNone, kRight, max, min, NORMALKEY, osContinue, osUnknown, cOsdItem::ProcessKey(), Set(), cOsdItem::state, and value.
Referenced by cMenuEditCaItem::ProcessKey(), cMenuEditIntxItem::ProcessKey(), and cMenuEditChanItem::ProcessKey().
|
protectedvirtual |
Reimplemented from cOsdItem.
Reimplemented in cMenuEditChanItem, cMenuEditStraItem, cMenuEditSrcItem, cMenuEditIntxItem, cMenuEditCaItem, cMenuEditBitItem, and cMenuEditBoolItem.
Definition at line 82 of file menuitems.c.
References max, maxString, min, minString, cMenuEditItem::SetValue(), and value.
Referenced by cMenuEditIntItem(), ProcessKey(), cMenuEditCaItem::Set(), and cMenuEditSrcItem::Set().
|
protected |
Definition at line 36 of file menuitems.h.
Referenced by cMenuEditIntItem(), cMenuEditIntxItem::cMenuEditIntxItem(), ProcessKey(), and Set().
|
protected |
Definition at line 37 of file menuitems.h.
Referenced by cMenuEditIntItem(), and Set().
|
protected |
Definition at line 36 of file menuitems.h.
Referenced by cMenuEditIntItem(), ProcessKey(), and Set().
|
protected |
Definition at line 37 of file menuitems.h.
Referenced by cMenuEditIntItem(), and Set().
|
protected |
Definition at line 35 of file menuitems.h.
Referenced by cMenuEditIntItem(), ProcessKey(), cMenuEditCaItem::ProcessKey(), cMenuEditIntxItem::ProcessKey(), cMenuEditSrcItem::ProcessKey(), cMenuEditChanItem::ProcessKey(), Set(), cMenuEditBoolItem::Set(), cMenuEditCaItem::Set(), cMenuEditIntxItem::Set(), cMenuEditStraItem::Set(), cMenuEditChanItem::Set(), and cMenuEditIntxItem::SetHelpKeys().