#include <menuitems.h>
|
| | cMenuEditStrItem (const char *Name, char *Value, int Length, const char *Allowed=NULL) |
| |
| | ~cMenuEditStrItem () |
| |
| void | SetKeepSpace (void) |
| |
| void | SetMacros (const char **Macros) |
| |
| virtual eOSState | ProcessKey (eKeys Key) |
| |
| | cMenuEditStrItem (const char *Name, char *Value, int Length, const char *Allowed=NULL) |
| |
| | ~cMenuEditStrItem () |
| |
| void | SetKeepSpace (void) |
| |
| void | SetMacros (const char **Macros) |
| |
| virtual eOSState | ProcessKey (eKeys Key) |
| |
| | 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 | Set (void) |
| |
| virtual void | SetMenuItem (cSkinDisplayMenu *DisplayMenu, int Index, bool Current, bool Selectable) |
| |
| virtual eOSState | ProcessKey (eKeys Key) |
| |
| | 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 | Set (void) |
| |
| virtual void | SetMenuItem (cSkinDisplayMenu *DisplayMenu, int Index, bool Current, bool Selectable) |
| |
| virtual eOSState | ProcessKey (eKeys Key) |
| |
| | 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 |
| |
| | 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 |
| |
Definition at line 108 of file include/vdr/menuitems.h.
◆ cMenuEditStrItem() [1/2]
| cMenuEditStrItem::cMenuEditStrItem |
( |
const char * |
Name, |
|
|
char * |
Value, |
|
|
int |
Length, |
|
|
const char * |
Allowed = NULL |
|
) |
| |
Definition at line 385 of file menuitems.c.
References allowed, allowedUtf8, charMapUtf8, currentCharUtf8, FileNameChars, insert, keepSpace, kNone, lastKey, lastMacro, length, lengthUtf8, macro, macros, newchar, offset, pos, Set(), tr, uppercase, value, and valueUtf8.
◆ ~cMenuEditStrItem() [1/2]
| cMenuEditStrItem::~cMenuEditStrItem |
( |
| ) |
|
◆ cMenuEditStrItem() [2/2]
| cMenuEditStrItem::cMenuEditStrItem |
( |
const char * |
Name, |
|
|
char * |
Value, |
|
|
int |
Length, |
|
|
const char * |
Allowed = NULL |
|
) |
| |
◆ ~cMenuEditStrItem() [2/2]
| cMenuEditStrItem::~cMenuEditStrItem |
( |
| ) |
|
◆ AdvancePos() [1/2]
| void cMenuEditStrItem::AdvancePos |
( |
void |
| ) |
|
|
private |
◆ AdvancePos() [2/2]
| void cMenuEditStrItem::AdvancePos |
( |
void |
| ) |
|
|
private |
◆ Delete() [1/2]
| void cMenuEditStrItem::Delete |
( |
void |
| ) |
|
|
private |
◆ Delete() [2/2]
| void cMenuEditStrItem::Delete |
( |
void |
| ) |
|
|
private |
◆ EnterEditMode() [1/2]
| void cMenuEditStrItem::EnterEditMode |
( |
void |
| ) |
|
|
protected |
Definition at line 422 of file menuitems.c.
References AdvancePos(), allowed, allowedUtf8, charMapUtf8, currentCharUtf8, length, lengthUtf8, tr, Utf8ToArray(), value, and valueUtf8.
Referenced by ProcessKey().
◆ EnterEditMode() [2/2]
| void cMenuEditStrItem::EnterEditMode |
( |
void |
| ) |
|
|
protected |
◆ Inc() [1/2]
| uint cMenuEditStrItem::Inc |
( |
uint |
c, |
|
|
bool |
Up |
|
) |
| |
|
private |
◆ Inc() [2/2]
| uint cMenuEditStrItem::Inc |
( |
uint |
c, |
|
|
bool |
Up |
|
) |
| |
|
private |
◆ InEditMode() [1/2]
| bool cMenuEditStrItem::InEditMode |
( |
void |
| ) |
|
|
inlineprotected |
◆ InEditMode() [2/2]
| bool cMenuEditStrItem::InEditMode |
( |
void |
| ) |
|
|
inlineprotected |
◆ Insert() [1/2]
| void cMenuEditStrItem::Insert |
( |
void |
| ) |
|
|
private |
◆ Insert() [2/2]
| void cMenuEditStrItem::Insert |
( |
void |
| ) |
|
|
private |
◆ InsertMacro() [1/2]
| void cMenuEditStrItem::InsertMacro |
( |
void |
| ) |
|
|
private |
◆ InsertMacro() [2/2]
| void cMenuEditStrItem::InsertMacro |
( |
void |
| ) |
|
|
private |
◆ IsAllowed() [1/2]
| uint * cMenuEditStrItem::IsAllowed |
( |
uint |
c | ) |
|
|
private |
◆ IsAllowed() [2/2]
| uint * cMenuEditStrItem::IsAllowed |
( |
uint |
c | ) |
|
|
private |
◆ LeaveEditMode() [1/2]
| void cMenuEditStrItem::LeaveEditMode |
( |
bool |
SaveValue = false | ) |
|
|
protected |
Definition at line 439 of file menuitems.c.
References allowedUtf8, charMapUtf8, keepSpace, length, lengthUtf8, newchar, offset, pos, stripspace(), Utf8FromArray(), value, and valueUtf8.
Referenced by ProcessKey().
◆ LeaveEditMode() [2/2]
| void cMenuEditStrItem::LeaveEditMode |
( |
bool |
SaveValue = false | ) |
|
|
protected |
◆ ProcessKey() [1/2]
Reimplemented from cOsdItem.
Definition at line 621 of file menuitems.c.
References AdvancePos(), AUTO_ADVANCE_TIMEOUT, autoAdvanceTimeout, BASICKEY, charMapUtf8, currentCharUtf8, Delete(), EnterEditMode(), Inc(), InEditMode(), insert, Insert(), InsertMacro(), IsAllowed(), k0, k9, k_Repeat, kBack, kBlue, kDown, KEYKBD, kfDel, kfEnd, kfHome, kfIns, kGreen, kKbd, kLeft, kNone, kOk, kRed, kRight, kUp, kYellow, lastKey, lastMacro, LeaveEditMode(), length, lengthUtf8, newchar, NORMALKEY, cSetup::NumberKeysForChars, osContinue, osUnknown, pos, ProcessKey(), cOsdItem::ProcessKey(), cTimeMs::Set(), Set(), SetHelpKeys(), Setup, cTimeMs::TimedOut(), Type(), uppercase, Utf8is, Utf8to, and valueUtf8.
Referenced by ProcessKey().
◆ ProcessKey() [2/2]
◆ Set() [1/2]
| void cMenuEditStrItem::Set |
( |
void |
| ) |
|
|
privatevirtual |
Reimplemented from cOsdItem.
Definition at line 497 of file menuitems.c.
References cSkinDisplay::Current(), cSkinDisplay::EditableWidth(), fontOsd, cFont::GetFont(), InEditMode(), insert, lengthUtf8, newchar, offset, pos, cMenuEditItem::SetValue(), Utf8FromArray(), value, valueUtf8, and cFont::Width().
Referenced by cMenuEditStrItem(), and ProcessKey().
◆ Set() [2/2]
| virtual void cMenuEditStrItem::Set |
( |
void |
| ) |
|
|
privatevirtual |
◆ SetHelpKeys() [1/2]
| void cMenuEditStrItem::SetHelpKeys |
( |
void |
| ) |
|
|
private |
◆ SetHelpKeys() [2/2]
| void cMenuEditStrItem::SetHelpKeys |
( |
void |
| ) |
|
|
private |
◆ SetKeepSpace() [1/2]
| void cMenuEditStrItem::SetKeepSpace |
( |
void |
| ) |
|
|
inline |
◆ SetKeepSpace() [2/2]
| void cMenuEditStrItem::SetKeepSpace |
( |
void |
| ) |
|
|
inline |
◆ SetMacros() [1/2]
| void cMenuEditStrItem::SetMacros |
( |
const char ** |
Macros | ) |
|
◆ SetMacros() [2/2]
| void cMenuEditStrItem::SetMacros |
( |
const char ** |
Macros | ) |
|
◆ Type() [1/2]
| void cMenuEditStrItem::Type |
( |
uint |
c | ) |
|
|
private |
◆ Type() [2/2]
| void cMenuEditStrItem::Type |
( |
uint |
c | ) |
|
|
private |
◆ allowed
| const char * cMenuEditStrItem::allowed |
|
private |
◆ allowedUtf8
| uint * cMenuEditStrItem::allowedUtf8 |
|
private |
◆ autoAdvanceTimeout
| cTimeMs cMenuEditStrItem::autoAdvanceTimeout |
|
private |
◆ charMapUtf8
| uint * cMenuEditStrItem::charMapUtf8 |
|
private |
◆ currentCharUtf8
| uint * cMenuEditStrItem::currentCharUtf8 |
|
private |
◆ insert
| bool cMenuEditStrItem::insert |
|
private |
◆ keepSpace
| bool cMenuEditStrItem::keepSpace |
|
private |
◆ lastKey
| eKeys cMenuEditStrItem::lastKey |
|
private |
◆ lastMacro
| int cMenuEditStrItem::lastMacro |
|
private |
◆ length
| int cMenuEditStrItem::length |
|
private |
◆ lengthUtf8
| int cMenuEditStrItem::lengthUtf8 |
|
private |
◆ macro
| int cMenuEditStrItem::macro |
|
private |
◆ macros
| const char ** cMenuEditStrItem::macros |
|
private |
◆ newchar
| bool cMenuEditStrItem::newchar |
|
private |
◆ offset
| int cMenuEditStrItem::offset |
|
private |
◆ pos
| int cMenuEditStrItem::pos |
|
private |
◆ uppercase
| bool cMenuEditStrItem::uppercase |
|
private |
◆ value
| char * cMenuEditStrItem::value |
|
private |
◆ valueUtf8
| uint * cMenuEditStrItem::valueUtf8 |
|
private |
Definition at line 119 of file include/vdr/menuitems.h.
Referenced by AdvancePos(), cMenuEditStrItem(), Delete(), EnterEditMode(), InEditMode(), Insert(), LeaveEditMode(), ProcessKey(), Set(), Type(), and ~cMenuEditStrItem().
The documentation for this class was generated from the following files: