mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
components: use const bool& parameter in paint methodes
This commit is contained in:
@@ -57,7 +57,7 @@ class CComponentsShapeCircle : public CComponentsItem
|
||||
inline int getDiam() const {return d;};
|
||||
|
||||
///paint item
|
||||
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
|
||||
void paint(const bool &do_save_bg = CC_SAVE_SCREEN_YES);
|
||||
};
|
||||
|
||||
class CComponentsShapeSquare : public CComponentsItem
|
||||
@@ -70,7 +70,7 @@ class CComponentsShapeSquare : public CComponentsItem
|
||||
fb_pixel_t color_body = COL_MENUCONTENT_PLUS_0,
|
||||
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0);
|
||||
|
||||
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
|
||||
void paint(const bool &do_save_bg = CC_SAVE_SCREEN_YES);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user