components: use const bool& parameter in paint methodes

This commit is contained in:
2019-10-27 16:24:47 +01:00
parent 7783b755d0
commit d86dcd36a7
43 changed files with 61 additions and 60 deletions

View File

@@ -179,7 +179,7 @@ class CComponentsPicture : public CComponentsItem
void SetTransparent(int t){ image_transparent = t; }
///paint item
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
void paint(const bool &do_save_bg = CC_SAVE_SCREEN_YES);
///hide item, see also CComponents::hide();
void hide();