#define STYLE_FOLDERITEM "folderitem"
#define STYLE_EVENTITEM "eventitem"
#define STYLE_INVISIBLE "invisible"
-#define STYLE_CTXPOPUP_VIEWER "viewer_popup"
-#define STYLE_CTXPOPUP_HOVER "hover_popup"
#define STYLE_BTN_SHORTTEXT "shorttext"
#define STYLE_BTN_LONGTEXT "longtext"
#define STYLE_BTN_HOVERTEXT "hovertext"
#include "widgets/button.edc"
#include "widgets/gengrid.edc"
#include "widgets/tooltip.edc"
- #include "widgets/ctxpopup.edc"
#include "widgets/photocam.edc"
}
+++ /dev/null
-group {
- name: "elm/ctxpopup/base/viewer_popup";
- images {
- image: IMAGE_TOOLTIP_ARROW COMP;
- }
- parts {
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- }
- }
- part {
- name: "ctxpopup_arrow";
- scale: 1;
- description {
- state: "default" 0.0;
- min: 14 9;
- fixed: 1 1;
- rel1 {
- to: "elm.swallow.content";
- relative: 0.5 1;
- }
- rel2 {
- to: "elm.swallow.content";
- relative: 0.5 1;
- }
- align: 0.5 0.0;
- image.normal: IMAGE_TOOLTIP_ARROW;
- color: 255 255 255 255;
- }
- }
- }
-}
-
-group {
- name: "elm/ctxpopup/base/hover_popup";
- parts {
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- }
- }
- }
-}
-
-group { name: "elm/ctxpopup/arrow/default";
- parts {
- part {
- name: "ctxpopup_arrow";
- scale: 1;
- description {
- state: "default" 0.0;
- }
- }
- }
-}
t_SetList(sorttext, SORT_TEXT_SIZE, GetCb->cb(GetCb->cookie),
CCtxPopup::TOPBTN_SORT, sort_btn_id,
POSITION_SORT_POPUP_X, POSITION_SORT_POPUP_Y,
- STYLE_CTXPOPUP_HOVER,
+ NULL,
STYLE_BTN_HOVERTEXT, STYLE_BTN_HOVERTEXT, STYLE_BTN_HOVERTEXT);
}
t_SetList(sourcetext, SOURCE_TEXT_SIZE, GetCb->cb(GetCb->cookie),
CCtxPopup::TOPBTN_SOURCE, source_btn_id,
POSITION_SOURCE_POPUP_X, POSITION_SOURCE_POPUP_Y,
- STYLE_CTXPOPUP_HOVER,
+ NULL,
STYLE_BTN_HOVERTEXT, STYLE_BTN_HOVERTEXT, STYLE_BTN_HOVERTEXT);
}
t_SetList(speed_text, MAX_SPEED_BTNS, GetCb->cb(GetCb->cookie),
CCtxPopup::TOPBTN_BASE, speed_btn_id,
POSITION_SETTING_POPUP_X, POSITION_SETTING_POPUP_Y,
- STYLE_CTXPOPUP_VIEWER,
+ NULL,
STYLE_BTN_SHORTTEXT, STYLE_BTN_SHORTTEXT, STYLE_BTN_SHORTTEXT);
}
t_SetList(zoom_text, MAX_ZOOM_BTNS, E_ZOOM_ORIGINAL,
CCtxPopup::TOPBTN_BASE, zoom_btn_id,
POSITION_ZOOM_POPUP_X, POSITION_ZOOM_POPUP_Y,
- STYLE_CTXPOPUP_VIEWER,
+ NULL,
STYLE_BTN_SHORTTEXT, STYLE_BTN_SHORTTEXT, STYLE_BTN_SHORTTEXT);
}
pCtxPopup->RegisterSetCallback(sm_CbSetSlideshowSpeed, m);
m->pCtxPopup = pCtxPopup;
pCtxPopup->Create(m->base, &cb);
+
+ m->tooltip_timer = NULL;
+ elm_object_tooltip_hide(m->focusedbtn);
}
pCtxPopup->RegisterSetCallback(sm_CbSetZoomLevel, m);
m->pCtxPopup = pCtxPopup;
pCtxPopup->Create(m->base, &cb);
+
+ m->tooltip_timer = NULL;
+ elm_object_tooltip_hide(m->focusedbtn);
}