11#define LOC QString("BDScreen: ")
37 if (scaled.size() != rect.size())
38 img = img.scaled(scaled.width(), scaled.height(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
47 uiimage->SetImage(image);
void DisplayBDOverlay(MythBDOverlay *Overlay)
MythBDOverlayScreen(MythPlayerUI *Player, MythPainter *Painter, const QString &Name)
void Assign(const QImage &img)
int DecrRef(void) override
Decrements reference count and deletes on 0.
MythImage * GetFormatImage()
Returns a blank reference counted image in the format required for the Draw functions for this painte...
MythVideoOutput * GetVideoOutput(void)
Wrapper around QRect allowing us to handle percentage and other relative values for areas in mythui.
Screen in which all other widgets are contained and rendered.
Image widget, displays a single image or multiple images in sequence.
virtual void SetArea(const MythRect &rect)
void DeleteAllChildren(void)
Delete all child widgets.
QRect GetImageRect(QRect Rect, QRect *DisplayRect=nullptr)
translates caption/dvd button rectangle into 'screen' space