9 #define LOC QString("BDScreen: ") 19 LOG(VB_PLAYBACK, LOG_DEBUG,
LOC +
"dtor");
40 if (scaled.size() != rect.size())
42 img = img.scaled(scaled.width(), scaled.height(),
43 Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
57 uiimage->SetImage(image);
QRect GetImageRect(const QRect &Rect, QRect *DisplayRect=nullptr)
translates caption/dvd button rectangle into 'screen' space
virtual MythPainter * GetOSDPainter(void)
int DecrRef(void) override
Decrements reference count and deletes on 0.
Image widget, displays a single image or multiple images in sequence.
void DeleteAllChildren(void)
Delete all child widgets.
BDOverlayScreen(MythPlayer *player, const QString &name)
MythVideoOutput * GetVideoOutput(void)
~BDOverlayScreen() override
Wrapper around QRect allowing us to handle percentage and other relative values for areas in mythui.
virtual void SetArea(const MythRect &rect)
#define LOG(_MASK_, _LEVEL_, _STRING_)
void DisplayBDOverlay(BDOverlay *overlay)
Screen in which all other widgets are contained and rendered.
void Assign(const QImage &img)
MythImage * GetFormatImage()
Returns a blank reference counted image in the format required for the Draw functions for this painte...