#include <osdtypes.h>
Definition at line 43 of file osdtypes.h.
Signals | |
| void | OSDClosed (int) |
Public Member Functions | |
| OSDSet (const QString &name, bool cache, int screenwidth, int screenheight, float wmult, float hmult, int frint, int xoff=0, int yoff=0) | |
| OSDSet (const OSDSet &other) | |
| ~OSDSet () | |
| void | Clear (void) |
| void | ClearAllText (void) |
| void | AddType (OSDType *type) |
| void | Draw (OSDSurface *surface, bool actuallydraw) |
| void | Display (bool onoff=true, int osdFunctionalType=0) |
| void | DisplayFor (int time, int osdFunctionalType=0) |
| void | Hide (void) |
| bool | HandleKey (const QKeyEvent *e, bool *focus_change=NULL, QString *button_pressed=NULL) |
| QString | HandleHotKey (const QKeyEvent *e) |
| void | Reinit (int screenwidth, int screenheight, int xoff, int yoff, int displaywidth, int displayheight, float wmult, float hmult, int frint) |
| bool | NeedsUpdate (void) |
| QString | GetName (void) const |
| bool | GetCache (void) const |
| bool | GetAllowFade (void) const |
| int | GetPriority (void) const |
| bool | Displaying (void) const |
| bool | HasDisplayed (void) const |
| int | GetFadeTime (void) const |
| bool | IsFading (void) const |
| int | GetTimeLeft (void) const |
| int | GetFrameInterval (void) const |
| void | GetText (InfoMap &infoMap) const |
| bool | CanShowWith (const QString &name) const |
| const OSDType * | GetType (const QString &name) const |
| const OSDTypeText * | GetSelected (void) const |
| OSDType * | GetType (const QString &name) |
| OSDTypeText * | GetSelected (void) |
| void | SetFadeTime (int time) |
| void | SetCache (bool cache) |
| void | SetName (const QString &name) |
| void | SetAllowFade (bool allow) |
| void | SetPriority (int priority) |
| void | SetFadeMovement (int x, int y) |
| void | SetFrameInterval (int frint) |
| void | SetWantsUpdates (bool updates) |
| void | SetDrawEveryFrame (bool draw) |
| void | SetShowWith (const QString &re) |
| bool | SetSelected (int index) |
| void | SetText (const InfoMap &infoMap) |
Protected Attributes | |
| int | m_screenwidth |
| int | m_screenheight |
| int | m_frameint |
| float | m_wmult |
| float | m_hmult |
| bool | m_cache |
| QString | m_name |
| bool | m_notimeout |
| bool | m_hasdisplayed |
| int | m_timeleft |
| bool | m_displaying |
| int | m_fadetime |
| int | m_maxfade |
| int | m_priority |
| int | m_xmove |
| int | m_ymove |
| int | m_xoff |
| int | m_yoff |
| int | m_xoffsetbase |
| int | m_yoffsetbase |
| bool | m_allowfade |
| QMap< QString, OSDType * > | typeList |
| vector< OSDType * > * | allTypes |
| bool | m_wantsupdates |
| bool | m_needsupdate |
| int | m_lastupdate |
| int | currentOSDFunctionalType |
| bool | m_draweveryframe |
| QRegExp | m_showwith |
| OSDSet::OSDSet | ( | const QString & | name, | |
| bool | cache, | |||
| int | screenwidth, | |||
| int | screenheight, | |||
| float | wmult, | |||
| float | hmult, | |||
| int | frint, | |||
| int | xoff = 0, |
|||
| int | yoff = 0 | |||
| ) |
Definition at line 29 of file osdtypes.cpp.
| OSDSet::OSDSet | ( | const OSDSet & | other | ) |
Definition at line 75 of file osdtypes.cpp.
| OSDSet::~OSDSet | ( | ) |
Definition at line 153 of file osdtypes.cpp.
| void OSDSet::Clear | ( | void | ) |
Definition at line 159 of file osdtypes.cpp.
Referenced by OSD::ClearAll(), MHIContext::UpdateOSD(), and ~OSDSet().
| void OSDSet::ClearAllText | ( | void | ) |
Definition at line 246 of file osdtypes.cpp.
Referenced by OSD::ClearAllText(), and OSD::ClearNotify().
| void OSDSet::AddType | ( | OSDType * | type | ) |
Definition at line 171 of file osdtypes.cpp.
Referenced by NuppelVideoPlayer::DisplayAVSubtitles(), NuppelVideoPlayer::DisplayDVDButton(), OSD::InitCC608(), OSD::InitCC708(), OSD::InitMenu(), OSD::InitTeletext(), OSDSet(), OSD::parseBox(), OSD::parseImage(), OSD::parseListTree(), OSD::parsePositionImage(), OSD::parsePositionRects(), OSD::parseSlider(), OSD::parseTextArea(), OSD::SetTextSubtitles(), and MHIContext::UpdateOSD().
| void OSDSet::Draw | ( | OSDSurface * | surface, | |
| bool | actuallydraw | |||
| ) |
| void OSDSet::Display | ( | bool | onoff = true, |
|
| int | osdFunctionalType = 0 | |||
| ) |
Definition at line 511 of file osdtypes.cpp.
Referenced by OSD::AddCCText(), OSD::CC708Updated(), OSD::ClearAllCCText(), NuppelVideoPlayer::EnableTeletext(), OSD::InitInteractiveTV(), NuppelVideoPlayer::ITVRestart(), OSD::NewDialogBox(), OSD::SetCC708Service(), OSD::SetText(), OSD::ShowStatus(), OSD::ShowTreeMenu(), OSD::StartNotify(), OSD::UpdateCCText(), and OSD::UpdateTeletext().
| void OSDSet::DisplayFor | ( | int | time, | |
| int | osdFunctionalType = 0 | |||
| ) |
Definition at line 537 of file osdtypes.cpp.
Referenced by OSD::NewDialogBox(), OSD::SetChannumText(), OSD::SetInfoText(), OSD::SetSettingsText(), OSD::SetText(), OSD::ShowStatus(), and OSD::StartNotify().
| void OSDSet::Hide | ( | void | ) |
Definition at line 569 of file osdtypes.cpp.
Referenced by OSD::ClearNotify(), OSDTypeText::Draw(), OSD::EndStatus(), HandleKey(), OSD::TreeMenuHandleKeypress(), and OSD::TurnDialogOff().
| QString OSDSet::HandleHotKey | ( | const QKeyEvent * | e | ) |
| void OSDSet::Reinit | ( | int | screenwidth, | |
| int | screenheight, | |||
| int | xoff, | |||
| int | yoff, | |||
| int | displaywidth, | |||
| int | displayheight, | |||
| float | wmult, | |||
| float | hmult, | |||
| int | frint | |||
| ) |
Definition at line 178 of file osdtypes.cpp.
| bool OSDSet::NeedsUpdate | ( | void | ) | [inline] |
| QString OSDSet::GetName | ( | void | ) | const [inline] |
Definition at line 72 of file osdtypes.h.
| bool OSDSet::GetCache | ( | void | ) | const [inline] |
| bool OSDSet::GetAllowFade | ( | void | ) | const [inline] |
Definition at line 74 of file osdtypes.h.
| int OSDSet::GetPriority | ( | void | ) | const [inline] |
Definition at line 75 of file osdtypes.h.
Referenced by comp::operator()(), and OSD::ShowEditArrow().
| bool OSDSet::Displaying | ( | void | ) | const [inline] |
Definition at line 76 of file osdtypes.h.
Referenced by TV::ChannelEditKey(), OSD::Display(), OSD::IsSetDisplaying(), and TV::RunTV().
| bool OSDSet::HasDisplayed | ( | void | ) | const [inline] |
| int OSDSet::GetFadeTime | ( | void | ) | const [inline] |
| bool OSDSet::IsFading | ( | void | ) | const [inline] |
| int OSDSet::GetTimeLeft | ( | void | ) | const [inline] |
| int OSDSet::GetFrameInterval | ( | void | ) | const [inline] |
Definition at line 82 of file osdtypes.h.
| void OSDSet::GetText | ( | InfoMap & | infoMap | ) | const |
| bool OSDSet::CanShowWith | ( | const QString & | name | ) | const |
| const OSDType * OSDSet::GetType | ( | const QString & | name | ) | const |
Definition at line 204 of file osdtypes.cpp.
Referenced by OSD::AddCCText(), OSD::CC708Updated(), OSD::ClearAllCCText(), OSD::DialogDown(), OSD::DialogUp(), OSD::Display(), OSD::GetTeletextViewer(), OSD::HighlightDialogSelection(), OSD::NewDialogBox(), OSD::SetCC708Service(), OSD::SetChannumText(), OSD::SetInfoText(), OSD::SetSettingsText(), OSD::SetText(), OSD::ShowStatus(), OSD::ShowTreeMenu(), OSD::StartNotify(), OSD::UpdateCCText(), OSD::UpdateStatus(), and OSD::UpdateTeletext().
| const OSDTypeText * OSDSet::GetSelected | ( | void | ) | const |
| OSDType * OSDSet::GetType | ( | const QString & | name | ) |
Definition at line 212 of file osdtypes.cpp.
| OSDTypeText * OSDSet::GetSelected | ( | void | ) |
Definition at line 233 of file osdtypes.cpp.
| void OSDSet::SetFadeTime | ( | int | time | ) | [inline] |
| void OSDSet::SetCache | ( | bool | cache | ) | [inline] |
| void OSDSet::SetName | ( | const QString & | name | ) | [inline] |
| void OSDSet::SetAllowFade | ( | bool | allow | ) | [inline] |
Definition at line 97 of file osdtypes.h.
Referenced by OSD::InitTeletext(), and OSD::NewDialogBox().
| void OSDSet::SetPriority | ( | int | priority | ) | [inline] |
Definition at line 98 of file osdtypes.h.
Referenced by OSD::InitCC608(), OSD::InitCC708(), OSD::InitInteractiveTV(), OSD::InitSubtitles(), OSD::InitTeletext(), OSD::NewDialogBox(), and OSD::parseContainer().
| void OSDSet::SetFadeMovement | ( | int | x, | |
| int | y | |||
| ) | [inline] |
| void OSDSet::SetFrameInterval | ( | int | frint | ) | [inline] |
Definition at line 100 of file osdtypes.h.
| void OSDSet::SetWantsUpdates | ( | bool | updates | ) | [inline] |
Definition at line 101 of file osdtypes.h.
Referenced by OSDTypeText::Draw(), and OSD::InitTeletext().
| void OSDSet::SetDrawEveryFrame | ( | bool | draw | ) | [inline] |
| void OSDSet::SetShowWith | ( | const QString & | re | ) | [inline] |
| bool OSDSet::SetSelected | ( | int | index | ) |
| void OSDSet::SetText | ( | const InfoMap & | infoMap | ) |
Definition at line 262 of file osdtypes.cpp.
Referenced by TV::ChannelEditKey(), OSD::SetInfoText(), and OSD::SetText().
| void OSDSet::OSDClosed | ( | int | ) | [signal] |
Referenced by Display(), DisplayFor(), Draw(), and Hide().
int OSDSet::m_screenwidth [protected] |
int OSDSet::m_screenheight [protected] |
int OSDSet::m_frameint [protected] |
Definition at line 113 of file osdtypes.h.
Referenced by Draw(), GetFrameInterval(), OSDSet(), Reinit(), and SetFrameInterval().
float OSDSet::m_wmult [protected] |
float OSDSet::m_hmult [protected] |
bool OSDSet::m_cache [protected] |
QString OSDSet::m_name [protected] |
bool OSDSet::m_notimeout [protected] |
Definition at line 120 of file osdtypes.h.
Referenced by Display(), DisplayFor(), Draw(), Hide(), and OSDSet().
bool OSDSet::m_hasdisplayed [protected] |
int OSDSet::m_timeleft [protected] |
Definition at line 123 of file osdtypes.h.
Referenced by Display(), DisplayFor(), Draw(), GetTimeLeft(), Hide(), IsFading(), and OSDSet().
bool OSDSet::m_displaying [protected] |
Definition at line 124 of file osdtypes.h.
Referenced by Display(), DisplayFor(), Displaying(), Draw(), Hide(), and OSDSet().
int OSDSet::m_fadetime [protected] |
Definition at line 125 of file osdtypes.h.
Referenced by Display(), DisplayFor(), Draw(), GetFadeTime(), Hide(), IsFading(), OSDSet(), and SetFadeTime().
int OSDSet::m_maxfade [protected] |
int OSDSet::m_priority [protected] |
Definition at line 128 of file osdtypes.h.
Referenced by GetPriority(), OSDSet(), and SetPriority().
int OSDSet::m_xmove [protected] |
int OSDSet::m_ymove [protected] |
int OSDSet::m_xoff [protected] |
Definition at line 133 of file osdtypes.h.
Referenced by Display(), DisplayFor(), Draw(), and OSDSet().
int OSDSet::m_yoff [protected] |
Definition at line 134 of file osdtypes.h.
Referenced by Display(), DisplayFor(), Draw(), and OSDSet().
int OSDSet::m_xoffsetbase [protected] |
int OSDSet::m_yoffsetbase [protected] |
bool OSDSet::m_allowfade [protected] |
Definition at line 139 of file osdtypes.h.
Referenced by GetAllowFade(), OSDSet(), and SetAllowFade().
QMap<QString, OSDType *> OSDSet::typeList [protected] |
vector<OSDType *>* OSDSet::allTypes [protected] |
Definition at line 142 of file osdtypes.h.
Referenced by AddType(), Clear(), ClearAllText(), Draw(), GetSelected(), GetText(), HandleHotKey(), OSDSet(), Reinit(), SetSelected(), SetText(), and ~OSDSet().
bool OSDSet::m_wantsupdates [protected] |
bool OSDSet::m_needsupdate [protected] |
Definition at line 145 of file osdtypes.h.
Referenced by Draw(), HandleKey(), NeedsUpdate(), OSDSet(), SetSelected(), and SetText().
int OSDSet::m_lastupdate [protected] |
int OSDSet::currentOSDFunctionalType [protected] |
Definition at line 148 of file osdtypes.h.
Referenced by Display(), DisplayFor(), Draw(), Hide(), and OSDSet().
bool OSDSet::m_draweveryframe [protected] |
QRegExp OSDSet::m_showwith [protected] |
Definition at line 152 of file osdtypes.h.
Referenced by CanShowWith(), OSDSet(), and SetShowWith().
1.5.5