gui/components: use COL_BACKGROUND_PLUS_0 instead of COL_BACKGROUND

Origin commit data
------------------
Branch: ni/coolstream
Commit: be29f644f0
Author: martii <m4rtii@gmx.de>
Date: 2014-06-09 (Mon, 09 Jun 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2014-06-09 09:32:48 +02:00
committed by [CST] Focus
parent 4a1f16e456
commit 3cca8b1d3c
3 changed files with 5 additions and 5 deletions

View File

@@ -203,8 +203,8 @@ class CComponents : public COSDFader
virtual void hide();
///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 COL_BACKGROUND (empty background)
virtual void kill(const fb_pixel_t& bg_color = COL_BACKGROUND, const int& corner_radius = -1);
///from CFrameBuffer but with possiblity to define color, default color is COL_BACKGROUND_PLUS_0 (empty background)
virtual void kill(const fb_pixel_t& bg_color = COL_BACKGROUND_PLUS_0, const int& corner_radius = -1);
///returns paint mode, true=item was painted
virtual bool isPainted(){return is_painted;}
@@ -271,7 +271,7 @@ class CComponentsItem : public CComponents
///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)
///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 = COL_BACKGROUND, bool ignore_parent = false);
virtual void kill(const fb_pixel_t& bg_color = COL_BACKGROUND_PLUS_0, bool ignore_parent = false);
///get the current item type, see attribute cc_item_type above
virtual int getItemType();