paint background using eWidget::event function, to support transparency
[enigma2.git] / lib / gui / epositiongauge.cpp
index 2a0bf51..012fd87 100644 (file)
@@ -86,7 +86,9 @@ int ePositionGauge::event(int event, void *data, void *data2)
                eSize s(size());
 
                getStyle(style);
-               style->paintBackground(painter, ePoint(0,0), s);
+               
+               eWidget::event(evtPaint, data, data2);
+
                style->setStyle(painter, eWindowStyle::styleLabel); // TODO - own style
 //             painter.fill(eRect(0, 10, s.width(), s.height()-20));