mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
cc: expand cc-type with name
Required for internal operations where it is useful to have object names and for better debugging.
This commit is contained in:
@@ -41,7 +41,8 @@ CComponentsShapeSquare::CComponentsShapeSquare( const int x_pos, const int y_pos
|
||||
fb_pixel_t color_frame, fb_pixel_t color_body, fb_pixel_t color_shadow)
|
||||
{
|
||||
//CComponentsItem
|
||||
cc_item_type = CC_ITEMTYPE_SHAPE_SQUARE;
|
||||
cc_item_type.id = CC_ITEMTYPE_SHAPE_SQUARE;
|
||||
cc_item_type.name ="cc_box";
|
||||
|
||||
x = x_old = x_pos;
|
||||
y = y_old = y_pos;
|
||||
@@ -69,7 +70,8 @@ CComponentsShapeCircle::CComponentsShapeCircle( int x_pos, int y_pos, int diam,
|
||||
fb_pixel_t color_frame, fb_pixel_t color_body, fb_pixel_t color_shadow)
|
||||
{
|
||||
//CComponents, CComponentsItem
|
||||
cc_item_type = CC_ITEMTYPE_SHAPE_CIRCLE;
|
||||
cc_item_type.id = CC_ITEMTYPE_SHAPE_CIRCLE;
|
||||
cc_item_type.name ="cc_circle";
|
||||
|
||||
//CComponents
|
||||
x = x_pos;
|
||||
|
Reference in New Issue
Block a user