alias: "elm/nocontents/base/full";
styles{
style { name: "nocontent_style";
- base: "font=SLP:style=Roman font_size=26 \
+ base: "font=SLP:style=Roman font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" \
align=center \
color=#ffffff wrap=char";
tag: "br" "\n";
description { state: "default" 0.0;
visible: 1;
align: 0.5 0.0;
- rel1 { relative: 141/480 230/800; to: "bg";}
- rel2 { relative: 339/480 424/800; to: "bg";}
+ rel1 { relative: 0.176 0.287; to: "bg";}
+ rel2 { relative: 0.706 0.53; to: "bg";}
image {
normal: "00_winset_NoContents_image.png";
border: 1 1 1 1;
type: RECT;
description { state: "default" 0.0;
visible: 0;
- min: 1 34;
- max: 1 34;
+ min: 1 NOCONTENT_MIDDLE_PADDING_INC;
+ max: 1 NOCONTENT_MIDDLE_PADDING_INC;
align: 0.5 0.0;
rel1 { relative: 0.0 1.0; to_y: "nocontents.image";}
}
type: TEXTBLOCK;
scale: 1;
description { state: "default" 0.0;
- min: 0 29;
+ //min: 0 29;
fixed: 0 1;
align: 0.5 0.0;
visible: 1;
rel1 { relative: 0.0 1.0; to_y: "middle.padding";}
- rel2 { relative: 1.0 484/800; to:"bg";}
+ rel2 { relative: 1.0 0.605; to:"bg";}
color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
text {
style: "nocontent_style";
type: RECT;
description { state: "default" 0.0;
visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
color: 0 0 0 0;
}
}
description { state: "default" 0.0;
visible: 1;
align: 0.5 0.0;
- rel1 { relative: 141/480 230/800; to: "bg";}
- rel2 { relative: 339/480 424/800; to: "bg";}
+ rel1 {
+ relative: 0.294 0.288;
+ to: "bg";
+ }
+ rel2 {
+ relative: 0.706 0.53;
+ to: "bg";
+ }
image {
normal: "00_winset_NoContents_multimedia.png";
border: 1 1 1 1;
type: RECT;
description { state: "default" 0.0;
visible: 0;
- min: 1 34;
- max: 1 34;
+ min: 1 NOCONTENT_MIDDLE_PADDING_INC;
+ max: 1 NOCONTENT_MIDDLE_PADDING_INC;
align: 0.5 0.0;
- rel1 { relative: 0.0 1.0; to_y: "nocontents.image";}
- color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "nocontents.image";
+ }
}
}
part { name: "elm.text";
type: TEXTBLOCK;
scale: 1;
description { state: "default" 0.0;
- min: 0 30;
fixed: 0 1;
align: 0.5 0.0;
visible: 1;
- rel1 { relative: 0.0 1.0; to_y: "middle.padding";}
- rel2 { relative: 1.0 484/800; to:"bg";}
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "middle.padding";
+ }
+ rel2 {
+ relative: 1.0 0.605;
+ to:"bg";
+ }
color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
text {
style: "nocontent_style";
type: RECT;
description { state: "default" 0.0;
visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
color: 0 0 0 0;
}
}
description { state: "default" 0.0;
visible: 1;
align: 0.5 0.0;
- rel1 { relative: 141/480 230/800; to: "bg";}
- rel2 { relative: 339/480 424/800; to: "bg";}
+ rel1 {
+ relative: 0.294 0.288;
+ to: "bg";
+ }
+ rel2 {
+ relative: 0.706 0.53;
+ to: "bg";
+ }
image {
normal: "00_winset_NoContents_text.png";
border: 1 1 1 1;
type: RECT;
description { state: "default" 0.0;
visible: 0;
- min: 1 34;
- max: 1 34;
+ min: 1 NOCONTENT_MIDDLE_PADDING_INC;
+ max: 1 NOCONTENT_MIDDLE_PADDING_INC;
align: 0.5 0.0;
- rel1 { relative: 0.0 1.0; to_y: "nocontents.image";}
- color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "nocontents.image";
+ }
}
}
part { name: "elm.text";
type: TEXTBLOCK;
scale: 1;
description { state: "default" 0.0;
- min: 0 30;
fixed: 0 1;
align: 0.5 0.0;
visible: 1;
- rel1 { relative: 0.0 1.0; to_y: "middle.padding";}
- rel2 { relative: 1.0 484/800; to:"bg";}
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "middle.padding";
+ }
+ rel2 {
+ relative: 1.0 0.605;
+ to:"bg";
+ }
color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
text {
style: "nocontent_style";
type: RECT;
description { state: "default" 0.0;
visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
color: 0 0 0 0;
}
}
description { state: "default" 0.0;
visible: 1;
align: 0.5 0.0;
- rel1 { relative: 141/480 230/800; to: "bg";}
- rel2 { relative: 339/480 424/800; to: "bg";}
+ rel1 {
+ relative: 0.294 0.288;
+ to: "bg";
+ }
+ rel2 {
+ relative: 0.706 0.53;
+ to: "bg";
+ }
image {
normal: "00_winset_NoContents_unnamed.png";
border: 1 1 1 1;
type: RECT;
description { state: "default" 0.0;
visible: 0;
- min: 1 34;
- max: 1 34;
+ min: 1 NOCONTENT_MIDDLE_PADDING_INC;
+ max: 1 NOCONTENT_MIDDLE_PADDING_INC;
align: 0.5 0.0;
- rel1 { relative: 0.0 1.0; to_y: "nocontents.image";}
- color: 0 0 0 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "nocontents.image";
+ }
}
}
part { name: "elm.text";
type: TEXTBLOCK;
scale: 1;
description { state: "default" 0.0;
- min: 0 30;
fixed: 0 1;
align: 0.5 0.0;
visible: 1;
- rel1 { relative: 0.0 1.0; to_y: "middle.padding";}
- rel2 { relative: 1.0 484/800; to:"bg";}
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "middle.padding";
+ }
+ rel2 {
+ relative: 1.0 0.605;
+ to:"bg";
+ }
color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
text {
style: "nocontent_style";
type: RECT;
description { state: "default" 0.0;
visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ }
color: 0 0 0 0;
}
}
type: RECT;
scale: 1;
description { state: "default" 0.0;
- min: 0 25;
+ min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
fixed: 0 1;
align: 0 0;
visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 0.0;}
+ rel1 {
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ }
color: 0 0 0 0;
}
}
type: TEXT;
scale: 1;
description { state: "default" 0.0;
- min: 0 30;
+ //min: 0 30;
fixed: 0 1;
align: 0 0;
visible: 1;
- rel1 { relative: 0.0 1.0; to:"top_padding";}
- rel2 { relative: 1.0 1.0; to:"top_padding";}
- color: 173 170 165 255;
+ rel1 {
+ relative: 0.0 1.0;
+ to:"top_padding";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to:"top_padding";
+ }
+ color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
text {
font: "SLP:style=Roman";
size: 30;
type: RECT;
scale: 1;
description { state: "default" 0.0;
- min: 0 25;
+ min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
fixed: 0 1;
align: 0 0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to:"elm.text";}
- rel2 { relative: 1.0 1.0; to:"elm.text";}
- color: 0 0 0 0;
+ visible: 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to:"elm.text";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to:"elm.text";
+ }
}
}
part { name: "custom";
fixed: 0 1;
align: 0 0;
visible: 1;
- rel1 { relative: 0.0 1.0; to:"text_bottom_padding";}
- rel2 { relative: 1.0 1.0; to:"text_bottom_padding";}
+ rel1 {
+ relative: 0.0 1.0;
+ to:"text_bottom_padding";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to:"text_bottom_padding";
+ }
}
}
}
//################################################################
group { name: "elm/segment_control/base/default";
+ images {
+ image: "00_winset_btn_sge_normal.png" COMP;
+ }
#define SEGMENT_TYPE_SINGLE 1
#define SEGMENT_TYPE_LEFT 2
#define SEGMENT_TYPE_MIDDLE 3
#define SEGMENT_STATUS_DISABLED 1
parts {
part { name: "bg";
- type: RECT;
mouse_events: 0;
scale: 1;
description {
state: "default" 0.0;
- color: 0 0 0 0;
min: 100 40;
+ rel1.offset: 0 0;
+ rel2.offset: 0 0;
+ image {
+ normal: "00_winset_btn_sge_normal.png";
+ border: 5 5 5 5;
+ border_scale: 1;
+ middle: 1;
+ }
}
}
}
image: "00_winset_btn_sge_normal_centre.png" COMP;
image: "00_winset_btn_sge_normal_right.png" COMP;
image: "00_winset_btn_sge_press_normal.png" COMP;
- image: "00_winset_btn_sge_press_left.png" COMP;
- image: "00_winset_btn_sge_press_center.png" COMP;
- image: "00_winset_btn_sge_press_right.png" COMP;
- image: "00_button_02_normal.png" COMP ;
- }
+ image: "00_winset_btn_sge_press_01.png" COMP;
+ image: "00_winset_btn_sge_press_02.png" COMP;
+ image: "00_winset_btn_sge_press_03.png" COMP;
+ }
parts {
+ part { name: "base";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
part { name: "segment";
- mouse_events: 1;
scale: 1;
description { state: "default" 0.0;
min: 1 1;
visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ to: "base";
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ to: "base";
+ relative: 1.0 1.0;
+ offset: 0 0;
+ }
image {
normal: "00_winset_btn_sge_normal.png";
border: 5 5 5 5;
description { state: "default_left" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel2.offset: -1 0; // 1 pixel seperator
image {
normal: "00_winset_btn_sge_normal_left.png";
border: 5 2 5 5;
description { state: "default_right" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel1.offset: 1 0; // 1 pixel seperator
image {
normal: "00_winset_btn_sge_normal_right.png";
border: 2 5 5 5;
description { state: "default_middle" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel1.offset: 1 0; // 1 pixel seperator
+ rel2.offset: -1 0; // 1 pixel seperator
image {
normal: "00_winset_btn_sge_normal_centre.png";
- border: 2 2 7 7;
+ border: 0 0 7 7;
}
}
description { state: "pressed_single" 0.0;
description { state: "pressed_left" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel2.offset: -1 0; // 1 pixel seperator
image {
- normal: "00_winset_btn_sge_press_left.png";
+ normal: "00_winset_btn_sge_press_01.png";
border: 5 2 5 5;
}
}
description { state: "pressed_right" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel1.offset: 1 0; // 1 pixel seperator
image {
- normal: "00_winset_btn_sge_press_right.png";
+ normal: "00_winset_btn_sge_press_03.png";
border: 2 5 5 5;
}
}
description { state: "pressed_middle" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel1.offset: 1 0; // 1 pixel seperator
+ rel2.offset: -1 0; // 1 pixel seperator
image {
- normal: "00_winset_btn_sge_press_center.png";
- border: 2 2 7 7;
+ normal: "00_winset_btn_sge_press_02.png";
+ border: 0 0 7 7;
}
}
description { state: "selected_single" 0.0;
description { state: "selected_left" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel2.offset: -1 0; // 1 pixel seperator
image {
- normal: "00_winset_btn_sge_press_left.png";
+ normal: "00_winset_btn_sge_press_01.png";
border: 5 2 5 5;
}
}
description { state: "selected_right" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel1.offset: 1 0; // 1 pixel seperator
image {
- normal: "00_winset_btn_sge_press_right.png";
+ normal: "00_winset_btn_sge_press_03.png";
border: 2 5 5 5;
}
}
description { state: "selected_middle" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel1.offset: 1 0; // 1 pixel seperator
+ rel2.offset: -1 0; // 1 pixel seperator
image {
- normal: "00_winset_btn_sge_press_center.png";
- border: 2 2 7 7;
+ normal: "00_winset_btn_sge_press_02.png";
+ border: 0 0 7 7;
+ }
+ }
+ }
+ part { name: "left_1pxl_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ min: 1 0;
+ fixed: 1 0;
+ rel1 {
+ to: "base";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.0 1.0;
+ }
+ color: SEGMENT_CONTROL_ITEM_1PX_LEFT_PADDING_COLOR_INC;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "right_1pxl_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 1.0 0.5;
+ min: 1 0;
+ fixed: 1 0;
+ rel1 {
+ to: "base";
+ relative: 1.0 0.0;
}
+ rel2 {
+ to: "base";
+ relative: 1.0 1.0;
+ }
+ color: SEGMENT_CONTROL_ITEM_1PX_RIGHT_PADDING_COLOR_INC;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
}
}
part { name: "padding_frame";
inherit: "default" 0.0;
visible: 1;
image {
- normal: "00_button_02_normal.png";
- border: 7 7 7 7;
+ normal: "00_winset_btn_sge_body.png";
+ border: 5 5 5 5;
}
}
description { state: "disabled_left" 0.0;
visible: 1;
image {
normal: "00_winset_btn_sge_normal_centre.png";
- border: 2 2 7 7;
+ border: 0 0 7 7;
}
}
}
if(state == SEGMENT_STATE_NORMAL)
{
if(type == SEGMENT_TYPE_SINGLE)
- set_state(PART:"segment", "default_single", 0.0);
+ {
+ set_state(PART:"segment", "default_single", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
else if(type == SEGMENT_TYPE_LEFT)
- set_state(PART:"segment", "default_left", 0.0);
+ {
+ set_state(PART:"segment", "default_left", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_MIDDLE)
- set_state(PART:"segment", "default_middle", 0.0);
+ {
+ set_state(PART:"segment", "default_middle", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_RIGHT)
- set_state(PART:"segment", "default_right", 0.0);
+ {
+ set_state(PART:"segment", "default_right", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
set_state(PART:"elm.text", "normal", 0.0);
}
else if(state == SEGMENT_STATE_PRESSED)
{
if(type == SEGMENT_TYPE_SINGLE)
- set_state(PART:"segment", "pressed_single", 0.0);
+ {
+ set_state(PART:"segment", "pressed_single", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
else if(type == SEGMENT_TYPE_LEFT)
- set_state(PART:"segment", "pressed_left", 0.0);
+ {
+ set_state(PART:"segment", "pressed_left", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_MIDDLE)
- set_state(PART:"segment", "pressed_middle", 0.0);
+ {
+ set_state(PART:"segment", "pressed_middle", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_RIGHT)
- set_state(PART:"segment", "pressed_right", 0.0);
+ {
+ set_state(PART:"segment", "pressed_right", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
set_state(PART:"elm.text", "pressed", 0.0);
}
else if(state == SEGMENT_STATE_SELECTED)
{
if(type == SEGMENT_TYPE_SINGLE)
- set_state(PART:"segment", "selected_single", 0.0);
+ {
+ set_state(PART:"segment", "selected_single", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
else if(type == SEGMENT_TYPE_LEFT)
- set_state(PART:"segment", "selected_left", 0.0);
+ {
+ set_state(PART:"segment", "selected_left", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_MIDDLE)
- set_state(PART:"segment", "selected_middle", 0.0);
+ {
+ set_state(PART:"segment", "selected_middle", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_RIGHT)
- set_state(PART:"segment", "selected_right", 0.0);
+ {
+ set_state(PART:"segment", "selected_right", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
set_state(PART:"elm.text", "selected", 0.0);
}
if(disabled == SEGMENT_STATUS_DISABLED)
{
if(type == SEGMENT_TYPE_SINGLE)
- set_state(PART:"disabler", "disabled_single", 0.0);
+ {
+ set_state(PART:"disabler", "disabled_single", 0.0);
+ }
else if(type == SEGMENT_TYPE_LEFT)
- set_state(PART:"disabler", "disabled_left", 0.0);
+ {
+ set_state(PART:"disabler", "disabled_left", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_MIDDLE)
- set_state(PART:"disabler", "disabled_middle", 0.0);
+ {
+ set_state(PART:"disabler", "disabled_middle", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_RIGHT)
- set_state(PART:"disabler", "disabled_right", 0.0);
+ {
+ set_state(PART:"disabler", "disabled_right", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
set_state(PART:"elm.text", "disabled", 0.0);
}
else
}
group { name: "elm/segment_control/base/body_style";
+ images {
+ image: "00_winset_btn_sge_body.png" COMP;
+ }
parts {
part { name: "bg";
- type: RECT;
mouse_events: 0;
scale: 1;
description {
state: "default" 0.0;
- color: 203 193 182 255;
- rel1.offset: 5 0;
- rel2.offset: -5 -1;
+ rel1.offset: 0 0;
+ rel2.offset: 0 1;
min: 100 40;
+ image {
+ normal: "00_winset_btn_sge_body.png";
+ border: 5 5 5 5;
+ border_scale: 1;
+ middle: 1;
+ }
}
}
}
image: "00_winset_btn_sge_body_normal_centre.png" COMP;
image: "00_winset_btn_sge_body_normal_right.png" COMP;
image: "00_winset_btn_sge_body.png" COMP;
- image: "00_winset_btn_sge_body_press_center.png" COMP;
image: "00_winset_btn_sge_body_press_left.png" COMP;
+ image: "00_winset_btn_sge_body_press_center.png" COMP;
image: "00_winset_btn_sge_body_press_right.png" COMP;
- image: "00_button_02_normal.png" COMP;
- }
+ }
parts {
+ part { name: "base";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
part { name: "segment";
mouse_events: 1;
scale: 1;
description { state: "default" 0.0;
min: 1 1;
visible: 0;
+ rel1 {
+ to: "base";
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ to: "base";
+ relative: 1.0 1.0;
+ offset: 0 0;
+ }
image {
normal: "00_winset_btn_sge_body.png";
border: 5 5 5 5;
description { state: "default_left" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel2.offset: -1 0; // 1 pixel seperator
image {
normal: "00_winset_btn_sge_body_normal_left.png";
border: 5 2 5 5;
description { state: "default_right" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel1.offset: 1 0; // 1 pixel seperator
image {
normal: "00_winset_btn_sge_body_normal_right.png";
border: 2 5 5 5;
description { state: "default_middle" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel1.offset: 1 0; // 1 pixel seperator
+ rel2.offset: -1 0; // 1 pixel seperator
image {
normal: "00_winset_btn_sge_body_normal_centre.png";
- border: 2 2 5 5;
+ border: 0 0 5 5;
}
}
description { state: "pressed_single" 0.0;
description { state: "pressed_left" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel2.offset: -1 0; // 1 pixel seperator
image {
normal: "00_winset_btn_sge_body_press_left.png";
border: 5 2 5 5;
description { state: "pressed_right" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel1.offset: 1 0; // 1 pixel seperator
image {
normal: "00_winset_btn_sge_body_press_right.png";
border: 2 5 5 5;
description { state: "pressed_middle" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel1.offset: 1 0; // 1 pixel seperator
+ rel2.offset: -1 0; // 1 pixel seperator
image {
normal: "00_winset_btn_sge_body_press_center.png";
- border: 2 2 7 7;
+ border: 0 0 7 7;
}
}
description { state: "selected_single" 0.0;
description { state: "selected_left" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel2.offset: -1 0; // 1 pixel seperator
image {
normal: "00_winset_btn_sge_body_press_left.png";
border: 5 2 5 5;
description { state: "selected_right" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel1.offset: 1 0; // 1 pixel seperator
image {
normal: "00_winset_btn_sge_body_press_right.png";
border: 2 5 5 5;
description { state: "selected_middle" 0.0;
inherit: "default" 0.0;
visible: 1;
+ rel1.offset: 1 0; // 1 pixel seperator
+ rel2.offset: -1 0; // 1 pixel seperator
image {
normal: "00_winset_btn_sge_body_press_center.png";
- border: 2 2 7 7;
+ border: 0 0 7 7;
}
}
}
+ part { name: "left_1pxl_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ min: 1 0;
+ fixed: 1 0;
+ rel1 {
+ to: "base";
+ relative: 0.0 0.0;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.0 1.0;
+ }
+ color: SEGMENT_CONTROL_BODY_ITEM_1PX_LEFT_PADDING_COLOR_INC;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "right_1pxl_padding";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 1.0 0.5;
+ min: 1 0;
+ fixed: 1 0;
+ rel1 {
+ to: "segment";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "segment";
+ relative: 1.0 1.0;
+ }
+ color: SEGMENT_CONTROL_BODY_ITEM_1PX_RIGHT_PADDING_COLOR_INC;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
part { name: "padding_frame";
type: RECT;
scale: 1;
inherit: "default" 0.0;
visible: 1;
image {
- normal: "00_button_02_normal.png";
- border: 7 7 7 7;
+ normal: "00_winset_btn_sge_body.png";
+ border: 5 5 5 5;
}
}
description { state: "disabled_left" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
- normal: "00_winset_btn_sge_normal_left.png";
+ normal: "00_winset_btn_sge_body_normal_left.png";
border: 5 2 5 5;
}
}
inherit: "default" 0.0;
visible: 1;
image {
- normal: "00_winset_btn_sge_normal_right.png";
+ normal: "00_winset_btn_sge_body_normal_right.png";
border: 2 5 5 5;
}
}
inherit: "default" 0.0;
visible: 1;
image {
- normal: "00_winset_btn_sge_normal_centre.png";
- border: 2 2 7 7;
+ normal: "00_winset_btn_sge_body_normal_centre.png";
+ border: 0 0 7 7;
}
}
}
if(state == SEGMENT_STATE_NORMAL)
{
if(type == SEGMENT_TYPE_SINGLE)
- set_state(PART:"segment", "default_single", 0.0);
+ {
+ set_state(PART:"segment", "default_single", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
else if(type == SEGMENT_TYPE_LEFT)
- set_state(PART:"segment", "default_left", 0.0);
+ {
+ set_state(PART:"segment", "default_left", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_MIDDLE)
- set_state(PART:"segment", "default_middle", 0.0);
+ {
+ set_state(PART:"segment", "default_middle", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_RIGHT)
- set_state(PART:"segment", "default_right", 0.0);
+ {
+ set_state(PART:"segment", "default_right", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
set_state(PART:"elm.text", "normal", 0.0);
}
else if(state == SEGMENT_STATE_PRESSED)
{
if(type == SEGMENT_TYPE_SINGLE)
- set_state(PART:"segment", "pressed_single", 0.0);
+ {
+ set_state(PART:"segment", "pressed_single", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
else if(type == SEGMENT_TYPE_LEFT)
- set_state(PART:"segment", "pressed_left", 0.0);
+ {
+ set_state(PART:"segment", "pressed_left", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_MIDDLE)
- set_state(PART:"segment", "pressed_middle", 0.0);
+ {
+ set_state(PART:"segment", "pressed_middle", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_RIGHT)
- set_state(PART:"segment", "pressed_right", 0.0);
+ {
+ set_state(PART:"segment", "pressed_right", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
set_state(PART:"elm.text", "pressed", 0.0);
}
else if(state == SEGMENT_STATE_SELECTED)
{
if(type == SEGMENT_TYPE_SINGLE)
- set_state(PART:"segment", "selected_single", 0.0);
+ {
+ set_state(PART:"segment", "selected_single", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
else if(type == SEGMENT_TYPE_LEFT)
- set_state(PART:"segment", "selected_left", 0.0);
+ {
+ set_state(PART:"segment", "selected_left", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_MIDDLE)
- set_state(PART:"segment", "selected_middle", 0.0);
+ {
+ set_state(PART:"segment", "selected_middle", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_RIGHT)
- set_state(PART:"segment", "selected_right", 0.0);
+ {
+ set_state(PART:"segment", "selected_right", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
set_state(PART:"elm.text", "selected", 0.0);
}
if(disabled == SEGMENT_STATUS_DISABLED)
{
if(type == SEGMENT_TYPE_SINGLE)
- set_state(PART:"disabler", "disabled_single", 0.0);
+ {
+ set_state(PART:"disabler", "disabled_single", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
else if(type == SEGMENT_TYPE_LEFT)
- set_state(PART:"disabler", "disabled_left", 0.0);
+ {
+ set_state(PART:"disabler", "disabled_left", 0.0);
+ set_state(PART:"left_1pxl_padding", "default", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_MIDDLE)
- set_state(PART:"disabler", "disabled_middle", 0.0);
+ {
+ set_state(PART:"disabler", "disabled_middle", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "visible", 0.0);
+ }
else if(type == SEGMENT_TYPE_RIGHT)
- set_state(PART:"disabler", "disabled_right", 0.0);
+ {
+ set_state(PART:"disabler", "disabled_right", 0.0);
+ set_state(PART:"left_1pxl_padding", "visible", 0.0);
+ set_state(PART:"right_1pxl_padding", "default", 0.0);
+ }
set_state(PART:"elm.text", "disabled", 0.0);
}
else