cc_types: add missing image types

Origin commit data
------------------
Branch: ni/coolstream
Commit: 30b58f4940
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-02 (Tue, 02 May 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2017-05-02 17:21:01 +02:00
parent 964651701f
commit e01c99e5e8
2 changed files with 6 additions and 2 deletions

View File

@@ -208,7 +208,8 @@ class CComponentsPictureScalable : public CComponentsPicture
fb_pixel_t color_background = 0,
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0,
int transparent = CFrameBuffer::TM_NONE)
: CComponentsPicture(x_pos, y_pos, 0, 0, image_name, parent, shadow_mode, color_frame, color_background, color_shadow, transparent){};
: CComponentsPicture(x_pos, y_pos, 0, 0, image_name, parent, shadow_mode, color_frame, color_background, color_shadow, transparent)
{cc_item_type = CC_ITEMTYPE_PICTURE_SCALABLE;};
};
class CComponentsChannelLogo : public CComponentsPicture
@@ -292,7 +293,8 @@ class CComponentsChannelLogoScalable : public CComponentsChannelLogo
fb_pixel_t color_background = 0,
fb_pixel_t color_shadow = COL_SHADOW_PLUS_0,
int transparent = CFrameBuffer::TM_BLACK)
: CComponentsChannelLogo(x_pos, y_pos, 0, 0, channelName, channelId, parent, shadow_mode, color_frame, color_background, color_shadow, transparent){};
: CComponentsChannelLogo(x_pos, y_pos, 0, 0, channelName, channelId, parent, shadow_mode, color_frame, color_background, color_shadow, transparent)
{cc_item_type = CC_ITEMTYPE_CHANNEL_LOGO_SCALABLE;};
};
#endif

View File

@@ -41,7 +41,9 @@ typedef enum
CC_ITEMTYPE_GENERIC,
CC_ITEMTYPE_ITEM,
CC_ITEMTYPE_PICTURE,
CC_ITEMTYPE_PICTURE_SCALABLE,
CC_ITEMTYPE_CHANNEL_LOGO,
CC_ITEMTYPE_CHANNEL_LOGO_SCALABLE,
CC_ITEMTYPE_TEXT,
CC_ITEMTYPE_TEXT_INFOBOX,
CC_ITEMTYPE_SHAPE_SQUARE,