43 visible = visible.united(img->
GetArea());
46 if (visible.isEmpty())
49 QRect bounding = visible.boundingRect();
50 bounding = bounding.translated(
m_safeArea.topLeft());
52 int left =
m_safeArea.left() - bounding.left();
void OptimiseDisplayedArea()
InteractiveScreen(MythPlayerUI *Player, MythPainter *Painter, const QString &Name)
void ResizeForInteractiveTV(const QRect &Rect)
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.
The base class on which all widgets and screens are based.
virtual void SetArea(const MythRect &rect)
virtual MythRect GetArea(void) const
If the object has a minimum area defined, return it, other wise return the default area.
QList< MythUIType * > m_childrenList
virtual void GetOSDBounds(QRect &Total, QRect &Visible, float &VisibleAspect, float &FontScaling, float ThemeAspect) const