vdr 2.7.6
cMenuEditIntxItem Class Reference

#include <menuitems.h>

Public Member Functions

 cMenuEditIntxItem (const char *Name, int *Value, int Min=INT_MIN, int Max=INT_MAX, int Factor=1, const char *NegString=NULL, const char *PosString=NULL)
virtual eOSState ProcessKey (eKeys Key) override
Public Member Functions inherited from cMenuEditIntItem
 cMenuEditIntItem (const char *Name, int *Value, int Min=0, int Max=INT_MAX, const char *MinString=NULL, const char *MaxString=NULL)
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 () override
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

Private Member Functions

void SetHelpKeys (void)
virtual void Set (void) override

Private Attributes

int factor
const char * negString
const char * posString

Additional Inherited Members

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 inherited from cMenuEditIntItem
int * value
int min
int max
const char * minString
const char * maxString
Protected Attributes inherited from cOsdItem
bool fresh

Detailed Description

Definition at line 73 of file menuitems.h.

Constructor & Destructor Documentation

◆ cMenuEditIntxItem()

cMenuEditIntxItem::cMenuEditIntxItem ( const char * Name,
int * Value,
int Min = INT_MIN,
int Max = INT_MAX,
int Factor = 1,
const char * NegString = NULL,
const char * PosString = NULL )

Member Function Documentation

◆ ProcessKey()

eOSState cMenuEditIntxItem::ProcessKey ( eKeys Key)
overridevirtual

◆ Set()

void cMenuEditIntxItem::Set ( void )
overrideprivatevirtual

◆ SetHelpKeys()

void cMenuEditIntxItem::SetHelpKeys ( void )
private

Definition at line 236 of file menuitems.c.

References negString, posString, cMenuEditItem::SetHelp(), and cMenuEditIntItem::value.

Referenced by Set().

Member Data Documentation

◆ factor

int cMenuEditIntxItem::factor
private

Definition at line 75 of file menuitems.h.

Referenced by cMenuEditIntxItem(), and Set().

◆ negString

const char* cMenuEditIntxItem::negString
private

Definition at line 76 of file menuitems.h.

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

◆ posString

const char * cMenuEditIntxItem::posString
private

Definition at line 76 of file menuitems.h.

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


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