cc: expand cc-type with name

Required for internal operations where it is useful to have object
names and for better debugging.


Origin commit data
------------------
Commit: fd55de0ff4
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-01-03 (Wed, 03 Jan 2018)
This commit is contained in:
2018-01-03 22:35:01 +01:00
committed by vanhofen
parent 5bc6028293
commit 234d1d785f
26 changed files with 120 additions and 49 deletions

View File

@@ -94,7 +94,8 @@ void CComponentsButton::initVarButton( const int& x_pos, const int& y_pos, const
int shadow_mode,
fb_pixel_t color_frame, fb_pixel_t color_body, fb_pixel_t color_shadow)
{
cc_item_type = CC_ITEMTYPE_BUTTON;
cc_item_type.id = CC_ITEMTYPE_BUTTON;
cc_item_type.name = "cc_base_button";
x = x_pos;
y = y_pos;