icon = tile;
if (thumb.thumb_timer) {
ecore_timer_del(thumb.thumb_timer);
+ thumb.thumb_timer = NULL;
+ }
+ if ((info == NULL) || (info->type != ICO_HS_MAP_ERROR_SHBUF)) {
+ thumb.thumb_timer = ecore_timer_add(ICO_HS_MENUTILE_THUMBNAIL_RETRYTIME,
+ CicoHSMenuTile::TimerThumbnail,
+ (void *)this);
}
- thumb.thumb_timer = ecore_timer_add(ICO_HS_MENUTILE_THUMBNAIL_RETRYTIME,
- CicoHSMenuTile::TimerThumbnail, (void *)this);
}
if (icon != old_icon) {
#define ICO_HS_MENUTILE_TERM_ICON_WIDTH 64
#define ICO_HS_MENUTILE_TERM_ICON_HEIGHT 64
-#define ICO_HS_MENUTILE_THUMBNAIL_FPS_SHOW 15 /* 15 frames/sec */
+#define ICO_HS_MENUTILE_THUMBNAIL_FPS_SHOW 4 /* 4 frames/sec */
#define ICO_HS_MENUTILE_THUMBNAIL_FPS_HIDE -1 /* meanse 'not update' */
#define ICO_HS_MENUTILE_THUMBNAIL_REDUCE_PIX 4
#define ICO_HS_MENUTILE_THUMBNAIL_REDUCE_PIX2 6
int orgsurface; // original surface id
};
+#define ICO_HS_MAP_ERROR_SHBUF 4 /* error core of map shared buffer */
+
class CicoHSMenuTile
{
public:
"no appinfo", thumb_info->appid, thumb_info->surface);
return;
}
- ICO_DBG("CicoHomeScreen::EventCallBack : ICO_SYC_EV_THUMB_UNMAP %s(%02x)",
- thumb_info->appid, thumb_info->surface);
- hs_instance->menu_window->SetThumbnail(thumb_info->appid, NULL);
+ ICO_DBG("CicoHomeScreen::EventCallBack : ICO_SYC_EV_THUMB_UNMAP %s(%02x) %x",
+ thumb_info->appid, thumb_info->surface, thumb_info->type);
+ ico_syc_thumb_info_t wrk_info;
+ wrk_info.surface = 0;
+ wrk_info.type = thumb_info->type;
+ hs_instance->menu_window->SetThumbnail(thumb_info->appid, &wrk_info);
}
else if (event == ICO_SYC_EV_THUMB_ERROR) {
ico_syc_thumb_info_t *thumb_info =