mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-11 15:41:00 +02:00
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:
@@ -277,7 +277,8 @@ class CComponentsLabel : public CComponentsText
|
||||
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0)
|
||||
:CComponentsText(x_pos, y_pos, w, h, text, mode, font_text, font_style, parent, shadow_mode, color_text, color_frame, color_body, color_shadow)
|
||||
{
|
||||
cc_item_type = CC_ITEMTYPE_LABEL;
|
||||
cc_item_type.id = CC_ITEMTYPE_LABEL;
|
||||
cc_item_type.name ="cc_label_box";
|
||||
};
|
||||
|
||||
CComponentsLabel( CComponentsForm *parent,
|
||||
@@ -293,7 +294,8 @@ class CComponentsLabel : public CComponentsText
|
||||
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0)
|
||||
:CComponentsText(x_pos, y_pos, w, h, text, mode, font_text, font_style, parent, shadow_mode, color_text, color_frame, color_body, color_shadow)
|
||||
{
|
||||
cc_item_type = CC_ITEMTYPE_LABEL;
|
||||
cc_item_type.id = CC_ITEMTYPE_LABEL;
|
||||
cc_item_type.name ="cc_label_box";
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user