CComponentsHeader: add missing paramters to kill methode

Origin commit data
------------------
Commit: ba9284fba7
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
This commit is contained in:
2017-01-24 22:56:18 +01:00
committed by Michael Liebmann
parent 1e761b3203
commit 93cfff7d2d
2 changed files with 12 additions and 1 deletions

View File

@@ -577,3 +577,14 @@ bool CComponentsHeader::enableColBodyGradient(const int& enable_mode, const fb_p
return CComponentsForm::enableColBodyGradient(enable_mode, sec_color, dir);
}
void CComponentsHeader::kill(const fb_pixel_t& bg_color, const int& corner_radius, const int& fblayer_type /*fbdata_type*/, bool disable_clock)
{
if (disable_clock)
disableClock();
int rad = corner_radius;
if (corner_radius == -1)
rad = corner_rad;
CComponentsForm::kill(bg_color, rad, fblayer_type);
}