X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fgui%2Fewindow.cpp;h=83e65ec3d21a0e05aad092c92cb1e45f3924ae6b;hp=112b82d74bb7cf84710cb5157d5ab836b6f25152;hb=849b33656dc710cfa5f644a55680fd396ab1d8d7;hpb=6c2d3fc303542b7f77f4350974acf781a1b91c30 diff --git a/lib/gui/ewindow.cpp b/lib/gui/ewindow.cpp index 112b82d..83e65ec 100644 --- a/lib/gui/ewindow.cpp +++ b/lib/gui/ewindow.cpp @@ -16,7 +16,7 @@ eWindow::eWindow(eWidgetDesktop *desktop, int z): eWidget(0) ePtr style; if (mgr) - mgr->getStyle(style); + mgr->getStyle(desktop->getStyleID(), style); /* when there is either no style manager or no style, revert to simple style. */ if (!style) @@ -52,6 +52,13 @@ std::string eWindow::getTitle() const return m_title; } +void eWindow::setBackgroundColor(const gRGB &col) +{ + /* set background color for child, too */ + eWidget::setBackgroundColor(col); + m_child->setBackgroundColor(col); +} + void eWindow::setFlag(int flags) { m_flags |= flags;