mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 10:21:10 +02:00
CComponents: add property to allow/disallow paint of items
This causes initialization of all properties, but affects the behavior of item paint. This can be understood as a counterpart to isPainted().
This commit is contained in:
@@ -141,6 +141,7 @@ void CProgressBar::paintShapes(int &shx, int ­, int &shw, int &shh, fb_pixel_
|
||||
{
|
||||
CComponentsShapeSquare shape(shx, shy, shw, shh, false);
|
||||
shape.setColorBody(col);
|
||||
shape.allowPaint(cc_allow_paint);
|
||||
shape.paint(false);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user