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().


Origin commit data
------------------
Commit: 8ae491a994
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-08 (Fri, 08 Nov 2013)
This commit is contained in:
2013-11-08 21:16:42 +01:00
parent 5acfff5968
commit 1f85322357
9 changed files with 43 additions and 15 deletions

View File

@@ -92,7 +92,7 @@ class CProgressBar : public CComponentsItem
///paint version of progressbar with color and advanced display modifications
void paintAdvanced();
///painting of activ/passive bars via shape object
static void paintShapes(int &shx, int &shy, int &shw, int &shh, fb_pixel_t &col);
void paintShapes(int &shx, int &shy, int &shw, int &shh, fb_pixel_t &col);
void initDimensions();