Go to the documentation of this file.
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);
MythVideoOutput * GetVideoOutput(void)
Image widget, displays a single image or multiple images in sequence.
MythImage * GetFormatImage()
Returns a blank reference counted image in the format required for the Draw functions for this painte...
void DisplayBDOverlay(MythBDOverlay *Overlay)
virtual void SetArea(const MythRect &rect)
Screen in which all other widgets are contained and rendered.
Wrapper around QRect allowing us to handle percentage and other relative values for areas in mythui.
void DeleteAllChildren(void)
Delete all child widgets.
MythBDOverlayScreen(MythPlayerUI *Player, MythPainter *Painter, const QString &Name)
QRect GetImageRect(QRect Rect, QRect *DisplayRect=nullptr)
translates caption/dvd button rectangle into 'screen' space
int DecrRef(void) override
Decrements reference count and deletes on 0.
void Assign(const QImage &img)