Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cOsdItem Class Reference

#include <osd.h>

Inheritance diagram for cOsdItem:

Inheritance graph
[legend]
Collaboration diagram for cOsdItem:

Collaboration graph
[legend]

Detailed Description

Osd item handling.

Definition at line 104 of file osd.h.

Public Methods

 cOsdItem (eOSState State=osUnknown)
 cOsdItem (const char *Text, eOSState State=osUnknown)
virtual ~cOsdItem ()
bool HasUserColor (void)
void SetText (const char *Text, bool Copy=true)
void SetColor (eDvbColor FgColor, eDvbColor BgColor=clrBackground)
const char * Text (void)
virtual void Display (int Offset=-1, eDvbColor FgColor=clrWhite, eDvbColor BgColor=clrBackground)
virtual void Set (void)
virtual eOSState ProcessKey (eKeys Key)

Protected Attributes

bool fresh
bool userColor
eDvbColor fgColor
eDvbColor bgColor

Private Attributes

char * text
int offset
eOSState state


Constructor & Destructor Documentation

cOsdItem::cOsdItem eOSState    State = osUnknown
 

Definition at line 250 of file osd.c.

References bgColor, clrBackground, clrWhite, fgColor, fresh, offset, state, text, and userColor.

cOsdItem::cOsdItem const char *    Text,
eOSState    State = osUnknown
 

Definition at line 261 of file osd.c.

References bgColor, clrBackground, clrWhite, fgColor, fresh, offset, SetText(), state, text, and userColor.

cOsdItem::~cOsdItem   [virtual]
 

Definition at line 273 of file osd.c.


Member Function Documentation

void cOsdItem::Display int    Offset = -1,
eDvbColor    FgColor = clrWhite,
eDvbColor    BgColor = clrBackground
[virtual]
 

Reimplemented in cMenuTextItem.

Definition at line 291 of file osd.c.

References clrBlack, clrCyan, fresh, and offset.

Referenced by cOsdMenu::Display(), cOsdMenu::DisplayCurrent(), and cMenuEditItem::SetValue().

bool cOsdItem::HasUserColor void    [inline]
 

Definition at line 117 of file osd.h.

Referenced by cOsdMenu::SpecialItem().

eOSState cOsdItem::ProcessKey eKeys    Key [virtual]
 

Reimplemented in cMenuEditChanItem, cMenuEditTranItem, cMenuEditDayItem, cMenuEditDateItem, cMenuEditTimeItem, cMenuEditCaItem, cMenuEditSrcItem, cMenuEditMapItem, cMenuEditIntItem, cMenuEditChrItem, cMenuEditStrItem, and cMenuTextItem.

Definition at line 304 of file osd.c.

References eOSState, kOk, osUnknown, and state.

Referenced by cOsdMenu::ProcessKey(), cMenuEditStrItem::ProcessKey(), cMenuEditChrItem::ProcessKey(), cMenuEditIntItem::ProcessKey(), cMenuEditMapItem::ProcessKey(), cMenuEditSrcItem::ProcessKey(), cMenuEditCaItem::ProcessKey(), cMenuEditTimeItem::ProcessKey(), and cMenuEditDateItem::ProcessKey().

virtual void cOsdItem::Set void    [inline, virtual]
 

Reimplemented in cMenuEditChanItem, cMenuEditDayItem, cMenuEditDateItem, cMenuEditTimeItem, cMenuEditCaItem, cMenuEditSrcItem, cMenuEditMapItem, cMenuChannelItem, cMenuTimerItem, cMenuEditIntItem, cMenuEditBoolItem, cMenuEditChrItem, cMenuEditStrItem, and cMenuEditStraItem.

Definition at line 122 of file osd.h.

Referenced by cOsdMenu::RefreshCurrent().

void cOsdItem::SetColor eDvbColor    FgColor,
eDvbColor    BgColor = clrBackground
 

Definition at line 284 of file osd.c.

References bgColor, fgColor, and userColor.

Referenced by cMenuChannelItem::cMenuChannelItem().

void cOsdItem::SetText const char *    Text,
bool    Copy = true
 

Definition at line 278 of file osd.c.

References text.

Referenced by cMenuRecordingItem::cMenuRecordingItem(), cMenuScheduleItem::cMenuScheduleItem(), cMenuWhatsOnItem::cMenuWhatsOnItem(), cOsdItem(), cMenuRecordingItem::IncrementCounter(), cMenuTimerItem::Set(), cMenuChannelItem::Set(), and cMenuEditItem::SetValue().

const char* cOsdItem::Text void    [inline]
 

Definition at line 120 of file osd.h.

Referenced by cMenuRecordingItem::cMenuRecordingItem(), cMenuRecordings::cMenuRecordings(), cOsdMenu::Display(), cOsdMenu::DisplayCurrent(), cOsdMenu::HotKey(), and cMenuMain::ProcessKey().


Field Documentation

eDvbColor cOsdItem::bgColor [protected]
 

Reimplemented in cMenuTextItem.

Definition at line 112 of file osd.h.

Referenced by cOsdItem(), and SetColor().

eDvbColor cOsdItem::fgColor [protected]
 

Reimplemented in cMenuTextItem.

Definition at line 112 of file osd.h.

Referenced by cOsdItem(), and SetColor().

bool cOsdItem::fresh [protected]
 

Definition at line 110 of file osd.h.

Referenced by cOsdItem(), Display(), cMenuEditIntItem::ProcessKey(), and cMenuEditTimeItem::ProcessKey().

int cOsdItem::offset [private]
 

Reimplemented in cMenuTextItem.

Definition at line 107 of file osd.h.

Referenced by cOsdItem(), and Display().

eOSState cOsdItem::state [private]
 

Definition at line 108 of file osd.h.

Referenced by cOsdItem(), and ProcessKey().

char* cOsdItem::text [private]
 

Reimplemented in cMenuTextItem.

Definition at line 106 of file osd.h.

Referenced by cOsdItem(), and SetText().

bool cOsdItem::userColor [protected]
 

Definition at line 111 of file osd.h.

Referenced by cOsdItem(), and SetColor().


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:46 2003 for VDR by doxygen1.3-rc2