cMenuEditStrItem Class Reference

#include <menuitems.h>

Inheritance diagram for cMenuEditStrItem:

Inheritance graph
[legend]
Collaboration diagram for cMenuEditStrItem:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cMenuEditStrItem (const char *Name, char *Value, int Length, const char *Allowed)
 ~cMenuEditStrItem ()
virtual eOSState ProcessKey (eKeys Key)

Protected Member Functions

bool InEditMode (void)

Private Member Functions

void SetHelpKeys (void)
void AdvancePos (void)
virtual void Set (void)
char Inc (char c, bool Up)

Private Attributes

char * orgValue
char * value
int length
char * allowed
int pos
bool insert
bool newchar
bool uppercase
const char * charMap
const char * currentChar
eKeys lastKey
cTimeMs autoAdvanceTimeout


Detailed Description

Definition at line 78 of file menuitems.h.


Constructor & Destructor Documentation

cMenuEditStrItem::cMenuEditStrItem ( const char *  Name,
char *  Value,
int  Length,
const char *  Allowed 
)

Definition at line 252 of file menuitems.c.

References allowed, charMap, currentChar, insert, kNone, lastKey, length, newchar, orgValue, pos, Set(), tr, uppercase, and value.

Here is the call graph for this function:

cMenuEditStrItem::~cMenuEditStrItem (  ) 

Definition at line 268 of file menuitems.c.

References allowed, and orgValue.


Member Function Documentation

void cMenuEditStrItem::SetHelpKeys ( void   )  [private]

Definition at line 274 of file menuitems.c.

References cSkinDisplay::Current(), InEditMode(), insert, cSkinDisplay::SetButtons(), and tr.

Referenced by ProcessKey().

Here is the call graph for this function:

void cMenuEditStrItem::AdvancePos ( void   )  [private]

Definition at line 282 of file menuitems.c.

References insert, length, newchar, pos, uppercase, and value.

Referenced by ProcessKey().

void cMenuEditStrItem::Set ( void   )  [private, virtual]

Reimplemented from cOsdItem.

Definition at line 299 of file menuitems.c.

References cSkinDisplay::Current(), cSkinDisplay::EditableWidth(), fontOsd, cFont::GetFont(), InEditMode(), insert, newchar, pos, cMenuEditItem::SetValue(), value, and cFont::Width().

Referenced by cMenuEditStrItem(), and ProcessKey().

Here is the call graph for this function:

char cMenuEditStrItem::Inc ( char  c,
bool  Up 
) [private]

Definition at line 346 of file menuitems.c.

References allowed.

Referenced by ProcessKey().

bool cMenuEditStrItem::InEditMode ( void   )  [inline, protected]

Definition at line 95 of file menuitems.h.

References pos.

Referenced by ProcessKey(), Set(), and SetHelpKeys().

eOSState cMenuEditStrItem::ProcessKey ( eKeys  Key  )  [virtual]

Reimplemented from cOsdItem.

Definition at line 360 of file menuitems.c.

References AdvancePos(), allowed, AUTO_ADVANCE_TIMEOUT, autoAdvanceTimeout, BASICKEY, charMap, currentChar, Inc(), InEditMode(), insert, k0, k9, k_Repeat, kBack, kBlue, kDown, KEYKBD, kfDel, kfEnd, kfHome, kfIns, kGreen, kKbd, kLeft, kNone, kOk, kRed, kRight, kUp, kYellow, lastKey, length, newchar, NORMALKEY, orgValue, osContinue, osUnknown, pos, cOsdItem::ProcessKey(), cTimeMs::Set(), Set(), SetHelpKeys(), stripspace(), cTimeMs::TimedOut(), uppercase, and value.

Here is the call graph for this function:


Member Data Documentation

char* cMenuEditStrItem::orgValue [private]

Definition at line 80 of file menuitems.h.

Referenced by cMenuEditStrItem(), ProcessKey(), and ~cMenuEditStrItem().

char* cMenuEditStrItem::value [private]

Definition at line 81 of file menuitems.h.

Referenced by AdvancePos(), cMenuEditStrItem(), ProcessKey(), and Set().

int cMenuEditStrItem::length [private]

Definition at line 82 of file menuitems.h.

Referenced by AdvancePos(), cMenuEditStrItem(), and ProcessKey().

char* cMenuEditStrItem::allowed [private]

Definition at line 83 of file menuitems.h.

Referenced by cMenuEditStrItem(), Inc(), ProcessKey(), and ~cMenuEditStrItem().

int cMenuEditStrItem::pos [private]

Definition at line 84 of file menuitems.h.

Referenced by AdvancePos(), cMenuEditStrItem(), InEditMode(), ProcessKey(), and Set().

bool cMenuEditStrItem::insert [private]

Definition at line 85 of file menuitems.h.

Referenced by AdvancePos(), cMenuEditStrItem(), ProcessKey(), Set(), and SetHelpKeys().

bool cMenuEditStrItem::newchar [private]

Definition at line 85 of file menuitems.h.

Referenced by AdvancePos(), cMenuEditStrItem(), ProcessKey(), and Set().

bool cMenuEditStrItem::uppercase [private]

Definition at line 85 of file menuitems.h.

Referenced by AdvancePos(), cMenuEditStrItem(), and ProcessKey().

const char* cMenuEditStrItem::charMap [private]

Definition at line 86 of file menuitems.h.

Referenced by cMenuEditStrItem(), and ProcessKey().

const char* cMenuEditStrItem::currentChar [private]

Definition at line 87 of file menuitems.h.

Referenced by cMenuEditStrItem(), and ProcessKey().

eKeys cMenuEditStrItem::lastKey [private]

Definition at line 88 of file menuitems.h.

Referenced by cMenuEditStrItem(), and ProcessKey().

cTimeMs cMenuEditStrItem::autoAdvanceTimeout [private]

Definition at line 89 of file menuitems.h.

Referenced by ProcessKey().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:15:45 2007 for VDR by  doxygen 1.5.3-20071008