group {
name: "elm/ctxpopup/layout/landscape/more/default";
inherit: "elm/ctxpopup/layout/landscape/default";
- max: CTXPOPUP_MORE_WIDTH_MAX_INC ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*5)+CTXPOPUP_SHADOW_TOP_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*8));
+ max: CTXPOPUP_MORE_WIDTH_LANDSCAPE_MAX_INC ((CTXPOPUP_ITEM_HEIGHT_MIN_INC*5)+CTXPOPUP_SHADOW_TOP_PADDING+(CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC*8));
}
///////////////////////////////////////////////////////////////////////////////
group {
fixed: 1 1;
min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
- rel1 {relative: 0 0; to: "content_left_top_padding";}
+ rel1 {relative: 1 1; to: "frame_shadow_left_top_padding";}
}
}
part {
fixed: 1 1;
min: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
max: CTXPOPUP_FRAME_CORNER_ARROW_PADDING CTXPOPUP_FRAME_CORNER_ARROW_PADDING;
- rel2 {relative: 1 1; to: "content_right_bottom_padding";}
+ rel2 {relative: 0 0; to: "frame_shadow_right_bottom_padding";}
}
}
part {
group {
name: "elm/ctxpopup/text_style_item/default";
+ images {
+ image: "00_more_popup_press.png" COMP;
+ }
+
data.item: "item_max_size" CTXPOPUP_TEXT_MAX_INC;
parts {
part {
name: "bg";
mouse_events: 0;
- type: RECT;
+ type: IMAGE;
scale: 1;
description {
state: "default" 0.0;
}
description {
state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;}
+ rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;}
visible: 1;
+ image {
+ normal: "00_more_popup_press.png";
+ border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
+ border_scale: 1;
+ }
}
+ }
+ part {
+ name: "bg_press_left_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
description {
- state: "clicked_separator" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to_y: "separator2"; }
- color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC;
+ max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC;
+ align: 0 0.5;
+ }
+ }
+ part {
+ name: "bg_press_right_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC;
+ max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC;
+ align: 1 0.5;
+ }
+ }
+ part {
+ name: "bg_press_top_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ rel1 {to: "separator2"; relative: 0.0 1.0;}
+ align: 0.5 0;
+ }
+ }
+ part {
+ name: "bg_press_bottom_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ align: 0.5 1;
}
}
part {
source: "over2";
script {
set_state(PART:"elm.text", "clicked", 0.0);
-
- new st[31];
- new Float:vl;
- get_state(PART:"separator2", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"bg", "clicked", 0.0);
- else
- set_state(PART:"bg", "clicked_separator", 0.0);
+ set_state(PART:"bg", "clicked", 0.0);
}
}
program {
description {
state: "clicked" 0.0;
visible: 1;
+ rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;}
+ rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;}
image {
normal: "00_more_popup_press.png";
border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
border_scale: 1;
}
}
+ }
+ part {
+ name: "bg_press_left_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
description {
- state: "clicked_separator" 0.0;
- rel1 { relative: 1.0 0.0; to_x: "separator2"; }
- visible: 1;
- image {
- normal: "00_more_popup_press.png";
- border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
- border_scale: 1;
- }
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
+ max: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
+ rel1 {to: "separator2"; relative: 1.0 0.0;}
+ align: 0 0.5;
+ }
+ }
+ part {
+ name: "bg_press_right_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
+ max: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
+ align: 1 0.5;
+ }
+ }
+ part {
+ name: "bg_press_top_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
+ max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
+ align: 0.5 0;
+ }
+ }
+ part {
+ name: "bg_press_bottom_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
+ max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
+ align: 0.5 1;
}
}
part {
source: "over2";
script {
set_state(PART:"elm.text", "clicked", 0.0);
-
- new st[31];
- new Float:vl;
- get_state(PART:"separator2", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"bg", "clicked", 0.0);
- else
- set_state(PART:"bg", "clicked_separator", 0.0);
+ set_state(PART:"bg", "clicked", 0.0);
}
}
program {
description {
state: "clicked" 0.0;
visible: 1;
+ rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;}
+ rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;}
image {
normal: "00_more_popup_press.png";
border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
border_scale: 1;
}
}
+ }
+ part {
+ name: "bg_press_left_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
description {
- state: "clicked_separator" 0.0;
- rel1 { relative: 1.0 0.0; to_x: "separator2"; }
- visible: 1;
- image {
- normal: "00_more_popup_press.png";
- border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
- border_scale: 1;
- }
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
+ max: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
+ rel1 {to: "separator2"; relative: 1.0 0.0;}
+ align: 0 0.5;
+ }
+ }
+ part {
+ name: "bg_press_right_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
+ max: CTXPOPUP_PRESS_PADDING2 (CTXPOPUP_ITEM_HORIZONTAL_HEIGHT_INC-CTXPOPUP_CONTENT_PADDING_HEIGHT*2);
+ align: 1 0.5;
+ }
+ }
+ part {
+ name: "bg_press_top_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
+ max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
+ align: 0.5 0;
+ }
+ }
+ part {
+ name: "bg_press_bottom_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
+ max: CTXPOPUP_ICON_ITEM_HORIZONTAL_WIDTH_INC CTXPOPUP_PRESS_PADDING;
+ align: 0.5 1;
}
}
part {
signal: "mouse,down,1";
source: "over2";
script {
- new st[31];
- new Float:vl;
- get_state(PART:"separator2", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"bg", "clicked", 0.0);
- else
- set_state(PART:"bg", "clicked_separator", 0.0);
+ set_state(PART:"bg", "clicked", 0.0);
}
}
program {
group {
name: "elm/ctxpopup/icon_text_style_item/default";
+ images {
+ image: "00_more_popup_press.png" COMP;
+ }
+
data.item: "item_max_size" CTXPOPUP_ICON_TEXT_MAX_INC;
parts {
part {
name: "bg";
mouse_events: 0;
- type: RECT;
+ type: IMAGE;
description {
state: "default" 0.0;
visible: 0;
}
description {
state: "clicked" 0.0;
- color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;}
+ rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;}
visible: 1;
+ image {
+ normal: "00_more_popup_press.png";
+ border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
+ border_scale: 1;
+ }
}
+ }
+ part {
+ name: "bg_press_left_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
description {
- state: "clicked_separator" 0.0;
- rel1 { relative: 0.0 1.0; to_y: "separator2"; }
- color: CTXPOPUP_BG_PRESS_COLOR_INC;
- visible: 1;
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC;
+ max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC;
+ align: 0 0.5;
+ }
+ }
+ part {
+ name: "bg_press_right_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC;
+ max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC;
+ align: 1 0.5;
+ }
+ }
+ part {
+ name: "bg_press_top_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ rel1 {to: "separator2"; relative: 0.0 1.0;}
+ align: 0.5 0;
+ }
+ }
+ part {
+ name: "bg_press_bottom_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ align: 0.5 1;
}
}
part {
source: "over2";
script {
set_state(PART:"elm.text", "clicked", 0.0);
-
- new st[31];
- new Float:vl;
- get_state(PART:"separator2", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"bg", "clicked", 0.0);
- else
- set_state(PART:"bg", "clicked_separator", 0.0);
+ set_state(PART:"bg", "clicked", 0.0);
}
}
program {
group {
name: "elm/ctxpopup/icon_text_style_item/more/default";
+ images {
+ image: "00_more_popup_press.png" COMP;
+ }
+
data.item: "item_max_size" CTXPOPUP_MORE_TEXT_MAX_INC;
parts {
part {
name: "bg";
mouse_events: 0;
- type: RECT;
+ type: IMAGE;
scale: 1;
description {
state: "default" 0.0;
}
description {
state: "clicked" 0.0;
- color: CTXPOPUP_BG_PRESS_COLOR_INC;
+ rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;}
+ rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;}
visible: 1;
+ image {
+ normal: "00_more_popup_press.png";
+ border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
+ border_scale: 1;
+ }
}
+ }
+ part {
+ name: "bg_press_left_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
description {
- state: "clicked_separator" 0.0;
- rel1 { relative: 0.0 1.0; to_y: "separator2"; }
- color: CTXPOPUP_BG_PRESS_COLOR_INC;
- visible: 1;
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC;
+ max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC;
+ align: 0 0.5;
+ }
+ }
+ part {
+ name: "bg_press_right_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MIN_INC;
+ max: CTXPOPUP_PRESS_PADDING CTXPOPUP_ITEM_HEIGHT_MAX_INC;
+ align: 1 0.5;
+ }
+ }
+ part {
+ name: "bg_press_top_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ rel1 {to: "separator2"; relative: 0.0 1.0;}
+ align: 0.5 0;
+ }
+ }
+ part {
+ name: "bg_press_bottom_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: (CTXPOPUP_WIDTH_MIN_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ max: (CTXPOPUP_WIDTH_MAX_INC-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ align: 0.5 1;
}
}
part {
source: "over2";
script {
set_state(PART:"elm.text", "clicked", 0.0);
-
- new st[31];
- new Float:vl;
- get_state(PART:"separator2", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"bg", "clicked", 0.0);
- else
- set_state(PART:"bg", "clicked_separator", 0.0);
+ set_state(PART:"bg", "clicked", 0.0);
}
}
program {
description {
state: "clicked" 0.0;
visible: 1;
+ rel1 {to_x: "bg_press_left_padding"; to_y: "bg_press_top_padding"; relative: 1.0 1.0;}
+ rel2 {to_x: "bg_press_right_padding"; to_y: "bg_press_bottom_padding"; relative: 0.0 0.0;}
image {
normal: "00_more_popup_press.png";
border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
border_scale: 1;
}
}
+ }
+ part {
+ name: "bg_press_left_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
description {
- state: "clicked_separator" 0.0;
- rel1 { relative: 0.0 1.0; to_y: "separator2"; }
- visible: 1;
- image {
- normal: "00_more_popup_press.png";
- border: CTXPOPUP_BUBBLE_BG_PRESSED_IMAGE_BORDER;
- border_scale: 1;
- }
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_PRESS_PADDING CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
+ max: CTXPOPUP_PRESS_PADDING CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
+ align: 0 0.5;
+ }
+ }
+ part {
+ name: "bg_press_right_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: CTXPOPUP_PRESS_PADDING CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MIN_INC;
+ max: CTXPOPUP_PRESS_PADDING CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_HEIGHT_MAX_INC;
+ align: 1 0.5;
+ }
+ }
+ part {
+ name: "bg_press_top_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ rel1 {to: "separator2"; relative: 0.0 1.0;}
+ align: 0.5 0;
+ }
+ }
+ part {
+ name: "bg_press_bottom_padding";
+ mouse_events: 0;
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ max: (CTXPOPUP_TOOLBAR_SEGMENTEDCONTROL_WIDTH_MIN_INC-CTXPOPUP_SHADOW_LEFT_PADDING-CTXPOPUP_SHADOW_RIGHT_PADDING-CTXPOPUP_CONTENT_PADDING_WIDTH*2) CTXPOPUP_PRESS_PADDING2;
+ align: 0.5 1;
}
}
part {
description {
state: "default" 0.0;
color: CTXPOPUP_SEPARATOR_COLOR_INC;
- rel1 { relative: 1.0 0.0; to_x: "left_padding";}
- rel2 { relative: 0.0 1.0; to_x: "right_padding"; offset: 0 0;}
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
align: 0.5 0;
min: 0 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
max: 999999 CTXPOPUP_SEPARATOR_PXLINE_SIZE_INC;
source: "over2";
script {
set_state(PART:"elm.text", "clicked", 0.0);
-
- new st[31];
- new Float:vl;
- get_state(PART:"separator2", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"bg", "clicked", 0.0);
- else
- set_state(PART:"bg", "clicked_separator", 0.0);
+ set_state(PART:"bg", "clicked", 0.0);
}
}
program {