#include <osdtypes.h>

Definition at line 194 of file osdtypes.h.
Public Member Functions | |
| OSDTypeText (const QString &name, TTFFont *font, const QString &text, QRect displayrect, float wmult, float hmult) | |
| OSDTypeText (const OSDTypeText &text) | |
| void | Reinit (float wmult, float hmult) |
| void | SetAltFont (TTFFont *font) |
| void | SetUseAlt (bool usealt) |
| void | SetText (const QString &text) |
| QString | GetText (void) const |
| void | SetDefaultText (const QString &text) |
| QString | GetDefaultText (void) const |
| void | SetMultiLine (bool multi) |
| bool | GetMultiLine (void) const |
| void | SetCentered (bool docenter) |
| bool | GetCentered (void) const |
| void | SetRightJustified (bool right) |
| bool | GetRightJustified (void) const |
| void | SetScrolling (int x, int y) |
| void | SetLineSpacing (float linespacing) |
| float | GetLineSpacing (void) const |
| void | Draw (OSDSurface *surface, int fade, int maxfade, int xoff, int yoff) |
| bool | MoveCursor (int dir) |
| bool | Delete (int dir) |
| void | InsertCharacter (QChar) |
| bool | IsSelected (void) const |
| bool | IsButton (void) const |
| int | GetEntryNum (void) const |
| bool | IsEntry (void) const |
| QRect | DisplayArea (void) const |
| void | SetSelected (bool is_selected) |
| void | SetButton (bool is_button) |
| void | SetEntryNum (int entrynum) |
| QString | ConvertFromRtoL (const QString &text) const |
Static Public Member Functions | |
| static QString | BasicConvertFromRtoL (const QString &text) |
Protected Member Functions | |
| ~OSDTypeText () | |
| void | DrawString (OSDSurface *surface, QRect rect, const QString &text, int fade, int maxfade, int xoff, int yoff, bool double_size=false) |
| void | DrawHiLiteString (OSDSurface *surface, QRect xrect, const QString &text, int fade, int maxfade, int xoff, int yoff, bool double_size=false) |
Protected Attributes | |
| QRect | m_displaysize |
| QRect | m_screensize |
| QRect | m_unbiasedsize |
| QString | m_message |
| QString | m_default_msg |
| TTFFont * | m_font |
| TTFFont * | m_altfont |
| bool | m_centered |
| bool | m_right |
| bool | m_multiline |
| bool | m_usingalt |
| bool | m_selected |
| bool | m_button |
| int | m_entrynum |
| int | m_cursorpos |
| bool | m_scroller |
| int | m_scrollx |
| int | m_scrolly |
| int | m_scrollstartx |
| int | m_scrollendx |
| int | m_scrollposx |
| int | m_scrollstarty |
| int | m_scrollendy |
| int | m_scrollposy |
| bool | m_scrollinit |
| float | m_linespacing |
| QString | m_draw_info_str |
| uint | m_draw_info_len |
| vector< DrawInfo > | m_draw_info |
| QMutex | fribidi_lock |
| QTextCodec * | codeci |
| OSDTypeText::OSDTypeText | ( | const QString & | name, | |
| TTFFont * | font, | |||
| const QString & | text, | |||
| QRect | displayrect, | |||
| float | wmult, | |||
| float | hmult | |||
| ) |
Definition at line 677 of file osdtypes.cpp.
| OSDTypeText::OSDTypeText | ( | const OSDTypeText & | text | ) |
Definition at line 716 of file osdtypes.cpp.
| OSDTypeText::~OSDTypeText | ( | ) | [protected] |
Definition at line 784 of file osdtypes.cpp.
| void OSDTypeText::Reinit | ( | float | wmult, | |
| float | hmult | |||
| ) | [virtual] |
| void OSDTypeText::SetAltFont | ( | TTFFont * | font | ) |
| void OSDTypeText::SetUseAlt | ( | bool | usealt | ) | [inline] |
Definition at line 204 of file osdtypes.h.
Referenced by OSD::HighlightDialogSelection(), and OSD::NewDialogBox().
| void OSDTypeText::SetText | ( | const QString & | text | ) |
Definition at line 881 of file osdtypes.cpp.
Referenced by OSD::Display(), OSD::NewDialogBox(), OSD::parseTextArea(), OSD::SetChannumText(), OSD::SetInfoText(), OSD::SetSettingsText(), OSDSet::SetText(), OSD::SetTextSubtitles(), OSD::ShowStatus(), OSD::StartNotify(), OSD::UpdateEditText(), and OSD::UpdateStatus().
| QString OSDTypeText::GetText | ( | void | ) | const |
Definition at line 889 of file osdtypes.cpp.
Referenced by OSD::Display(), OSDSet::GetText(), OSDSet::HandleHotKey(), and OSD::UpdateStatus().
| void OSDTypeText::SetDefaultText | ( | const QString & | text | ) |
| QString OSDTypeText::GetDefaultText | ( | void | ) | const |
| void OSDTypeText::SetMultiLine | ( | bool | multi | ) |
Definition at line 909 of file osdtypes.cpp.
Referenced by OSD::parseTextArea(), and OSD::SetTextSubtitles().
| bool OSDTypeText::GetMultiLine | ( | void | ) | const [inline] |
Definition at line 213 of file osdtypes.h.
| void OSDTypeText::SetCentered | ( | bool | docenter | ) |
Definition at line 915 of file osdtypes.cpp.
Referenced by OSD::parseTextArea(), and OSD::SetTextSubtitles().
| bool OSDTypeText::GetCentered | ( | void | ) | const [inline] |
Definition at line 216 of file osdtypes.h.
| void OSDTypeText::SetRightJustified | ( | bool | right | ) |
| bool OSDTypeText::GetRightJustified | ( | void | ) | const [inline] |
Definition at line 219 of file osdtypes.h.
| void OSDTypeText::SetScrolling | ( | int | x, | |
| int | y | |||
| ) |
| void OSDTypeText::SetLineSpacing | ( | float | linespacing | ) |
Definition at line 935 of file osdtypes.cpp.
Referenced by OSD::parseTextArea(), and OSD::SetTextSubtitles().
| float OSDTypeText::GetLineSpacing | ( | void | ) | const [inline] |
Definition at line 224 of file osdtypes.h.
| void OSDTypeText::Draw | ( | OSDSurface * | surface, | |
| int | fade, | |||
| int | maxfade, | |||
| int | xoff, | |||
| int | yoff | |||
| ) | [virtual] |
| bool OSDTypeText::MoveCursor | ( | int | dir | ) |
Definition at line 1272 of file osdtypes.cpp.
Referenced by OSDSet::HandleKey(), and InsertCharacter().
| bool OSDTypeText::Delete | ( | int | dir | ) |
| void OSDTypeText::InsertCharacter | ( | QChar | ch | ) |
| bool OSDTypeText::IsSelected | ( | void | ) | const [inline] |
Definition at line 231 of file osdtypes.h.
Referenced by DrawHiLiteString(), DrawString(), OSDSet::GetSelected(), and OSDSet::SetSelected().
| bool OSDTypeText::IsButton | ( | void | ) | const [inline] |
Definition at line 232 of file osdtypes.h.
Referenced by Delete(), DrawHiLiteString(), DrawString(), OSDSet::HandleHotKey(), OSDSet::HandleKey(), InsertCharacter(), and MoveCursor().
| int OSDTypeText::GetEntryNum | ( | void | ) | const [inline] |
Definition at line 233 of file osdtypes.h.
Referenced by OSDSet::HandleKey(), and OSDSet::SetSelected().
| bool OSDTypeText::IsEntry | ( | void | ) | const [inline] |
Definition at line 234 of file osdtypes.h.
Referenced by Delete(), OSDSet::GetSelected(), OSDSet::GetText(), InsertCharacter(), MoveCursor(), and OSDSet::SetSelected().
| QRect OSDTypeText::DisplayArea | ( | void | ) | const [inline] |
Definition at line 235 of file osdtypes.h.
| void OSDTypeText::SetSelected | ( | bool | is_selected | ) | [inline] |
Definition at line 237 of file osdtypes.h.
Referenced by OSD::parseTextArea(), OSDSet::SetSelected(), and OSD::SetTextSubtitles().
| void OSDTypeText::SetButton | ( | bool | is_button | ) | [inline] |
| void OSDTypeText::SetEntryNum | ( | int | entrynum | ) | [inline] |
| QString OSDTypeText::ConvertFromRtoL | ( | const QString & | text | ) | const |
| QString OSDTypeText::BasicConvertFromRtoL | ( | const QString & | text | ) | [static] |
| void OSDTypeText::DrawString | ( | OSDSurface * | surface, | |
| QRect | rect, | |||
| const QString & | text, | |||
| int | fade, | |||
| int | maxfade, | |||
| int | xoff, | |||
| int | yoff, | |||
| bool | double_size = false | |||
| ) | [protected] |
| void OSDTypeText::DrawHiLiteString | ( | OSDSurface * | surface, | |
| QRect | xrect, | |||
| const QString & | text, | |||
| int | fade, | |||
| int | maxfade, | |||
| int | xoff, | |||
| int | yoff, | |||
| bool | double_size = false | |||
| ) | [protected] |
QRect OSDTypeText::m_displaysize [protected] |
Definition at line 255 of file osdtypes.h.
Referenced by DisplayArea(), Draw(), OSDTypeText(), and Reinit().
QRect OSDTypeText::m_screensize [protected] |
QRect OSDTypeText::m_unbiasedsize [protected] |
QString OSDTypeText::m_message [protected] |
Definition at line 258 of file osdtypes.h.
Referenced by Delete(), Draw(), GetText(), InsertCharacter(), MoveCursor(), OSDTypeText(), SetDefaultText(), and SetText().
QString OSDTypeText::m_default_msg [protected] |
Definition at line 259 of file osdtypes.h.
Referenced by GetDefaultText(), OSDTypeText(), and SetDefaultText().
TTFFont* OSDTypeText::m_font [protected] |
Definition at line 261 of file osdtypes.h.
Referenced by Draw(), DrawHiLiteString(), DrawString(), and OSDTypeText().
TTFFont* OSDTypeText::m_altfont [protected] |
Definition at line 262 of file osdtypes.h.
Referenced by DrawHiLiteString(), DrawString(), OSDTypeText(), and SetAltFont().
bool OSDTypeText::m_centered [protected] |
Definition at line 264 of file osdtypes.h.
Referenced by DrawHiLiteString(), DrawString(), GetCentered(), OSDTypeText(), and SetCentered().
bool OSDTypeText::m_right [protected] |
Definition at line 265 of file osdtypes.h.
Referenced by DrawHiLiteString(), DrawString(), GetRightJustified(), OSDTypeText(), and SetRightJustified().
bool OSDTypeText::m_multiline [protected] |
Definition at line 267 of file osdtypes.h.
Referenced by Draw(), GetMultiLine(), OSDTypeText(), and SetMultiLine().
bool OSDTypeText::m_usingalt [protected] |
Definition at line 268 of file osdtypes.h.
Referenced by DrawString(), OSDTypeText(), and SetUseAlt().
bool OSDTypeText::m_selected [protected] |
Definition at line 270 of file osdtypes.h.
Referenced by DrawHiLiteString(), DrawString(), IsSelected(), OSDTypeText(), and SetSelected().
bool OSDTypeText::m_button [protected] |
Definition at line 271 of file osdtypes.h.
Referenced by IsButton(), OSDTypeText(), and SetButton().
int OSDTypeText::m_entrynum [protected] |
Definition at line 272 of file osdtypes.h.
Referenced by GetEntryNum(), IsEntry(), OSDTypeText(), and SetEntryNum().
int OSDTypeText::m_cursorpos [protected] |
Definition at line 273 of file osdtypes.h.
Referenced by Delete(), DrawHiLiteString(), DrawString(), InsertCharacter(), MoveCursor(), OSDTypeText(), and SetText().
bool OSDTypeText::m_scroller [protected] |
int OSDTypeText::m_scrollx [protected] |
int OSDTypeText::m_scrolly [protected] |
int OSDTypeText::m_scrollstartx [protected] |
int OSDTypeText::m_scrollendx [protected] |
int OSDTypeText::m_scrollposx [protected] |
int OSDTypeText::m_scrollstarty [protected] |
int OSDTypeText::m_scrollendy [protected] |
int OSDTypeText::m_scrollposy [protected] |
bool OSDTypeText::m_scrollinit [protected] |
Definition at line 287 of file osdtypes.h.
Referenced by Draw(), OSDTypeText(), SetDefaultText(), and SetText().
float OSDTypeText::m_linespacing [protected] |
Definition at line 289 of file osdtypes.h.
Referenced by Draw(), GetLineSpacing(), OSDTypeText(), and SetLineSpacing().
QString OSDTypeText::m_draw_info_str [mutable, protected] |
uint OSDTypeText::m_draw_info_len [mutable, protected] |
vector<DrawInfo> OSDTypeText::m_draw_info [mutable, protected] |
QMutex OSDTypeText::fribidi_lock [mutable, protected] |
QTextCodec* OSDTypeText::codeci [mutable, protected] |
1.5.5