vdr  2.2.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cMenuEditPrcItem Class Reference

#include <menuitems.h>

Public Member Functions

 cMenuEditPrcItem (const char *Name, double *Value, double Min=0.0, double Max=1.0, int Decimals=0)
 
virtual eOSState ProcessKey (eKeys Key)
 
- Public Member Functions inherited from cMenuEditItem
 cMenuEditItem (const char *Name)
 
 ~cMenuEditItem ()
 
void SetValue (const char *Value)
 
bool DisplayHelp (bool Current)
 
- Public Member Functions inherited from cOsdItem
 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)
 
- Public Member Functions inherited from cListObject
 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
 
cListObjectPrev (void) const
 
cListObjectNext (void) const
 

Protected Member Functions

virtual void Set (void)
 
- Protected Member Functions inherited from cMenuEditItem
void SetHelp (const char *Red, const char *Green=NULL, const char *Yellow=NULL, const char *Blue=NULL)
 

Protected Attributes

double * value
 
double min
 
double max
 
int decimals
 
int factor
 
- Protected Attributes inherited from cOsdItem
bool fresh
 

Detailed Description

Definition at line 84 of file menuitems.h.

Constructor & Destructor Documentation

cMenuEditPrcItem::cMenuEditPrcItem ( const char *  Name,
double *  Value,
double  Min = 0.0,
double  Max = 1.0,
int  Decimals = 0 
)

Definition at line 272 of file menuitems.c.

References decimals, factor, max, min, Set(), and value.

Member Function Documentation

eOSState cMenuEditPrcItem::ProcessKey ( eKeys  Key)
virtual
void cMenuEditPrcItem::Set ( void  )
protectedvirtual

Reimplemented from cOsdItem.

Definition at line 289 of file menuitems.c.

References decimals, cMenuEditItem::SetValue(), and value.

Referenced by cMenuEditPrcItem(), and ProcessKey().

Member Data Documentation

int cMenuEditPrcItem::decimals
protected

Definition at line 88 of file menuitems.h.

Referenced by cMenuEditPrcItem(), and Set().

int cMenuEditPrcItem::factor
protected

Definition at line 89 of file menuitems.h.

Referenced by cMenuEditPrcItem(), and ProcessKey().

double cMenuEditPrcItem::max
protected

Definition at line 87 of file menuitems.h.

Referenced by cMenuEditPrcItem(), and ProcessKey().

double cMenuEditPrcItem::min
protected

Definition at line 87 of file menuitems.h.

Referenced by cMenuEditPrcItem(), and ProcessKey().

double* cMenuEditPrcItem::value
protected

Definition at line 86 of file menuitems.h.

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


The documentation for this class was generated from the following files: