mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
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.
Origin commit data
------------------
Branch: ni/coolstream
Commit: ef4467b6da
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-16 (Fri, 16 Jun 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -396,7 +396,7 @@ class CCDraw : public COSDFader, public CComponentsSignals
|
||||
* Shadow paint must be reworked, because dimensions of shadow containes not the real defined size. Parts of item are killed too.
|
||||
*
|
||||
*/
|
||||
virtual void kill(const fb_pixel_t& bg_color = COL_BACKGROUND_PLUS_0, const int& corner_radius = -1, const int& fblayer_type = CC_FBDATA_TYPES);
|
||||
virtual void kill(const fb_pixel_t& bg_color = COL_BACKGROUND_PLUS_0, const int& corner_radius = -1, const int& fblayer_type = ~CC_FBDATA_TYPES);
|
||||
|
||||
/**Erase shadow around rendered item.
|
||||
* This is similar with the kill() member, but shadow will be handled only.
|
||||
|
Reference in New Issue
Block a user