mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
CComponents: init ccitem vars in initVarBasic()
Origin commit data
------------------
Commit: 4450984597
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-09 (Fri, 09 Nov 2012)
This commit is contained in:
@@ -73,9 +73,11 @@ void CComponents::initVarBasic()
|
|||||||
col_shadow = COL_MENUCONTENTDARK_PLUS_0;
|
col_shadow = COL_MENUCONTENTDARK_PLUS_0;
|
||||||
col_frame = COL_MENUCONTENT_PLUS_6;
|
col_frame = COL_MENUCONTENT_PLUS_6;
|
||||||
corner_type = CORNER_ALL;
|
corner_type = CORNER_ALL;
|
||||||
|
corner_rad = 0;
|
||||||
shadow = CC_SHADOW_OFF;
|
shadow = CC_SHADOW_OFF;
|
||||||
shadow_w = SHADOW_OFFSET;
|
shadow_w = SHADOW_OFFSET;
|
||||||
|
fr_thickness = 0;
|
||||||
|
|
||||||
firstPaint = true;
|
firstPaint = true;
|
||||||
is_painted = false;
|
is_painted = false;
|
||||||
frameBuffer = CFrameBuffer::getInstance();
|
frameBuffer = CFrameBuffer::getInstance();
|
||||||
@@ -181,10 +183,6 @@ void CComponentsItem::initVarItem()
|
|||||||
{
|
{
|
||||||
//CComponents
|
//CComponents
|
||||||
initVarBasic();
|
initVarBasic();
|
||||||
|
|
||||||
//CComponentsItem
|
|
||||||
corner_rad = 0;
|
|
||||||
fr_thickness = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CComponentsItem::paintInit(bool do_save_bg)
|
void CComponentsItem::paintInit(bool do_save_bg)
|
||||||
|
Reference in New Issue
Block a user