CCDraw: precise function for kill handler

This should fix possible artefacts or holes in some rendered boxes.
Was especially striking at HD1 Hardware.
e.g. was observed while right/left switching on channel list at header
and without rounded corners and at certain footers.
This commit is contained in:
2017-06-16 11:42:21 +02:00
parent f46a174155
commit ef4467b6da
5 changed files with 33 additions and 29 deletions

View File

@@ -100,7 +100,7 @@ class CComponentsItem : public CComponents
* gui/color.h
* driver/framebuffer.h
*/
virtual void kill(const fb_pixel_t& bg_color = COL_BACKGROUND_PLUS_0, bool ignore_parent = false, const int& fblayer_type = CC_FBDATA_TYPES);
virtual void kill(const fb_pixel_t& bg_color = COL_BACKGROUND_PLUS_0, bool ignore_parent = false, const int& fblayer_type = ~CC_FBDATA_TYPES);
///get the current item type, see attribute cc_item_type above
virtual int getItemType();