mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
CComponents/CComponentsItem: use correct background color
color "0" was wrong
This commit is contained in:
@@ -203,8 +203,8 @@ class CComponents
|
|||||||
virtual void hide();
|
virtual void hide();
|
||||||
|
|
||||||
///erase or paint over rendered objects without restore of background, it's similar to paintBackgroundBoxRel() known
|
///erase or paint over rendered objects without restore of background, it's similar to paintBackgroundBoxRel() known
|
||||||
///from CFrameBuffer but with possiblity to define color, default color is 0 (empty background)
|
///from CFrameBuffer but with possiblity to define color, default color is COL_BACKGROUND (empty background)
|
||||||
virtual void kill(const fb_pixel_t& bg_color = 0);
|
virtual void kill(const fb_pixel_t& bg_color = COL_BACKGROUND);
|
||||||
|
|
||||||
///returns paint mode, true=item was painted
|
///returns paint mode, true=item was painted
|
||||||
virtual bool isPainted(){return is_painted;}
|
virtual bool isPainted(){return is_painted;}
|
||||||
@@ -268,7 +268,7 @@ class CComponentsItem : public CComponents
|
|||||||
///erase or paint over rendered objects without restore of background, it's similar to paintBackgroundBoxRel() known
|
///erase or paint over rendered objects without restore of background, it's similar to paintBackgroundBoxRel() known
|
||||||
///from CFrameBuffer but with possiblity to define color, default color is 0 (empty background)
|
///from CFrameBuffer but with possiblity to define color, default color is 0 (empty background)
|
||||||
///NOTE: Items with parent binding use the parent background color as default! Set parameter 'ignore_parent=true' to ignore parent background color!
|
///NOTE: Items with parent binding use the parent background color as default! Set parameter 'ignore_parent=true' to ignore parent background color!
|
||||||
virtual void kill(const fb_pixel_t& bg_color = 0, bool ignore_parent = false);
|
virtual void kill(const fb_pixel_t& bg_color = COL_BACKGROUND, bool ignore_parent = false);
|
||||||
|
|
||||||
///get the current item type, see attribute cc_item_type above
|
///get the current item type, see attribute cc_item_type above
|
||||||
virtual int getItemType();
|
virtual int getItemType();
|
||||||
|
Reference in New Issue
Block a user