externals.external: "elm";
collections {
+///////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/segment_control/base/default";
+ parts {
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ min: 100 40;
+ }
+ }
+ }
+ }
+ group { name: "elm/segment_control/item/default";
+ data.item: "label.wrap.part" "label.bg";
+ images {
+ image: "seg_single_pressed.png" COMP;
+ image: "seg_single_selected.png" COMP;
+ image: "seg_single_normal.png" COMP;
+
+ image: "seg_left_pressed.png" COMP;
+ image: "seg_left_selected.png" COMP;
+ image: "seg_left_normal.png" COMP;
+
+ image: "seg_middle_pressed.png" COMP;
+ image: "seg_middle_selected.png" COMP;
+ image: "seg_middle_normal.png" COMP;
+
+ image: "seg_right_pressed.png" COMP;
+ image: "seg_right_selected.png" COMP;
+ image: "seg_right_normal.png" COMP;
+ }
+ parts {
+ part { name: "segment";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 1 1;
+ visible: 0;
+ image {
+ normal: "seg_single_normal.png";
+ border: 7 7 7 7;
+ border_scale: 1;
+ middle: 1;
+ }
+ }
+ description { state: "default_single" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_single_normal.png";
+ border: 7 7 7 7;
+ }
+ }
+ description { state: "default_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_left_normal.png";
+ border: 6 1 7 7;
+ }
+ }
+ description { state: "default_right" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_right_normal.png";
+ border: 1 6 7 7;
+ }
+ }
+ description { state: "default_middle" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_middle_normal.png";
+ border: 2 2 2 2;
+ }
+ }
+ description { state: "pressed_single" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_single_pressed.png";
+ border: 7 7 7 7;
+ }
+ }
+ description { state: "pressed_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_left_pressed.png";
+ border: 6 1 7 7;
+ }
+ }
+ description { state: "pressed_right" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_right_pressed.png";
+ border: 1 6 7 7;
+ }
+ }
+ description { state: "pressed_middle" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_middle_pressed.png";
+ border: 1 1 2 2;
+ }
+ }
+ description { state: "selected_single" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_single_selected.png";
+ border: 7 7 7 7;
+ }
+ }
+ description { state: "selected_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_left_selected.png";
+ border: 6 3 7 7;
+ }
+ }
+ description { state: "selected_right" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_right_selected.png";
+ border: 3 6 7 7;
+ }
+ }
+ description { state: "selected_middle" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_middle_selected.png";
+ border: 3 3 3 3;
+ }
+ }
+ }
+ part { name: "padding_left";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ min: 2 2;
+ max: 2 2;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_right";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ min: 2 2;
+ max: 2 2;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ min: 2 2;
+ max: 2 2;
+ fixed: 0 1;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 1.0;
+ min: 2 2;
+ max: 2 2;
+ fixed: 0 1;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "icon.bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 1;
+ fixed: 1 0;
+ rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
+ rel2 {relative: 1.0 1.0; to: "elm.swallow.icon"; }
+ align: 0.0 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_icon_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "icon.bg"; }
+ rel2 { relative: 1.0 1.0; to: "icon.bg"; }
+ fixed: 1 0;
+ min: 0 0;
+ color: 0 0 0 0;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "visible" 0.0; //when icon is visible
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "icon.bg"; }
+ rel2 { relative: 1.0 1.0; to: "icon.bg"; }
+ fixed: 1 0;
+ min: 2 0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; }
+ rel2 {relative: 0.0 0.0; to_y: "padding_bottom"; }
+ fixed: 1 0;
+ aspect: 1.0 1.0;
+ aspect_preference: BOTH;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ rel2 {relative: 0.3 0.0; to_y: "padding_bottom"; }
+ }
+ description { state: "icononly" 0.0;;
+ inherit: "default" 0.0;
+ visible: 1;
+ rel2 {relative: 0.0 0.0; to_x: "padding_right"; to_y: "padding_bottom"; }
+ align: 0.5 0.5;
+ }
+ }
+ part { name: "label.bg";
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 { relative: 1.0 1.0; to_x: "padding_icon_text"; to_y: "padding_top"; }
+ rel2 { relative: 0.0 0.0; to_x: "padding_right"; to_y: "padding_bottom"; }
+ }
+ }
+ part { name: "elm.swallow.label";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "label.bg";
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 1 1;
+ align: 0.0 0.5;
+ rel1 { relative: 1.0 1.0; to_x: "padding_icon_text";}
+ rel2 { relative: 0.0 0.0; to_x: "padding_right";}
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "disabler";
+ repeat_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 1 1;
+ align: 0.0 0.5;
+ rel1 { relative: 0.0 0.0; to: "segment";}
+ rel2 { relative: 1.0 1.0; to: "segment";}
+ color: 255 255 255 150;
+ }
+ description { state: "disabled_single" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_single_normal.png";
+ border: 7 7 7 7;
+ }
+ }
+ description { state: "disabled_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_left_normal.png";
+ border: 6 1 7 7;
+ }
+ }
+ description { state: "disabled_right" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_right_normal.png";
+ border: 1 6 7 7;
+ }
+ }
+ description { state: "disabled_middle" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_middle_normal.png";
+ border: 2 2 2 2;
+ }
+ }
+ }
+ }
+ programs {
+ script {
+ public seg_type; // 1-Single, 2-Left, 3-Middle, 4-Right.
+ public seg_state; // 1-Normal/Default, 2-Pressed, 3-Selected.
+ public seg_status;// 0-Enabled/Default, 1-Disabled
+
+ public update_state() {
+ new type, state, disabled;
+ type = get_int(seg_type);
+ state = get_int(seg_state);
+ disabled = get_int(seg_status);
+ if( state ==1 )
+ {
+ if(type == 1)
+ set_state(PART:"segment", "default_single", 0.0);
+ else if(type == 2)
+ set_state(PART:"segment", "default_left", 0.0);
+ else if(type == 3)
+ set_state(PART:"segment", "default_middle", 0.0);
+ else if(type == 4)
+ set_state(PART:"segment", "default_right", 0.0);
+ }
+ else if( state == 2 )
+ {
+ if(type == 1)
+ set_state(PART:"segment", "pressed_single", 0.0);
+ else if(type == 2)
+ set_state(PART:"segment", "pressed_left", 0.0);
+ else if(type == 3)
+ set_state(PART:"segment", "pressed_middle", 0.0);
+ else if(type == 4)
+ set_state(PART:"segment", "pressed_right", 0.0);
+ }
+ else if( state == 3 )
+ {
+ if(type == 1)
+ set_state(PART:"segment", "selected_single", 0.0);
+ else if(type == 2)
+ set_state(PART:"segment", "selected_left", 0.0);
+ else if(type == 3)
+ set_state(PART:"segment", "selected_middle", 0.0);
+ else if(type == 4)
+ set_state(PART:"segment", "selected_right", 0.0);
+ }
+ if( disabled == 1 )
+ {
+ if(type == 1)
+ set_state(PART:"disabler", "disabled_single", 0.0);
+ else if(type == 2)
+ set_state(PART:"disabler", "disabled_left", 0.0);
+ else if(type == 3)
+ set_state(PART:"disabler", "disabled_middle", 0.0);
+ else if(type == 4)
+ set_state(PART:"disabler", "disabled_right", 0.0);
+ }
+ }
+ }
+ program {
+ name: "segment_type_s";
+ signal: "elm,type,segment,single";
+ source: "elm";
+ script {
+ set_int(seg_type, 1);
+ update_state();
+ }
+ }
+ program {
+ name: "segment_type_l";
+ signal: "elm,type,segment,left";
+ source: "elm";
+ script {
+ set_int(seg_type, 2);
+ update_state();
+ }
+ }
+ program {
+ name: "segment_type_m";
+ signal: "elm,type,segment,middle";
+ source: "elm";
+ script {
+ set_int(seg_type, 3);
+ update_state();
+ }
+ }
+ program {
+ name: "segment_type_r";
+ signal: "elm,type,segment,right";
+ source: "elm";
+ script {
+ set_int(seg_type, 4);
+ update_state();
+ }
+ }
+ program {
+ name: "normal_segment";
+ signal: "elm,state,segment,normal";
+ source: "elm";
+ script {
+ set_int(seg_state, 1);
+ update_state();
+ }
+ }
+ program {
+ name: "pressed_segment";
+ signal: "elm,state,segment,pressed";
+ source: "elm";
+ script {
+ set_int(seg_state, 2);
+ update_state();
+ }
+ }
+ program {
+ name: "selected_segment";
+ signal: "elm,state,segment,selected";
+ source: "elm";
+ script {
+ set_int(seg_state, 3 );
+ update_state();
+ }
+ }
+ program { name: "disable_segment";
+ signal: "elm,state,disabled";
+ source: "elm";
+ script {
+ set_int(seg_status, 1);
+ update_state();
+ }
+ }
+ program { name: "enable_segment";
+ signal: "elm,state,enabled";
+ source: "elm";
+ script {
+ set_int(seg_status, 0);
+ update_state();
+ }
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ set_state(PART:"elm.swallow.label", "visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ set_state(PART:"elm.swallow.label", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.label", st, 30, vl);
+ if (!strcmp(st, "normal"))
+ {
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ }
+ }
+ group { name: "elm/label/base/segment_normal";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "16";
+ data.item: "max_font_size" "24";
+ styles {
+ style { name: "seg_text_style_normal";
+ base: "font=Sans font_size=16 style=shadow \
+ shadow_color=#2924224d \
+ align=center \
+ color=#ffffffff wrap=char";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=Sans:style=Bold";
+ tag: "tab" "\t";
+ }
+ style { name: "seg_text_style_selected";
+ base: "font=Sans:style=Bold font_size=16 style=shadow \
+ shadow_color=#aaaaaa4d \
+ align=center \
+ color=#111111ff wrap=char";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=Sans:style=Bold";
+ tag: "b" "+ font=Sans:style=Bold";
+ tag: "tab" "\t";
+ }
+ style { name: "seg_text_style_disabled";
+ base: "font=SLP:style=Medium font_size=24 style=shadow \
+ shadow_color=#2924224d \
+ align=center color=#2924224d \
+ wrap=char";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "label.swallow.background";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 1;
+ rel1.relative, 0.0 0.0;
+ rel2.relative, 1.0 1.0;
+ }
+ }
+ part { name: "label.text.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0 0; to: "label.swallow.background"; }
+ rel2 { relative: 1 1; to: "label.swallow.background"; }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ effect: SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative, 0.0 0.0;
+ rel2.relative, 1.0 1.0;
+ align: 0.0 0.5;
+ text {
+ style: "seg_text_style_normal";
+ align: 0.0 0.5;
+ min: 1 0;
+ }
+ }
+ }
+ }
+ }
+
+ group { name: "elm/label/base/segment_pressed";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "16";
+ data.item: "max_font_size" "24";
+ parts {
+ part { name: "label.swallow.background";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 1;
+ rel1.relative, 0.0 0.0;
+ rel2.relative, 1.0 1.0;
+ }
+ }
+ part { name: "label.text.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0 0; to: "label.swallow.background"; }
+ rel2 { relative: 1 1; to: "label.swallow.background"; }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ effect: SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative, 0.0 0.0;
+ rel2.relative, 1.0 1.0;
+ align: 0.0 0.5;
+ text {
+ style: "seg_text_style_selected";
+ align: 0.0 0.5;
+ min: 1 0;
+ }
+ }
+ }
+ }
+}
+
+ group { name: "elm/label/base/segment_selected";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "16";
+ data.item: "max_font_size" "24";
+ parts {
+ part { name: "label.swallow.background";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 1;
+ rel1.relative, 0.0 0.0;
+ rel2.relative, 1.0 1.0;
+ }
+ }
+ part { name: "label.text.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0 0; to: "label.swallow.background"; }
+ rel2 { relative: 1 1; to: "label.swallow.background"; }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ effect: SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative, 0.0 0.0;
+ rel2.relative, 1.0 1.0;
+ align: 0.0 0.5;
+ text {
+ style: "seg_text_style_selected";
+ align: 0.0 0.5;
+ min: 1 0;
+ }
+ }
+ }
+ }
+ }
+ group { name: "elm/label/base/segment_disabled";
+ data.item: "default_font_size" "24";
+ data.item: "min_font_size" "16";
+ data.item: "max_font_size" "24";
+ parts {
+ part { name: "label.swallow.background";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 1;
+ rel1.relative, 0.0 0.0;
+ rel2.relative, 1.0 1.0;
+ }
+ }
+ part { name: "label.text.clip";
+ type: RECT;
+ description { state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0 0; to: "label.swallow.background"; }
+ rel2 { relative: 1 1; to: "label.swallow.background"; }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ effect: SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative, 0.0 0.0;
+ rel2.relative, 1.0 1.0;
+ align: 0.0 0.5;
+ text {
+ style: "seg_text_style_disabled";
+ align: 0.0 0.5;
+ min: 1 0;
+ }
+ }
+ }
+ }
+ }
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/focus_highlight/top/default";
images {
visible: 0;
color: 255 255 255 0;
}
- }
+ }
part { name: "sb_vbar_clip";
clip_to:"sb_vbar_clip_master";
type: RECT;
}
part { name: "elm.dragable.vbar";
clip_to: "sb_vbar_clip";
- mouse_events: 0;
+ mouse_events: 0;
scale: 1;
dragable {
x: 0 0 0;
visible: 0;
color: 255 255 255 0;
}
- }
+ }
part { name: "sb_hbar_clip";
clip_to: "sb_hbar_clip_master";
type: RECT;
type: RECT;
mouse_events: 0;
scale: 1;
- description { state: "default" 0.0;
+ description { state: "default" 0.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; }
+ rel2 { to:"clipper"; relative: 1.0 1.0; }
}
}
part { name: "elm.dragable.hbar";
clip_to: "sb_hbar_clip";
- mouse_events: 0;
+ mouse_events: 0;
scale: 1;
dragable {
x: 1 1 0;
}
}
}
- }
+ }
programs {
program { name: "load";
signal: "load";
set_int(sbvis_v, 0);
set_int(sbvis_h, 0);
set_int(sbalways_v, 0);
- set_int(sbalways_h, 0);
+ set_int(sbalways_h, 0);
set_int(sbvis_timer, 0);
}
- }
+ }
program { name: "vbar_show";
signal: "elm,action,show,vbar";
source: "elm";
source: "elm";
action: STATE_SET "hidden" 0.0;
target: "sb_vbar_clip_master";
- }
+ }
program { name: "vbar_show_always";
signal: "elm,action,show_always,vbar";
source: "elm";
}
}
}
- }
+ }
program { name: "sb_vbar_show";
signal: "do-show-vbar";
source: "";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 1.0;
target: "sb_hbar_clip";
- }
+ }
program { name: "scroll";
signal: "elm,action,scroll";
source: "elm";
transition: DECELERATE 0.3;
target: "focus_highlight";
}
- }
- }
+ }
+ }
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/ctxpopup/bg/default";
parts {
source: "elm";
action: STATE_SET "default" 0.0;
target: "ctxpopup_bg";
- }
+ }
}
}
///////////////////////////////////////////////////////////////////////////////
rel1 { to:"base"; offset: 4 4; };
rel2 { to:"base"; offset: -5 -5; };
}
- }
- }
- }
+ }
+ }
+ }
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/ctxpopup/arrow/default";
images {
image: "icon_arrow_up.png" COMP;
image: "icon_arrow_down.png" COMP;
}
- parts {
- part { name: "ctxpopup_arrow";
+ parts {
+ part { name: "ctxpopup_arrow";
type: IMAGE;
scale: 1;
description {
min: 40 40;
fixed: 1 1;
align: 0.0 0.5;
- image { normal: "icon_arrow_left.png";
- }
+ image { normal: "icon_arrow_left.png"; }
}
description { state: "right" 0.0;
min: 40 40;
fixed: 1 1;
align: 1.0 0.5;
- image { normal: "icon_arrow_right.png";
- }
+ image { normal: "icon_arrow_right.png"; }
}
description { state: "top" 0.0;
min: 40 40;
fixed: 1 1;
align: 0.5 0.0;
- image { normal: "icon_arrow_up.png";
- }
+ image { normal: "icon_arrow_up.png"; }
}
description { state: "bottom" 0.0;
min: 40 40;
fixed: 1 1;
align: 0.5 1.0;
- image { normal: "icon_arrow_down.png";
- }
+ image { normal: "icon_arrow_down.png"; }
}
}
}
}
}
///////////////////////////////////////////////////////////////////////////////
- group {
+ group {
name: "elm/ctxpopup/icon_text_style_item/default";
- alias: "elm/ctxpopup/text_style_item/default";
- alias: "elm/ctxpopup/icon_style_item/default";
+ alias: "elm/ctxpopup/text_style_item/default";
+ alias: "elm/ctxpopup/icon_style_item/default";
images {
image: "hoversel_entry_bg.png" COMP;
}
color: 255 255 255 0;
}
description { state: "clicked" 0.0;
- inherit: "default" 0.0;
+ inherit: "default" 0.0;
color: 255 255 255 255;
}
}
scale: 1;
description { state: "default" 0.0;
min: 25 25;
- max: 25 25;
- align: 0 0.5;
+ max: 25 25;
+ align: 0 0.5;
aspect: 1.0 1.0;
rel1 { offset: 10 10; }
- rel2 { offset: 0 -10; }
+ rel2 { offset: 0 -10; }
}
- }
+ }
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
inherit: "default" 0.0;
color: 0 0 0 255;
}
- }
- part { name: "over1";
+ }
+ part { name: "over1";
mouse_events: 1;
repeat_events: 1;
ignore_flags: ON_HOLD;
color: 255 255 255 0;
}
description { state: "clicked" 0.0;
- inherit: "default" 0.0;
+ inherit: "default" 0.0;
color: 255 255 255 255;
}
}
color: 255 255 255 0;
}
description { state: "clicked" 0.0;
- inherit: "default" 0.0;
+ inherit: "default" 0.0;
color: 255 255 255 255;
}
}
signal: "mouse,up,1";
source: "over1";
action: SIGNAL_EMIT "elm,action,click" "";
- }
+ }
program { name: "disable";
signal: "elm,state,disabled";
source: "elm";
set_state(PART:"elm.text", "clicked", 0.0);
set_state(PART:"bg", "clicked", 0.0);
}
- }
+ }
program { name: "item_unclick2";
signal: "mouse,up,1";
source: "over2";
- script {
- set_state(PART:"elm.text", "default", 0.0);
+ script {
+ set_state(PART:"elm.text", "default", 0.0);
set_state(PART:"bg", "default", 0.0);
- }
+ }
}
- }
- }
+ }
+ }
///////////////////////////////////////////////////////////////////////////////
// emoticon images from:
// Tanya - Latvia