///////////////////////////////////////////////////////////////////////////////
group {
name: "elm/ctxpopup/layout/more/default";
- max: CTXPOPUP_MORE_WIDTH_INC ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*7)+CTXPOPUP_SHADOW_TOP_PADDING+CTXPOPUP_SHADOW_BOTTOM_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*12)-CTXPOPUP_CONTENT_PADDING);
+ max: CTXPOPUP_MORE_WIDTH_MAX_INC ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*7)+CTXPOPUP_SHADOW_TOP_PADDING+CTXPOPUP_SHADOW_BOTTOM_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*12)-CTXPOPUP_CONTENT_PADDING);
parts {
part {
name:"top_padding";
clip_to: "layout_clip";
description {
state: "default" 0.0;
- max: CTXPOPUP_MORE_WIDTH_INC 806;
visible: 0;
}
description {
state: "show_up" 0.0;
- max: CTXPOPUP_MORE_WIDTH_INC 806;
rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
rel2 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
align: 0.5 0.0;
}
description {
state: "show_down" 0.0;
- max: CTXPOPUP_MORE_WIDTH_INC 806;
rel1 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
align: 0.5 1.0;
}
description {
state: "show_left" 0.0;
- max: CTXPOPUP_MORE_WIDTH_INC 806;
rel1 {to_x:"left_padding"; to_y:"top_padding"; relative: 1.0 1.0;}
rel2 {to_x:"left_padding"; to_y:"bottom_padding"; relative: 1.0 0.0;}
align: 0.0 0.5;
}
description {
state: "show_right" 0.0;
- max: CTXPOPUP_MORE_WIDTH_INC 806;
rel1 {to_x:"right_padding"; to_y:"top_padding"; relative: 0.0 1.0;}
rel2 {to_x:"right_padding"; to_y:"bottom_padding"; relative: 0.0 0.0;}
align: 1.0 0.5;
group {
name: "elm/ctxpopup/layout/landscape/more/default";
inherit: "elm/ctxpopup/layout/landscape/default";
- max: CTXPOPUP_MORE_WIDTH_INC ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*5)+CTXPOPUP_SHADOW_TOP_PADDING+CTXPOPUP_SHADOW_BOTTOM_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*8)-CTXPOPUP_CONTENT_PADDING);
+ max: CTXPOPUP_MORE_WIDTH_MAX_INC ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*5)+CTXPOPUP_SHADOW_TOP_PADDING+CTXPOPUP_SHADOW_BOTTOM_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*8)-CTXPOPUP_CONTENT_PADDING);
}
///////////////////////////////////////////////////////////////////////////////
group {
name: "elm/scroller/base/ctxpopup";
+ alias: "elm/scroller/base/more/default";
script {
public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
public timer0(val) {
}
}
images {
- image: "00_popup_scroll.png" COMP;
- image: "01_scroller.png" COMP;
+ image: "00_popup_scroll_v.png" COMP;
+ image: "00_popup_scroll_h.png" COMP;
}
parts {
part {
description {
state: "default" 0.0;
fixed: 1 1;
- min: CTXPOPUP_SCROLLER_MIN_SIZE_INC;
+ min: CTXPOPUP_SCROLLER_V_MIN_SIZE_INC;
rel1 {
relative: 0.5 0.5;
to: "sb_vbar";
to: "sb_vbar";
}
image {
- normal: "00_popup_scroll.png";
- border: 0 0 5 5;
+ normal: "00_popup_scroll_v.png";
+ border: 0 0 8 8;
border_scale: 1;
}
}
}
}
part {
+ name: "sb_hbar_padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: 0 (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING);
+ max: 0 (CTXPOPUP_SCROLLER_PADDING-CTXPOPUP_CONTENT_PADDING);
+ visible: 0;
+ align: 0.0 1.0;
+ rel1 { to:"clipper"; relative: 0.0 1.0; }
+ rel2 { to:"clipper"; relative: 1.0 1.0; }
+ }
+ }
+ part {
name: "sb_hbar";
type: RECT;
mouse_events: 0;
fixed: 1 1;
visible: 0;
align: 0.0 1.0;
- rel1 {to:"clipper"; relative: 0.0 1.0;}
- rel2 {to:"clipper"; relative: 1.0 1.0;}
+ rel1 {to_x:"clipper"; to_y: "sb_hbar_padding"; relative: 0.0 0.0;}
+ rel2 {to_x:"clipper"; to_y: "sb_hbar_padding"; relative: 1.0 0.0;}
}
}
part {
description {
state: "default" 0.0;
fixed: 1 1;
- min: 32 12;
+ min: CTXPOPUP_SCROLLER_H_MIN_SIZE_INC;
rel1 {relative: 0.5 0.5; to: "sb_hbar";}
rel2 {relative: 0.5 0.5; to: "sb_hbar";}
image {
- normal: "01_scroller.png";
- border: 6 6 0 0;
+ normal: "00_popup_scroll_h.png";
+ border: 8 8 0 0;
border_scale: 1;
}
}
set_int(sbalways_v, 0);
set_int(sbalways_h, 0);
set_int(sbvis_timer, 0);
+ emit("reload", "elm");
}
}
program {
}
///////////////////////////////////////////////////////////////////////////////
group {
- name: "elm/ctxpopup/bg/pass_event";
- alias: "elm/ctxpopup/bg/extended/entry/pass_event";
- alias: "elm/ctxpopup/bg/extended/entry";
- alias: "elm/ctxpopup/bg/timepicker";
+ name: "elm/ctxpopup/bg/timepicker";
alias: "elm/ctxpopup/bg/datetime/default";
parts {
part {
///////////////////////////////////////////////////////////////////////////////
group {
- name: "elm/ctxpopup/base/no_bg_content";
- images {
- image: "ctxpopup_bg.png" COMP;
- image: "ctxpopup_shadow.png" COMP;
- }
- parts {
- part {
- name:"frame_shadow_left_top_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
- max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name:"frame_shadow_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
- max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
- rel1{relative: 1 1;}
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "frame_shadow";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
- rel2 {to:"frame_shadow_right_bottom_padding";}
- image {
- normal: "ctxpopup_shadow.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- color: 255 255 255 255;
- }
- }
- part {
- name: "ctxpopup_frame";
- type: IMAGE;
- scale: 1;
- description {
- image {
- normal: "ctxpopup_bg.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- rel1 {to:"content_left_top_padding"; relative: 1 1;}
- rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
- }
- }
- part {
- name:"list_shadow_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
- max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- rel1 {to:"elm.swallow.content"; relative: 1 1;}
- }
- }
- part {
- name:"content_left_top_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name:"content_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- rel1 { relative: 1 1;}
- rel2 { relative: 1 1;}
- align: 1 1;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {to:"content_left_top_padding"; relative: 1 1;}
- rel2 {to:"content_right_bottom_padding"; relative: 0 0;}
- }
- }
- }
- }
-///////////////////////////////////////////////////////////////////////////////
- group {
name: "elm/ctxpopup/base/default";
alias: "elm/ctxpopup/base/copypaste";
images {
text {
font: "Tizen:style=Roman";
size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
+ size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
align: 0 0.5;
min: 1 1;
text_class: "list_item";
state: "clicked" 0.0;
inherit: "default" 0.0;
color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
- text.min: 0 0;
+ text.min: 0 1;
}
description {
state: "disabled" 0.0;
text {
font: "Tizen:style=Roman";
size: CTXPOPUP_MAIN_TEXT_SIZE_INC;
+ size_range: CTXPOPUP_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
align: 0.5 0.5;
min: 1 1;
text_class: "list_item";
signal: "elm,state,disabled";
source: "elm";
script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
- set_state(PART:"elm.text", "ellipsis_disabled", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
-
+ set_state(PART:"elm.text", "disabled", 0.0);
set_state(PART:"disclip", "disabled", 0.0);
}
}
signal: "elm,state,enabled";
source: "elm";
script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if ((!strcmp(st, "ellipsis")) || (!strcmp(st, "ellipsis_disabled")))
- set_state(PART:"elm.text", "ellipsis", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
-
+ set_state(PART:"elm.text", "default", 0.0);
set_state(PART:"disclip", "default", 0.0);
}
}
image: "00_more_popup_press.png" COMP;
}
- data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
+ data.item: "item_max_size" CTXPOPUP_ICON_TEXT_MAX_INC;
parts {
part {
description {
state: "default" 0.0;
visible: 0;
+ min: CTXPOPUP_WIDTH_MIN_INC 1;
+ max: CTXPOPUP_WIDTH_MAX_INC CTXPOPUP_ITEM_HEIGHT_MAX_INC;
}
description {
state: "clicked" 0.0;
text {
font: "Tizen:style=Roman";
size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
+ size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
align: 0.0 0.5;
min: 1 1;
text_class: "list_item";
state: "clicked" 0.0;
inherit: "default" 0.0;
color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
- text.min: 0 0;
+ text.min: 0 1;
}
description {
state: "disabled" 0.0;
min: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_ITEM_TEXT_PADDING_INC-CTXPOPUP_ICON_WIDTH_INC-(CTXPOPUP_ITEM_ICON_PADDING_INC*2)) CTXPOPUP_ITEM_HEIGHT_MIN_INC;
text.min: 0 1;
}
+ description {
+ state: "ellipsis_disabled" 0.0;
+ inherit: "ellipsis" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
+ }
}
part {
name: "text_right_padding";
state: "default" 0.0;
rel1 {to:"frame_shadow_left_top_padding";}
rel2 {to:"frame_shadow_right_bottom_padding";}
- min: CTXPOPUP_MORE_WIDTH_INC 0;
+ min: CTXPOPUP_MORE_WIDTH_MIN_INC 0;
image {
normal: "00_popup_bubble_bg.png";
border: CTXPOPUP_BUBBLE_BG_IMAGE_BORDER;
rel2 {to:"content_right_bottom_padding"; relative: 0.0 0.0;}
}
}
+ part { name: "access.outline";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "frame_bg";
+ rel2.to: "frame_bg";
+ color: 0 0 0 0;
+ }
+ }
}
}
///////////////////////////////////////////////////////////////////////////////
image: "00_more_popup_press.png" COMP;
}
+ data.item: "item_max_size" CTXPOPUP_MORE_TEXT_MAX_INC;
+
parts {
part {
name: "event_blocker";
description {
state: "default" 0.0;
visible: 0;
- min: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
- max: (CTXPOPUP_MORE_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
+ min: (CTXPOPUP_MORE_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
+ max: (CTXPOPUP_MORE_WIDTH_MAX_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_MORE_ITEM_HEIGHT_MAX_INC;
}
description {
state: "clicked" 0.0;
text {
font: "Tizen:style=Roman";
size: CTXPOPUP_MORE_ITEM_TEXT_SIZE_INC;
+ size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
align: 0.0 0.5;
- min: 0 1;
+ min: 1 1;
text_class: "list_item";
}
}
state: "clicked" 0.0;
inherit: "default" 0.0;
color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
+ text.min: 0 1;
}
description {
state: "disabled" 0.0;
inherit: "default" 0.0;
color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
}
+ description {
+ state: "ellipsis" 0.0;
+ inherit: "default" 0.0;
+ min: CTXPOPUP_MORE_TEXT_MAX_INC CTXPOPUP_MORE_ITEM_HEIGHT_MIN_INC;
+ text.min: 0 1;
+ }
+ description {
+ state: "ellipsis_disabled" 0.0;
+ inherit: "ellipsis" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
+ }
}
part {
name: "text_right_padding";
}
programs {
program {
+ name: "text_ellipsis";
+ signal: "elm,state,text,ellipsis";
+ source: "elm";
+ action: STATE_SET "ellipsis" 0.0;
+ target: "elm.text";
+ }
+ program {
name: "item_unclick";
signal: "mouse,clicked,1";
source: "over1";
}
}
}
-
///////////////////////////////////////////////////////////////////////////////////////
-#define CTXPOPUP_ENTRY_LIST_PADDING_LEFT 3
-#define CTXPOPUP_ENTRY_LIST_PADDING_TOP 6
-#define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT 3
-#define CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM 6
-//////////////////////////////////////////////////////////////////////////////////////
- group {
- name: "elm/ctxpopup/base/extended/entry";
- alias: "elm/ctxpopup/base/extended/entry/pass_event";
- images {
- image: "copy&paste_bg_center.png" COMP;
- image: "ctxpopup_shadow.png" COMP;
- }
- parts {
- part {
- name:"frame_shadow_left_top_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
- max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name:"frame_shadow_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
- max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
- rel1{relative: 1 1;}
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "frame_shadow";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
- rel2 {to:"frame_shadow_right_bottom_padding";}
- image {
- normal: "ctxpopup_shadow.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
+#define CTXPOPUP_TP_TEXT_WIDTH 32
+#define CTXPOPUP_TP_PADDING 15
+#define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
+#define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
+#define CTXPOPUP_TP_FONT_SIZE 24
+///////////////////////////////////////////////////////////////////////////////
+group {
+ name: "elm/ctxpopup/base/datetime/default";
+ alias: "elm/ctxpopup/base/timepicker";
+
+ images {
+ image: "00_time_picker_number_bg.png" COMP;
+ }
+
+ parts {
+ part {
+ name: "ctxpopup_frame";
+ type: IMAGE;
+ scale: 1;
+ description {
+ rel1 {to:"elm.swallow.content";}
+ rel2 {to:"elm.swallow.content";}
+ image {
+ normal: "00_time_picker_number_bg.png";
+ border: CTXPOPUP_TP_BG_IMAGE_BORDER;
+ border_scale: 1;
}
}
- part {
- name: "frame_bg";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {to:"elm.swallow.content";}
- rel2 {to:"elm.swallow.content";}
- image {
- normal: "copy&paste_bg_center.png";
- border: CTXPOPUP_ENTRY_CENTER_IMAGE_BORDER;
- border_scale: 1;
- }
- }
+ }
+ part {
+ name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 1 CTXPOPUP_TP_HEIGHT_INC;
}
- part {
- name: "arrow_area_left";
+ }
+ part { name: "arrow_area_left";
type: RECT;
mouse_events: 0;
scale: 1;
- description {
- state: "default" 0.0;
+ description { state: "default" 0.0;
visible: 0;
- min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
+ min: 20 0;
fixed: 1 1;
align: 1 0.5;
rel1 {
- relative: 0 1;
- to_y: "ctxpopup_frame_left_top";
+ relative: 0 0;
+ to_y: "ctxpopup_frame";
}
rel2 {
- relative:0 0;
- to:"ctxpopup_frame_left_bottom";
- }
- }
- }
- part {
- name: "arrow_area_right";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
- fixed: 1 1;
- align: 0 0.5;
- rel1 {
- relative: 1 1;
- to:"ctxpopup_frame_right_top";
- }
- rel2 {
- relative: 1 0;
- to_y: "ctxpopup_frame_right_bottom";
- }
- }
- }
- part {
- name: "arrow_area_up";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
- fixed: 1 1;
- align: 0.5 1;
- rel1 {
- relative: 0 0;
- to: "frame_bg";
- }
- rel2 {
- relative: 1 0;
- to: "frame_bg";
- }
- }
- }
- part {
- name: "arrow_area_down";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
- fixed: 1 1;
- align: 0.5 0;
- rel1 {
- relative: 0 1;
- to: "frame_bg";
- }
- rel2 {
- relative: 1 1;
- to: "frame_bg";
- }
- }
- }
- part {
- name: "elm.swallow.arrow_up";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 1 1 0;
- confine: "arrow_area_up";
- }
- description {
- state: "default" 0.0;
- min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
- fixed: 1 1;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.arrow_down";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 1 1 0;
- confine: "arrow_area_down";
- }
- description {
- state: "default" 0.0;
- min: 0 CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
- fixed: 1 1;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.arrow_left";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 1 1 0;
- confine: "arrow_area_left";
- }
- description {
- state: "default" 0.0;
- min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
- fixed: 1 1;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.arrow_right";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 1 1 0;
- confine: "arrow_area_right";
- }
- description {
- state: "default" 0.0;
- min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT 0;
- fixed: 1 1;
- visible: 1;
- }
- }
- part {
- name: "ctxpopup_frame_left_top";
- type: RECT;
- scale: 1;
- description {
- visible: 0;
- align: 0 0;
- min: CTXPOPUP_FRAME_CORNER_SIZE;
- max: CTXPOPUP_FRAME_CORNER_SIZE;
- }
- }
- part {
- name: "ctxpopup_frame_right_top";
- type: RECT;
- scale: 1;
- description {
- visible: 0;
- align: 1 0;
- min: CTXPOPUP_FRAME_CORNER_SIZE;
- max: CTXPOPUP_FRAME_CORNER_SIZE;
- }
- }
- part {
- name: "ctxpopup_frame_left_bottom";
- type: RECT;
- scale: 1;
- description {
- visible: 0;
- align: 0 1;
- min: CTXPOPUP_FRAME_CORNER_SIZE;
- max: CTXPOPUP_FRAME_CORNER_SIZE;
- }
- }
- part {
- name: "ctxpopup_frame_right_bottom";
- type: RECT;
- scale: 1;
- description {
- visible: 0;
- align: 1 1;
- min: CTXPOPUP_FRAME_CORNER_SIZE;
- max: CTXPOPUP_FRAME_CORNER_SIZE;
- }
- }
- part {
- name:"list_shadow_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
- max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- rel1 {to:"elm.swallow.content"; relative: 1 1;}
- }
- }
- part {
- name:"content_left_top_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name:"content_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- rel1 { relative: 1 1;}
- rel2 { relative: 1 1;}
- align: 1 1;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0 0;
- rel1 {to:"ctxpopup_frame_left_top"; relative: 0.5 0.5;}
- rel2 {to:"ctxpopup_frame_right_bottom"; relative: 0.5 0.5;}
- }
- }
- }
- }
-///////////////////////////////////////////////////////////////////////////////////////
- group {
- name: "elm/ctxpopup/arrow/extended/entry";
- alias: "elm/ctxpopup/arrow/extended/entry/pass_event";
- images {
- image: "copy&paste_arrow_up.png" COMP;
- image: "copy&paste_arrow_left.png" COMP;
- image: "copy&paste_arrow_right.png" COMP;
- image: "copy&paste_arrow_down.png" COMP;
- }
- parts {
- part {
- name: "ctxpopup_arrow";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
- max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
- fixed: 1 1;
- visible: 0;
- align: 0.5 0.5;
- }
- description {
- state: "left" 0.0;
- min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
- max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
- fixed: 1 1;
- align: 0 0.5;
- image {
- normal: "copy&paste_arrow_left.png";
- }
- }
- description {
- state: "right" 0.0;
- min: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
- max: CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH;
- fixed: 1 1;
- align: 1 0.5;
- image {
- normal: "copy&paste_arrow_right.png";
- }
- }
- description {
- state: "top" 0.0;
- min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
- max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
- fixed: 1 1;
- align: 0.5 0;
- image {
- normal: "copy&paste_arrow_up.png";
- }
- }
- description {
- state: "bottom" 0.0;
- min: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
- max: CTXPOPUP_ENTRY_ARROW_SIZE_WIDTH CTXPOPUP_ENTRY_ARROW_SIZE_HEIGHT;
- fixed: 1 1;
- align: 0.5 1;
- image {
- normal: "copy&paste_arrow_down.png";
- }
- }
- }
- }
- programs {
- program {
- name: "enable_left_arrow";
- signal: "elm,state,left";
- source: "elm";
- action: STATE_SET "left" 0.0;
- target: "ctxpopup_arrow";
- }
- program {
- name: "enable_right_arrow";
- signal: "elm,state,right";
- source: "elm";
- action: STATE_SET "right" 0.0;
- target: "ctxpopup_arrow";
- }
- program {
- name: "enable_top_arrow";
- signal: "elm,state,top";
- source: "elm";
- action: STATE_SET "top" 0.0;
- target: "ctxpopup_arrow";
- }
- program {
- name: "enable_bottom_arrow";
- signal: "elm,state,bottom";
- source: "elm";
- action: STATE_SET "bottom" 0.0;
- target: "ctxpopup_arrow";
- }
- }
- }
-///////////////////////////////////////////////////////////////////////////////////////
-#define CTXPOPUP_ENTRY_ITEM_BG_PART \
- part {\
- name: "bg";\
- mouse_events: 0;\
- type: IMAGE;\
- description {\
- state: "default" 0.0;\
- visible: 0;\
- rel1 {to:"left_bg_padding"; relative: 1 0;}\
- rel2 {to:"right_bg_padding"; relative: 0 1;}\
- image {\
- normal: "copy&paste_press_center.png";\
- border: 0 0 0 0;\
- }\
- }\
- description {\
- state: "clicked" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- image {\
- normal: "copy&paste_press_center.png";\
- border: 0 0 0 0;\
- }\
- }\
- }
-#define CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART \
- part {\
- name: "left_bg_padding";\
- type: IMAGE;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- state: "default" 0.0;\
- visible: 0;\
- min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
- max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
- align: 0 0.5;\
- fixed: 1 0;\
- rel1 { to: "event_blocker"; relative: 0 0; }\
- rel2 { to: "event_blocker"; relative: 0 1; }\
- image {\
- normal: "copy&paste_press_left.png";\
- border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
- border_scale: 1;\
- }\
- }\
- description {\
- state: "clicked" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- image {\
- normal: "copy&paste_press_left.png";\
- border: CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0 0;\
- border_scale: 1;\
- }\
- }\
- }
-#define CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART \
- part {\
- name: "right_bg_padding";\
- type: IMAGE;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- state: "default" 0.0;\
- visible: 0;\
- min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
- max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
- fixed: 1 0;\
- align: 1.0 0.5;\
- rel1 { to: "event_blocker"; relative: 1 0; }\
- rel2 { to: "event_blocker"; relative: 1 1; }\
- image {\
- normal: "copy&paste_press_right.png";\
- border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
- border_scale: 1;\
- }\
- }\
- description {\
- state: "clicked" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- image {\
- normal: "copy&paste_press_right.png";\
- border: 0 CTXPOPUP_ENTRY_IMAGE_BORDER_WIDTH 0 0;\
- border_scale: 1;\
- }\
- }\
- }
-#define CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART \
- part {\
- name: "left_padding";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- state: "default" 0.0;\
- visible: 0;\
- min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
- max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
- align: 0 0.5;\
- fixed: 1 0;\
- }\
- }
-#define CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART \
- part {\
- name: "right_padding";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- state: "default" 0.0;\
- visible: 0;\
- min: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
- max: CTXPOPUP_ENTRY_ITEM_PADDING_WIDTH CTXPOPUP_ENTRY_ITEM_HEIGHT;\
- fixed: 1 0;\
- align: 1.0 0.5;\
- }\
- }
-#define CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART \
- part {\
- name: "left_separator";\
- mouse_events: 0;\
- type: RECT;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- visible: 0;\
- color: CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR;\
- min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
- max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
- fixed: 1 1;\
- rel2 {\
- relative: 0 1;\
- }\
- }\
- description {\
- state: "vertical" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- }\
- description {\
- state: "horizontal" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- }\
- }
-#define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART \
- part {\
- name: "right_separator";\
- mouse_events: 0;\
- type: RECT;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- visible: 0;\
- color: CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR;\
- min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
- max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
- fixed: 1 1;\
- rel1 {\
- offset: -1 0;\
- }\
- rel2 {\
- relative: 0 1;\
- offset: -1 0;\
- }\
- }\
- description {\
- state: "vertical" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- }\
- description {\
- state: "horizontal" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- }\
- }
-///////////////////////////////////////////////////////////////////////////////////////
-
- group {
- name: "elm/ctxpopup/text_style_item/extended/entry";
- alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event";
- images {
- image: "copy&paste_press_center.png" COMP;
- image: "copy&paste_press_left.png" COMP;
- image: "copy&paste_press_right.png" COMP;
- }
- parts {
- part {
- name: "event_blocker";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- CTXPOPUP_ENTRY_ITEM_BG_PART
- CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
- CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
- CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
- CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
- CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
- CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
- max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
- fixed: 0 1;
- align: 0.5 0.5;
- rel1 {relative: 1.0 0.0; to: "left_padding";}
- rel2 {relative: 0.0 1.0; to: "right_padding";}
- color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
- text {
- font: "Tizen:style=Roman";
- size: CTXPOPUP_ENTRY_ITEM_FONT_SIZE;
- align: 0.5 0.5;
- min: 1 1;
- text_class: "list_item";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: CTXPOPUP_ENTRY_ITEM_TEXT_COLOR;
- }
- }
- part {
- name: "over1";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- }
- }
- part {
- name: "disclip";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- description {
- state: "disabled" 0.0;
- visible: 1;
- color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
- }
- }
- }
- programs {
- program {
- name: "item_unclick";
- signal: "mouse,up,1";
- source: "over1";
- action: SIGNAL_EMIT "elm,action,click" "";
- after: "touch_snd";
- }
- program {
- name: "touch_snd";
- action: PLAY_SAMPLE "touch_sound" 1.0;
- }
- program {
- name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disclip";
- }
- program {
- name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disclip";
- }
- program {
- name: "item_click2";
- signal: "mouse,down,1";
- source: "over2";
- script {
- set_state(PART:"elm.text", "clicked", 0.0);
- set_state(PART:"bg", "clicked", 0.0);
- set_state(PART:"left_bg_padding", "clicked", 0.0);
- set_state(PART:"right_bg_padding", "clicked", 0.0);
- }
- }
- program {
- name: "item_unclick2";
- signal: "mouse,up,1";
- source: "over2";
- script {
- set_state(PART:"elm.text", "default", 0.0);
- set_state(PART:"bg", "default", 0.0);
- set_state(PART:"left_bg_padding", "default", 0.0);
- set_state(PART:"right_bg_padding", "default", 0.0);
- }
- }
- program {
- name: "default";
- signal: "elm,state,default";
- source: "elm";
- script {
- set_state(PART:"left_separator", "default", 0.0);
- set_state(PART:"right_separator", "default", 0.0);
- }
- }
- program {
- name: "vertical";
- signal: "elm,state,vertical";
- source: "elm";
- script {
- set_state(PART:"left_separator", "vertical", 0.0);
- set_state(PART:"right_separator", "vertical", 0.0);
- }
- }
- program {
- name: "horizontal";
- signal: "elm,state,horizontal";
- source: "elm";
- script {
- set_state(PART:"left_separator", "horizontal", 0.0);
- set_state(PART:"right_separator", "horizontal", 0.0);
- }
- }
- }
- }
-///////////////////////////////////////////////////////////////////////////////
- group {
- name: "elm/ctxpopup/icon_style_item/extended/entry";
- images {
- image: "copy&paste_press_center.png" COMP;
- image: "copy&paste_press_left.png" COMP;
- image: "copy&paste_press_right.png" COMP;
- }
- parts {
- part {
- name: "event_blocker";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- CTXPOPUP_ENTRY_ITEM_BG_PART
- CTXPOPUP_ENTRY_ITEM_LEFT_BG_PADDING_PART
- CTXPOPUP_ENTRY_ITEM_RIGHT_BG_PADDING_PART
- CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
- CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
- CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
- CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 36 36;
- max: 36 36;
- fixed: 0 1;
- align: 0.5 0.5;
-// aspect: 1.0 1.0;
- rel1 {relative: 1.0 0.0; to: "left_padding";}
- rel2 {relative: 0.0 1.0; to: "right_padding";}
- }
- }
- part {
- name: "elm.swallow.icon.paint";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 255 255 0 255;
- rel1 { to: "elm.swallow.icon"; }
- rel2 { to: "elm.swallow.icon"; }
- }
- }
- part {
- name: "over1";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- }
- }
- part {
- name: "disclip";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- description {
- state: "disabled" 0.0;
- visible: 1;
- color: CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR;
- }
- }
- }
- programs {
- program {
- name: "item_unclick";
- signal: "mouse,up,1";
- source: "over1";
- action: SIGNAL_EMIT "elm,action,click" "";
- after: "touch_snd";
- }
- program {
- name: "touch_snd";
- action: PLAY_SAMPLE "touch_sound" 1.0;
- }
- program {
- name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disclip";
- }
- program {
- name: "item_click2";
- signal: "mouse,down,1";
- source: "over2";
- script {
- set_state(PART:"bg", "clicked", 0.0);
- set_state(PART:"left_bg_padding", "clicked", 0.0);
- set_state(PART:"right_bg_padding", "clicked", 0.0);
- }
- }
- program {
- name: "item_unclick2";
- signal: "mouse,up,1";
- source: "over2";
- script {
- set_state(PART:"bg", "default", 0.0);
- set_state(PART:"left_bg_padding", "default", 0.0);
- set_state(PART:"right_bg_padding", "default", 0.0);
- }
- }
- program {
- name: "default";
- signal: "elm,state,default";
- source: "elm";
- script {
- set_state(PART:"left_separator", "default", 0.0);
- set_state(PART:"right_separator", "default", 0.0);
- }
- }
- program {
- name: "vertical";
- signal: "elm,state,vertical";
- source: "elm";
- script {
- set_state(PART:"left_separator", "vertical", 0.0);
- set_state(PART:"right_separator", "vertical", 0.0);
- }
- }
- program {
- name: "horizontal";
- signal: "elm,state,horizontal";
- source: "elm";
- script {
- set_state(PART:"left_separator", "horizontal", 0.0);
- set_state(PART:"right_separator", "horizontal", 0.0);
- }
- }
- }
- }
-///////////////////////////////////////////////////////////////////////////////////////
-#define CTXPOPUP_TP_TEXT_WIDTH 32
-#define CTXPOPUP_TP_PADDING 15
-#define CTXPOPUP_TP_FONT_COLOR 231 173 95 255
-#define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255
-#define CTXPOPUP_TP_FONT_SIZE 24
-///////////////////////////////////////////////////////////////////////////////
-group {
- name: "elm/ctxpopup/base/datetime/default";
- alias: "elm/ctxpopup/base/timepicker";
-
- images {
- image: "00_time_picker_number_bg.png" COMP;
- }
-
- parts {
- part {
- name: "ctxpopup_frame";
- type: IMAGE;
- scale: 1;
- description {
- rel1 {to:"elm.swallow.content";}
- rel2 {to:"elm.swallow.content";}
- image {
- normal: "00_time_picker_number_bg.png";
- border: CTXPOPUP_TP_BG_IMAGE_BORDER;
- border_scale: 1;
- }
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 CTXPOPUP_TP_HEIGHT_INC;
- }
- }
- part { name: "arrow_area_left";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- min: 20 0;
- fixed: 1 1;
- align: 1 0.5;
- rel1 {
- relative: 0 0;
- to_y: "ctxpopup_frame";
- }
- rel2 {
- relative:0 1;
- to:"ctxpopup_frame";
+ relative:0 1;
+ to:"ctxpopup_frame";
}
}
}
image: "00_more_popup_press.png" COMP;
}
+ data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
+
parts {
part {
name: "event_blocker";
description {
state: "default" 0.0;
visible: 0;
- min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
- max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
+ min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) 1;
+ max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MAX_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING*2) CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
}
description {
state: "clicked" 0.0;
text {
font: "Tizen:style=Roman";
size: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC;
+ size_range: CTXPOPUP_LIST_MAIN_TEXT_SIZE_INC CTXPOPUP_LIST_MAIN_TEXT_MAX_SIZE_INC;
align: 0.5 0.5;
- min: 0 1;
+ min: 1 1;
text_class: "list_item";
}
}
state: "clicked" 0.0;
inherit: "default" 0.0;
color: CTXPOPUP_LIST_MAIN_TEXT_PRESS_COLOR_INC;
+ text.min: 0 1;
}
description {
state: "disabled" 0.0;
inherit: "default" 0.0;
color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
}
+ description {
+ state: "ellipsis" 0.0;
+ inherit: "default" 0.0;
+ min: CTXPOPUP_TEXT_MAX_INC CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
+ text.min: 0 1;
+ }
+ description {
+ state: "ellipsis_disabled" 0.0;
+ inherit: "ellipsis" 0.0;
+ color: CTXPOPUP_LIST_MAIN_TEXT_DIM_COLOR_INC;
+ }
}
part {
name: "right_padding";
}
programs {
program {
+ name: "text_ellipsis";
+ signal: "elm,state,text,ellipsis";
+ source: "elm";
+ action: STATE_SET "ellipsis" 0.0;
+ target: "elm.text";
+ }
+ program {
name: "item_unclick";
signal: "mouse,clicked,1";
source: "over1";