#include <osdtypes.h>

Definition at line 299 of file osdtypes.h.
Public Member Functions | |
| OSDTypeImage (const QString &name, const QString &filename, QPoint displaypos, float wmult, float hmult, int scalew=-1, int scaleh=-1) | |
| OSDTypeImage (const OSDTypeImage &other) | |
| OSDTypeImage (const QString &name) | |
| OSDTypeImage (void) | |
| virtual | ~OSDTypeImage () |
| void | SetName (const QString &name) |
| void | Reinit (float wmult, float hmult) |
| void | Load (const QString &filename, float wmult, float hmult, int scalew=-1, int scaleh=-1, bool usecache=true) |
| void | Load (const QImage &img) |
| void | SetStaticSize (int scalew, int scaleh) |
| void | SetPosition (QPoint pos, float wmult, float hmult) |
| QPoint | DisplayPos () const |
| QRect | ImageSize () const |
| int | width () const |
| int | height () const |
| virtual void | Draw (OSDSurface *surface, int fade, int maxfade, int xoff, int yoff) |
| void | SetDontRoundPosition (bool round) |
Protected Attributes | |
| QRect | m_imagesize |
| QPoint | m_displaypos |
| QPoint | m_unbiasedpos |
| QString | m_filename |
| bool | m_isvalid |
| unsigned char * | m_yuv |
| unsigned char * | m_ybuffer |
| unsigned char * | m_ubuffer |
| unsigned char * | m_vbuffer |
| unsigned char * | m_alpha |
| int | m_scalew |
| int | m_scaleh |
| int | m_drawwidth |
| bool | m_onlyusefirst |
| bool | m_dontround |
| OSDImageCacheValue * | m_cacheitem |
Static Protected Attributes | |
| static OSDImageCache | c_cache |
| Shared OSD image cache. | |
| OSDTypeImage::OSDTypeImage | ( | const QString & | name, | |
| const QString & | filename, | |||
| QPoint | displaypos, | |||
| float | wmult, | |||
| float | hmult, | |||
| int | scalew = -1, |
|||
| int | scaleh = -1 | |||
| ) |
Definition at line 1321 of file osdtypes.cpp.
| OSDTypeImage::OSDTypeImage | ( | const OSDTypeImage & | other | ) |
Definition at line 1344 of file osdtypes.cpp.
| OSDTypeImage::OSDTypeImage | ( | const QString & | name | ) |
Definition at line 1379 of file osdtypes.cpp.
| OSDTypeImage::OSDTypeImage | ( | void | ) |
Definition at line 1399 of file osdtypes.cpp.
| OSDTypeImage::~OSDTypeImage | ( | ) | [virtual] |
Definition at line 1420 of file osdtypes.cpp.
| void OSDTypeImage::SetName | ( | const QString & | name | ) |
Definition at line 1440 of file osdtypes.cpp.
| void OSDTypeImage::Reinit | ( | float | wmult, | |
| float | hmult | |||
| ) | [virtual] |
Implements OSDType.
Reimplemented in OSDTypePosSlider, OSDTypeFillSlider, OSDTypeEditSlider, and OSDTypePositionImage.
Definition at line 1453 of file osdtypes.cpp.
Referenced by OSDTypePositionImage::Reinit(), OSDTypeFillSlider::Reinit(), OSDTypePosSlider::Reinit(), and OSD::ShowEditArrow().
| void OSDTypeImage::Load | ( | const QString & | filename, | |
| float | wmult, | |||
| float | hmult, | |||
| int | scalew = -1, |
|||
| int | scaleh = -1, |
|||
| bool | usecache = true | |||
| ) |
Definition at line 1462 of file osdtypes.cpp.
Referenced by NuppelVideoPlayer::DisplayAVSubtitles(), NuppelVideoPlayer::DisplayDVDButton(), OSDListBtnType::InitItem(), OSDListBtnType::LoadPixmap(), OSDTypeEditSlider::OSDTypeEditSlider(), OSDTypeImage(), OSD::parsePositionImage(), OSDTypeEditSlider::Reinit(), Reinit(), OSD::SetInfoText(), OSD::SetText(), and MHIContext::UpdateOSD().
| void OSDTypeImage::Load | ( | const QImage & | img | ) |
Definition at line 1577 of file osdtypes.cpp.
| void OSDTypeImage::SetStaticSize | ( | int | scalew, | |
| int | scaleh | |||
| ) | [inline] |
| void OSDTypeImage::SetPosition | ( | QPoint | pos, | |
| float | wmult, | |||
| float | hmult | |||
| ) |
Definition at line 1445 of file osdtypes.cpp.
Referenced by NuppelVideoPlayer::DisplayAVSubtitles(), NuppelVideoPlayer::DisplayDVDButton(), OSDTypePositionImage::Draw(), OSDTypeImage(), OSD::ShowEditArrow(), and MHIContext::UpdateOSD().
| QPoint OSDTypeImage::DisplayPos | ( | ) | const [inline] |
Definition at line 321 of file osdtypes.h.
| QRect OSDTypeImage::ImageSize | ( | ) | const [inline] |
Definition at line 322 of file osdtypes.h.
Referenced by OSDListBtnTypeItem::OSDListBtnTypeItem(), and OSD::ShowEditArrow().
| int OSDTypeImage::width | ( | void | ) | const [inline] |
Definition at line 323 of file osdtypes.h.
Referenced by OSDTypeEditSlider::Draw(), OSDListBtnType::Draw(), and OSDTypePosSlider::SetPosition().
| int OSDTypeImage::height | ( | void | ) | const [inline] |
Definition at line 324 of file osdtypes.h.
Referenced by OSDTypeEditSlider::Draw(), and OSDListBtnType::Init().
| void OSDTypeImage::Draw | ( | OSDSurface * | surface, | |
| int | fade, | |||
| int | maxfade, | |||
| int | xoff, | |||
| int | yoff | |||
| ) | [virtual] |
Implements OSDType.
Reimplemented in OSDTypeFillSlider, OSDTypeEditSlider, and OSDTypePositionImage.
Definition at line 1618 of file osdtypes.cpp.
Referenced by OSDTypePositionImage::Draw(), OSDTypeFillSlider::Draw(), OSDListBtnType::Draw(), and OSDListBtnTypeItem::paint().
| void OSDTypeImage::SetDontRoundPosition | ( | bool | round | ) | [inline] |
QRect OSDTypeImage::m_imagesize [protected] |
Definition at line 332 of file osdtypes.h.
Referenced by OSDTypeEditSlider::Draw(), Draw(), height(), OSDTypeEditSlider::ImageSize(), OSDTypeFillSlider::ImageSize(), OSDTypePosSlider::ImageSize(), ImageSize(), Load(), OSDTypeEditSlider::OSDTypeEditSlider(), OSDTypeImage(), OSDTypeEditSlider::Reinit(), OSDTypePosSlider::SetPosition(), and width().
QPoint OSDTypeImage::m_displaypos [protected] |
Definition at line 333 of file osdtypes.h.
Referenced by DisplayPos(), OSDTypeEditSlider::Draw(), Draw(), OSDTypeEditSlider::OSDTypeEditSlider(), OSDTypeImage(), OSDTypeEditSlider::Reinit(), Reinit(), OSDTypePosSlider::SetPosition(), and SetPosition().
QPoint OSDTypeImage::m_unbiasedpos [protected] |
Definition at line 334 of file osdtypes.h.
Referenced by OSDTypeImage(), Reinit(), and SetPosition().
QString OSDTypeImage::m_filename [protected] |
bool OSDTypeImage::m_isvalid [protected] |
Definition at line 338 of file osdtypes.h.
Referenced by OSDTypeEditSlider::Draw(), OSDTypeFillSlider::Draw(), Draw(), Load(), OSDTypeEditSlider::OSDTypeEditSlider(), OSDTypeImage(), and OSDTypeEditSlider::Reinit().
unsigned char* OSDTypeImage::m_yuv [protected] |
Definition at line 340 of file osdtypes.h.
Referenced by Load(), OSDTypeEditSlider::OSDTypeEditSlider(), OSDTypeImage(), OSDTypeEditSlider::Reinit(), and ~OSDTypeImage().
unsigned char* OSDTypeImage::m_ybuffer [protected] |
Definition at line 341 of file osdtypes.h.
Referenced by OSDTypeEditSlider::Draw(), Draw(), Load(), OSDTypeEditSlider::OSDTypeEditSlider(), OSDTypeImage(), and OSDTypeEditSlider::Reinit().
unsigned char* OSDTypeImage::m_ubuffer [protected] |
Definition at line 342 of file osdtypes.h.
Referenced by OSDTypeEditSlider::Draw(), Draw(), Load(), OSDTypeEditSlider::OSDTypeEditSlider(), OSDTypeImage(), and OSDTypeEditSlider::Reinit().
unsigned char* OSDTypeImage::m_vbuffer [protected] |
Definition at line 343 of file osdtypes.h.
Referenced by OSDTypeEditSlider::Draw(), Draw(), Load(), OSDTypeEditSlider::OSDTypeEditSlider(), OSDTypeImage(), and OSDTypeEditSlider::Reinit().
unsigned char* OSDTypeImage::m_alpha [protected] |
Definition at line 345 of file osdtypes.h.
Referenced by OSDTypeEditSlider::Draw(), Draw(), Load(), OSDTypeEditSlider::OSDTypeEditSlider(), OSDTypeImage(), OSDTypeEditSlider::Reinit(), and ~OSDTypeImage().
int OSDTypeImage::m_scalew [protected] |
Definition at line 347 of file osdtypes.h.
Referenced by Load(), OSDTypeEditSlider::OSDTypeEditSlider(), OSDTypeImage(), OSDTypeEditSlider::Reinit(), Reinit(), and SetStaticSize().
int OSDTypeImage::m_scaleh [protected] |
Definition at line 347 of file osdtypes.h.
Referenced by Load(), OSDTypeEditSlider::OSDTypeEditSlider(), OSDTypeImage(), OSDTypeEditSlider::Reinit(), Reinit(), and SetStaticSize().
int OSDTypeImage::m_drawwidth [protected] |
Definition at line 349 of file osdtypes.h.
Referenced by OSDTypeEditSlider::ClearAll(), OSDTypeEditSlider::Draw(), Draw(), OSDTypeEditSlider::OSDTypeEditSlider(), OSDTypeFillSlider::OSDTypeFillSlider(), OSDTypeImage(), OSDTypeEditSlider::Reinit(), OSDTypeFillSlider::SetPosition(), and OSDTypeEditSlider::SetRange().
bool OSDTypeImage::m_onlyusefirst [protected] |
Definition at line 350 of file osdtypes.h.
Referenced by Draw(), OSDTypeFillSlider::OSDTypeFillSlider(), and OSDTypeImage().
bool OSDTypeImage::m_dontround [protected] |
Definition at line 351 of file osdtypes.h.
Referenced by Draw(), OSDTypeImage(), and SetDontRoundPosition().
OSDImageCache OSDTypeImage::c_cache [static, protected] |
OSDImageCacheValue* OSDTypeImage::m_cacheitem [protected] |
Definition at line 354 of file osdtypes.h.
Referenced by Load(), OSDTypeEditSlider::OSDTypeEditSlider(), OSDTypeImage(), and ~OSDTypeImage().
1.5.5