}
///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/controlbar/vertical";
- script {
- public button_state = BUTTON_STATE_ENABLED;
- }
- styles{
- style { name: "controlbar_style";
- base: "font=SLP:style=Medium font_size="BUTTON_CONTROLBAR_ITEM_BUTTON_TEXT_SIZE_INC" align=center color="BUTTON_CONTROLBAR_ITEM_BUTTON_TEXTBLOCK_COLOR_INC" wrap=mixed ellipsis=1";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "button_image";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 20 30;
- rel1.offset: 5 5;
- rel2.offset: -6 -6;
- color: 0 0 0 0;
- visible: 0;
- }
- }
- part { name: "padding_left_top";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel2.relative: 0.0 0.0;
- min: 10 8;
- fixed: 1 1;
- visible: 0;
- }
- }
- part { name: "padding_right_bottom";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 1.0 1.0;
- rel1.relative: 1.0 1.0;
- min: 10 5;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "icon_rect";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "padding_right_bottom";
- to_y: "padding_left_top";
- }
- align: 0.5 0.0;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- fixed: 0 1;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "padding_right_bottom";
- to_y: "padding_left_top";
- }
- align: 0.5 0.0;
- color: 0 0 0 0;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "padding_after_icon";
- 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: 0.0 1.0;
- to: "icon_rect";
- }
- rel2.to: "icon_rect";
- fixed: 0 1;
- min: 0 0;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 0.0 1.0;
- to: "icon_rect";
- }
- rel2.to: "icon_rect";
- fixed: 0 1;
- min: 0 0;
- color: 0 0 0 0;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "padding_before_text";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 0.5 1.0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "padding_right_bottom";
- to_y: "elm.text";
- }
- fixed: 0 1;
- min: 0 0;
- color: 0 0 0 0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- clip_to: "disabler";
- description { state: "default" 0.0;
- visible: 0;
- align: 0.5 0.0;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "padding_right_bottom";
- to_y: "padding_left_top";
- }
- fixed: 0 1;
- }
- description { state: "visible" 0.0;
- fixed: 0 1;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "padding_right_bottom";
- to_y: "padding_before_text";
- }
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- }
- description { state: "icononly" 0.0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- clip_to: "disabler";
- description { state: "default" 0.0;
- visible: 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "padding_left_top";
- to_y: "padding_after_icon";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
- fixed: 1 1;
- text {
- style: "controlbar_style";
- min: 0 1;
- max: 0 1;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
- }
- }
- part { name: "over2";
- type: RECT;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "over3";
- type: RECT;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 127;
- visible: 1;
- }
- }
- }
- programs {
- program { name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program { name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- after: "text_clicked";
- }
- program { name: "text_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"elm.text", "clicked", 0.0);
- }
- }
- program { name: "button_unpress";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- }
- program { name: "button_mouseout_clicked";
- signal: "mouse,up,1";
- source: "over3";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (strcmp(st, "icononly"))
- {
- emit("elm,action,default,text,set", "");
- set_state(PART:"elm.text", "visible", 0.0);
- }
- if (get_int(button_state) != BUTTON_STATE_DISABLED)
- set_state(PART:"button_image", "default", 0.0);
- }
- after: button_unpress;
- }
- program { name: "button_unclick3";
- signal: "mouse,clicked,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- }
- set_state(PART:"elm.text", "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.content", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "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.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- }
- else
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "icon_rect";
- target: "padding_after_icon";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "over2";
- target: "disabler";
- after: "disable_text";
- }
- program { name: "disable_text";
- script {
- new st[31];
- new Float:vl;
- set_int(button_state, BUTTON_STATE_DISABLED);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "clicked") || !strcmp(st, "focused"))
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over2";
- target: "disabler";
- after: "enable_text";
- }
- program { name: "enable_text";
- script {
- new st[31];
- new Float:vl;
- set_int(button_state, BUTTON_STATE_ENABLED);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "clicked") || !strcmp(st, "focused"))
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "focused";
- action: STATE_SET "focused" 0.0;
- target: "button_image";
- target: "elm.text";
- }
- program { name: "unfocused";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- after: "unfocus_text";
- }
- program { name: "unfocus_text";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/controlbar/horizontal_center";
- script {
- public button_state = BUTTON_STATE_ENABLED;
- }
- parts {
- part { name: "button_image";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 20 30;
- rel1.offset: 5 5;
- rel2.offset: -6 -6;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "padding_left_top";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel2.relative: 0.0 0.0;
- min: 10 5;
- fixed: 1 1;
- visible: 0;
- }
- }
- part { name: "padding_right_bottom";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 1.0 1.0;
- rel1.relative: 1.0 1.0;
- min: 10 5;
- fixed: 1 1;
- visible: 0;
- }
- }
- part { name: "icon_rect";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 0 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- }
- }
- part { name: "padding_after_icon";
- 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_rect";
- }
- rel2.to: "icon_rect";
- fixed: 1 0;
- min: 0 0;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- to: "icon_rect";
- }
- rel2.to: "icon_rect";
- fixed: 1 0;
- min: 6 0;
- color: 0 0 0 0;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "padding_before_text";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 1.0 0.5;
- rel1 {
- relative: 0.0 1.0;
- to_x: "elm.text";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "elm.text";
- to_y: "padding_right_bottom";
- }
- fixed: 1 0;
- min: 6 0;
- color: 0 0 0 0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- clip_to: "disabler";
- description { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- fixed: 1 0;
- }
- description { state: "visible" 0.0;
- fixed: 1 0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- align: 1.0 0.5;
- rel1 {
- relative: 0.0 1.0;
- to_x: "padding_before_text";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "padding_before_text";
- to_y: "padding_right_bottom";
- }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- description { state: "icononly" 0.0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- clip_to: "disabler";
- description { state: "default" 0.0;
- visible: 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "padding_after_icon";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: BUTTON_CONTROLBAR_ITEM_BUTTON_TEXT_SIZE_INC;
- min: 0 0;
- max: 1 0;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
- }
- }
- part { name: "over2";
- type: RECT;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "over3";
- type: RECT;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description { state: "disabled" 0.0;
- color: 255 255 255 127;
- }
- }
- }
- programs {
- program { name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program { name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- after: "text_clicked";
- }
- program { name: "text_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"elm.text", "clicked", 0.0);
- }
- }
- program { name: "button_unpress";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- }
- program { name: "button_mouseout_clicked";
- signal: "mouse,up,1";
- source: "over3";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (strcmp(st, "icononly"))
- {
- emit("elm,action,default,text,set", "");
- set_state(PART:"elm.text", "visible", 0.0);
- }
- if (get_int(button_state) != BUTTON_STATE_DISABLED)
- set_state(PART:"button_image", "default", 0.0);
- }
- after: button_unpress;
- }
- program { name: "button_unclick3";
- signal: "mouse,clicked,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- }
- set_state(PART:"elm.text", "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.content", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "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.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- }
- else
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "icon_rect";
- target: "padding_after_icon";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "over2";
- target: "disabler";
- after: "disable_text";
- }
- program { name: "disable_text";
- script {
- new st[31];
- new Float:vl;
- set_int(button_state, BUTTON_STATE_DISABLED);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "clicked") || !strcmp(st, "focused"))
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over2";
- target: "disabler";
- after: "enable_text";
- }
- program { name: "enable_text";
- script {
- new st[31];
- new Float:vl;
- set_int(button_state, BUTTON_STATE_ENABLED);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "clicked") || !strcmp(st, "focused"))
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "focused";
- action: STATE_SET "focused" 0.0;
- target: "button_image";
- target: "elm.text";
- }
- program { name: "unfocused";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- after: "unfocus_text";
- }
- program { name: "unfocus_text";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/controlbar/horizontal_left";
- script {
- public button_state = BUTTON_STATE_ENABLED;
- }
- parts {
- part { name: "button_image";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 20 30;
- rel1.offset: 5 5;
- rel2.offset: -6 -6;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "padding_left_top";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel2.relative: 0.0 0.0;
- min: 10 5;
- fixed: 1 1;
- visible: 0;
- }
- }
- part { name: "padding_right_bottom";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 1.0 1.0;
- rel1.relative: 1.0 1.0;
- min: 10 5;
- fixed: 1 1;
- visible: 0;
- }
- }
- part { name: "icon_rect";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 0 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "padding_after_icon";
- 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_rect";
- }
- rel2.to: "icon_rect";
- fixed: 1 0;
- min: 0 0;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- to: "icon_rect";
- }
- rel2.to: "icon_rect";
- fixed: 1 0;
- min: 6 0;
- color: 0 0 0 0;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "padding_before_text";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 1.0 0.5;
- rel1 {
- relative: 0.0 1.0;
- to_x: "elm.text";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "elm.text";
- to_y: "padding_right_bottom";
- }
- fixed: 1 0;
- min: 6 0;
- color: 0 0 0 0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- clip_to: "disabler";
- description { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- fixed: 1 0;
- }
- description { state: "visible" 0.0;
- fixed: 1 0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- align: 1.0 0.5;
- rel1 {
- relative: 0.0 1.0;
- to_x: "padding_before_text";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "padding_before_text";
- to_y: "padding_right_bottom";
- }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- description { state: "icononly" 0.0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- clip_to: "disabler";
- description { state: "default" 0.0;
- visible: 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "padding_after_icon";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- align: 0.0 0.5;
- color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 20;
- min: 0 0;
- max: 1 0;
- align: 0.0 0.5;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
- }
- }
- part { name: "over2";
- type: RECT;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "over3";
- type: RECT;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description { state: "disabled" 0.0;
- color: 255 255 255 127;
- }
- }
- }
- programs {
- program { name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program { name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- after: "text_clicked";
- }
- program { name: "text_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"elm.text", "clicked", 0.0);
- }
- }
- program { name: "button_unpress";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- }
- program { name: "button_mouseout_clicked";
- signal: "mouse,up,1";
- source: "over3";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (strcmp(st, "icononly"))
- {
- emit("elm,action,default,text,set", "");
- set_state(PART:"elm.text", "visible", 0.0);
- }
- if (get_int(button_state) != BUTTON_STATE_DISABLED)
- set_state(PART:"button_image", "default", 0.0);
- }
- after: button_unpress;
- }
- program { name: "button_unclick3";
- signal: "mouse,clicked,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- }
- set_state(PART:"elm.text", "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.content", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "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.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- }
- else
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "icon_rect";
- target: "padding_after_icon";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- after: "disable_text";
- }
- program { name: "disable_text";
- script {
- new st[31];
- new Float:vl;
- set_int(button_state, BUTTON_STATE_DISABLED);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "clicked") || !strcmp(st, "focused"))
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- after: "enable_text";
- }
- program { name: "enable_text";
- script {
- new st[31];
- new Float:vl;
- set_int(button_state, BUTTON_STATE_ENABLED);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "clicked") || !strcmp(st, "focused"))
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "focused";
- action: STATE_SET "focused" 0.0;
- target: "button_image";
- target: "elm.text";
- }
- program { name: "unfocused";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- after: "unfocus_text";
- }
- program { name: "unfocus_text";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/controlbar/horizontal_right";
- script {
- public button_state = BUTTON_STATE_ENABLED;
- }
- parts {
- part { name: "button_image";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 20 30;
- rel1.offset: 5 5;
- rel2.offset: -6 -6;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "padding_left_top";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel2.relative: 0.0 0.0;
- min: 10 5;
- fixed: 1 1;
- visible: 0;
- }
- }
- part { name: "padding_right_bottom";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 1.0 1.0;
- rel1.relative: 1.0 1.0;
- min: 10 5;
- fixed: 1 1;
- visible: 0;
- }
- }
- part { name: "icon_rect";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 0 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "padding_after_icon";
- 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_rect";
- }
- rel2.to: "icon_rect";
- fixed: 1 0;
- min: 0 0;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- to: "icon_rect";
- }
- rel2.to: "icon_rect";
- fixed: 1 0;
- min: 6 0;
- color: 0 0 0 0;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "padding_before_text";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 1.0 0.5;
- rel1 {
- relative: 0.0 1.0;
- to_x: "elm.text";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "elm.text";
- to_y: "padding_right_bottom";
- }
- fixed: 1 0;
- min: 6 0;
- color: 0 0 0 0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- clip_to: "disabler";
- description { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- fixed: 1 0;
- }
- description { state: "visible" 0.0;
- fixed: 1 0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- align: 1.0 0.5;
- rel1 {
- relative: 0.0 1.0;
- to_x: "padding_before_text";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "padding_before_text";
- to_y: "padding_right_bottom";
- }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- description { state: "icononly" 0.0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- clip_to: "disabler";
- description { state: "default" 0.0;
- visible: 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "padding_after_icon";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- align: 1.0 0.5;
- color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 20;
- min: 0 0;
- max: 1 0;
- align: 1.0 0.5;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
- }
- }
- part { name: "over2";
- type: RECT;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "over3";
- type: RECT;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description { state: "disabled" 0.0;
- color: 255 255 255 127;
- }
- }
- }
- programs {
- program { name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program { name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- after: "text_clicked";
- }
- program { name: "text_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"elm.text", "clicked", 0.0);
- }
- }
- program { name: "button_unpress";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- }
- program { name: "button_mouseout_clicked";
- signal: "mouse,up,1";
- source: "over3";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (strcmp(st, "icononly"))
- {
- emit("elm,action,default,text,set", "");
- set_state(PART:"elm.text", "visible", 0.0);
- }
- if (get_int(button_state) != BUTTON_STATE_DISABLED)
- set_state(PART:"button_image", "default", 0.0);
- }
- after: button_unpress;
- }
- program { name: "button_unclick3";
- signal: "mouse,clicked,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- }
- set_state(PART:"elm.text", "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.content", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "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.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- }
- else
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "icon_rect";
- target: "padding_after_icon";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- after: "disable_text";
- }
- program { name: "disable_text";
- script {
- new st[31];
- new Float:vl;
- set_int(button_state, BUTTON_STATE_DISABLED);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "clicked") || !strcmp(st, "focused"))
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- after: "enable_text";
- }
- program { name: "enable_text";
- script {
- new st[31];
- new Float:vl;
- set_int(button_state, BUTTON_STATE_ENABLED);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "clicked") || !strcmp(st, "focused"))
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "focused";
- action: STATE_SET "focused" 0.0;
- target: "button_image";
- target: "elm.text";
- }
- program { name: "unfocused";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- after: "unfocus_text";
- }
- program { name: "unfocus_text";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
group { name: "elm/button/base/tickernoti";
images {
image: "00_button_06_normal.png" COMP;
+++ /dev/null
-/*
- * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * PROPRIETARY/CONFIDENTIAL
- *
- * This software is the confidential and proprietary information of SAMSUNG
- * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
- * software is owned by Samsung and you shall not disclose such Confidential
- * Information and shall use it only in accordance with the terms of the license
- * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
- * representations or warranties about the suitability of the software, either
- * express or implied, including but not limited to the implied warranties of
- * merchantability, fitness for a particular purpose, or non-infringement.
- * SAMSUNG shall not be liable for any damages suffered by licensee arising out
- * of or releated to this software.
- *
- */
-////////////////////////////////////////////////////////////////////////////////////////
-// controlbar icon
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/icon/controlbar_more/default"; min: 40 40;
- images.image: "00_winset_tab_icon_more.png" COMP;
- parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
- aspect_preference: BOTH; image.normal: "00_winset_tab_icon_more.png"; } } } }
-
-////////////////////////////////////////////////////////////////////////////////////////
-// controlbar
-///////////////////////////////////////////////////////////////////////////////////////
-
- images{
- image: "00_winset_control_toolbar_bg.png" COMP;
- image: "00_winset_control_tabbar_bg.png" COMP;
- image: "00_winset_control_tabbar_bg_left.png" COMP;
- image: "00_winset_control_tabbar_bg_right.png" COMP;
- image: "00_winset_control_tabbar_bg_top.png" COMP;
- image: "00_winset_tabbar_press.png" COMP;
- image: "00_winset_tabbar_press_left.png" COMP;
- image: "00_winset_tabbar_press_right.png" COMP;
- image: "00_winset_tabbar_press_top.png" COMP;
- image: "00_winset_toolbar_press.png" COMP;
- image: "00_winset_tabbar_focus.png" COMP;
- }
-
- group{
- name: "elm/controlbar/base/default";
-
- parts{
- part{
- name: "bg_rect";
- type: RECT;
- scale: 1;
- mouse_events:0;
- description{
- state: "default" 0.0;
- min: 0 30;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- color: 0 0 0 0;
- }
- }
- part{
- name: "elm.swallow.view";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0;}
- rel2 {relative: 1.0 0.0; to: "bg_image";}
- }
- }
- part{
- name: "bg_image";
- type: SWALLOW;
- scale: 1;
- mouse_events:0;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- }
- description{
- state: "large" 0.0;
- min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1 {relative: 0.0 1.0; offset: 0 -1;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- }
- description{
- state: "small" 0.0;
- min: 0 CONTROLBAR_SMALL_HEIGHT_INC;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1 {relative: 0.0 1.0; offset: 0 -1;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- }
- description{
- state: "left" 0.0;
- min: CONTROLBAR_WIDTH_INC 0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 0.0 1.0; offset: 0 -1;}
- }
- description{
- state: "right" 0.0;
- min: CONTROLBAR_WIDTH_INC 0;
- fixed: 1 0;
- align: 1.0 0.5;
- rel1 {relative: 1.0 0.0; offset: -1 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- }
- }
- part {
- name: "elm.dragable.box";
- type: GROUP;
- source: "elm/controlbar/item_bg_move/default";
- mouse_events: 0;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 1 1 0;
- confine: "bg_image";
- }
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- to: "bg_image";
- }
- rel2 {
- relative: 0.0 1.0;
- to: "bg_image";
- }
- color: 0 0 0 0;
- }
- }
- part{
- name: "elm.swallow.items";
- type: SWALLOW;
- scale: 1;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; to: "bg_image";}
- rel2 {relative: 1.0 1.0; to: "bg_image";}
- }
- }
- }
- programs{
- program{
- name: "default";
- signal: "elm,state,default";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- }
- program{
- name: "large";
- signal: "elm,state,large";
- source: "elm";
- action: STATE_SET "large" 0.0;
- target: "bg_image";
- }
- program{
- name: "small";
- signal: "elm,state,small";
- source: "elm";
- action: STATE_SET "small" 0.0;
- target: "bg_image";
- }
- program{
- name: "left";
- signal: "elm,state,left";
- source: "elm";
- action: STATE_SET "left" 0.0;
- target: "bg_image";
- }
- program{
- name: "right";
- signal: "elm,state,right";
- source: "elm";
- action: STATE_SET "right" 0.0;
- target: "bg_image";
- }
- }
- }
-
- group{
- name: "elm/controlbar/background/default";
-
- parts{
- part{
- name: "bg_image";
- type: IMAGE;
- scale: 1;
- mouse_events:0;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- image.normal: "00_winset_control_toolbar_bg.png";
- color: 255 255 255 255;
- }
- description{
- state: "tabbar" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_control_tabbar_bg.png";
- }
- description{
- state: "tabbar_left" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_control_tabbar_bg_left.png";
- }
- description{
- state: "tabbar_right" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_control_tabbar_bg_right.png";
- }
- }
- programs {
- program {
- name: "tabbar_bg";
- signal: "elm,state,tabbar";
- source: "elm";
- action: STATE_SET "tabbar" 0.0;
- target: "bg_image";
- }
- program {
- name: "toolbar_bg";
- signal: "elm,state,toolbar";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- }
- program {
- name: "tabbar_left_bg";
- signal: "elm,state,tabbar_left";
- source: "elm";
- action: STATE_SET "tabbar_left" 0.0;
- target: "bg_image";
- }
- program {
- name: "tabbar_right_bg";
- signal: "elm,state,tabbar_right";
- source: "elm";
- action: STATE_SET "tabbar_right" 0.0;
- target: "bg_image";
- }
- }
- }
- }
-
- group{
- name: "elm/controlbar/view/default";
-
- parts{
- part{
- name: "bg_rect";
- type: RECT;
- mouse_events:1;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- color: 0 0 0 0;
- }
- }
- part{
- name: "elm.swallow.view";
- type: SWALLOW;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; to: "bg_rect";}
- rel2 {relative: 1.0 1.0; to: "bg_rect";}
- }
- }
- }
- }
-
- group{
- name: "elm/controlbar/item_bg/default";
-
- parts{
- part{
- name: "bg_rect";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- min: 0 0;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- color: 0 0 0 0;
- }
- }
- part{
- name: "bg_img";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- }
- description{
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tabbar_press.png";
- image.border: 2 2 3 2;
- color: 255 255 255 50;
- visible: 1;
- fill.smooth: 0;
- }
- description{
- state: "pressed_left" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tabbar_press_left.png";
- image.border: 2 3 2 2;
- color: 255 255 255 50;
- visible: 1;
- fill.smooth: 0;
- }
- description{
- state: "pressed_right" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tabbar_press_right.png";
- image.border: 3 2 2 2;
- color: 255 255 255 50;
- visible: 1;
- fill.smooth: 0;
- }
- description{
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tabbar_focus.png";
- image.border: 2 2 3 2;
- visible: 1;
- fill.smooth: 0;
- }
- description{
- state: "focused_left" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tabbar_focus.png";
- image.border: 2 3 2 2;
- visible: 1;
- fill.smooth: 0;
- }
- description{
- state: "focused_right" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tabbar_focus.png";
- image.border: 3 2 2 2;
- visible: 1;
- fill.smooth: 0;
- }
- description{
- state: "toolbar_pressed" 0.0;
- inherit: "default" 0.0;
- rel1 {relative: 0.0 0.07; offset: 3 0;}
- rel2 {relative: 1.0 0.93; offset: -3 0;}
- image.normal: "00_winset_toolbar_press.png";
- image.border: 3 3 3 3;
- visible: 1;
- fill.smooth: 0;
- }
- }
- part{
- name: "left_line";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- rel1 {relative: 0.0 0.0; offset: 0 5;}
- rel2 {relative: 0.0 1.0; offset: 1 -3;}
- color: CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC;
- }
- description{
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part{
- name: "right_line";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- rel1 {relative: 1.0 0.0; offset: -1 5;}
- rel2 {relative: 1.0 1.0; offset: 0 -3;}
- color: CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC;
- }
- description{
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part{
- name: "top_line";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- rel1 {relative: 0.0 0.0; offset: 5 0;}
- rel2 {relative: 1.0 0.0; offset: -5 1;}
- color: CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC;
- }
- description{
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part{
- name: "bottom_line";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- rel1 {relative: 0.0 1.0; offset: 5 -1;}
- rel2 {relative: 1.0 1.0; offset: -5 0;}
- color: CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC;
- }
- description{
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part{
- name: "item";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- rel1 {to: "bg_rect";}
- rel2 {to: "bg_rect";}
- }
- }
- }
- programs {
- program {
- name: "selected";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "bg_img";
- }
- program {
- name: "selected_left";
- signal: "elm,state,selected_left";
- source: "elm";
- action: STATE_SET "focused_left" 0.0;
- target: "bg_img";
- }
- program {
- name: "selected_right";
- signal: "elm,state,selected_right";
- source: "elm";
- action: STATE_SET "focused_right" 0.0;
- target: "bg_img";
- }
- program {
- name: "pressed";
- signal: "elm,state,pressed";
- source: "elm";
- action: STATE_SET "pressed" 0.0;
- target: "bg_img";
- }
- program {
- name: "pressed_left";
- signal: "elm,state,pressed_left";
- source: "elm";
- action: STATE_SET "pressed_left" 0.0;
- target: "bg_img";
- }
- program {
- name: "pressed_right";
- signal: "elm,state,pressed_right";
- source: "elm";
- action: STATE_SET "pressed_right" 0.0;
- target: "bg_img";
- }
- program {
- name: "toolbar_pressed";
- signal: "elm,state,toolbar_pressed";
- source: "elm";
- action: STATE_SET "toolbar_pressed" 0.0;
- target: "bg_img";
- }
- program {
- name: "unselected";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_img";
- }
- program {
- name: "unpressed";
- signal: "elm,state,unpressed";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_img";
- }
- program {
- name: "left_line_show";
- signal: "elm,state,left_line_show";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "left_line";
- }
- program {
- name: "left_line_hide";
- signal: "elm,state,left_line_hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "left_line";
- }
- program {
- name: "right_line_show";
- signal: "elm,state,right_line_show";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "right_line";
- }
- program {
- name: "right_line_hide";
- signal: "elm,state,right_line_hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "right_line";
- }
- program {
- name: "top_line_show";
- signal: "elm,state,top_line_show";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "top_line";
- }
- program {
- name: "top_line_hide";
- signal: "elm,state,top_line_hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "top_line";
- }
- program {
- name: "bottom_line_show";
- signal: "elm,state,bottom_line_show";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "bottom_line";
- }
- program {
- name: "bottom_line_hide";
- signal: "elm,state,bottom_line_hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bottom_line";
- }
- }
- }
-
- group{
- name: "elm/controlbar/item_bg_move/default";
-
- parts{
- part{
- name: "selected_box";
- type: IMAGE;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 1;
- image.normal: "00_winset_tabbar_focus.png";
- image.border: 2 2 3 2;
- fill.smooth: 0;
- }
- description{
- state: "left" 0.0;
- visible: 1;
- image.normal: "00_winset_tabbar_focus_left.png";
- image.border: 2 3 2 2;
- fill.smooth: 0;
- }
- description{
- state: "right" 0.0;
- visible: 1;
- image.normal: "00_winset_tabbar_focus_right.png";
- image.border: 3 2 2 2;
- fill.smooth: 0;
- }
- }
- }
-
- programs{
- program{
- name: "default";
- signal: "elm,state,default";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "selected_box";
- }
- program{
- name: "left";
- signal: "elm,state,left";
- source: "elm";
- action: STATE_SET "left" 0.0;
- target: "selected_box";
- }
- program{
- name: "right";
- signal: "elm,state,right";
- source: "elm";
- action: STATE_SET "right" 0.0;
- target: "selected_box";
- }
- }
- }
-
- group{
- name: "elm/controlbar/base/top";
- inherit: "elm/controlbar/base/default";
-
- parts{
- part{
- name: "elm.swallow.view";
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 1.0; to: "bg_image";}
- rel2 {relative: 1.0 1.0; to: "";}
- }
- }
- part{
- name: "bg_image";
- description{
- state: "large" 0.0;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- }
- description{
- state: "small" 0.0;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- }
- }
- part{
- name: "elm.dragable.box";
- source: "elm/controlbar/item_bg_move/top";
- }
- }
- }
-
- group{
- name: "elm/controlbar/background/top";
- inherit: "elm/controlbar/background/default";
-
- parts{
- part{
- name: "bg_image";
- description{
- state: "tabbar" 0.0;
- image.normal: "00_winset_control_tabbar_bg_top.png";
- }
- }
- }
- }
-
- group{
- name: "elm/controlbar/item_bg/top";
- inherit: "elm/controlbar/item_bg/default";
-
- parts{
- part{
- name: "bg_img";
- description{
- state: "pressed" 0.0;
- image.normal: "00_winset_tabbar_press_top.png";
- image.border: 2 2 2 3;
- }
- description{
- state: "focused" 0.0;
- image.normal: "00_winset_tabbar_focus.png";
- image.border: 2 2 2 3;
- }
- }
- }
- }
-
- group{
- name: "elm/controlbar/item_bg_move/top";
- inherit: "elm/controlbar/item_bg_move/default";
-
- parts{
- part{
- name: "selected_box";
- description{
- state: "default" 0.0;
- image.normal: "00_winset_tabbar_focus.png";
- image.border: 2 2 2 3;
- }
- }
- }
- }
-
- group{
- name: "elm/controlbar/base/naviframe";
-
- parts{
- part{
- name: "bg_rect";
- type: RECT;
- scale: 1;
- mouse_events:0;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- color: 0 0 0 0;
- }
- }
- part{
- name: "bg_image";
- type: SWALLOW;
- scale: 1;
- mouse_events:0;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- }
- description{
- state: "large" 0.0;
- min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1 {relative: 0.0 1.0; offset: 0 -1;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- }
- description{
- state: "small" 0.0;
- min: 0 CONTROLBAR_SMALL_HEIGHT_INC;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1 {relative: 0.0 1.0; offset: 0 -1;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- }
- description{
- state: "left" 0.0;
- min: CONTROLBAR_WIDTH_INC 0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 0.0 1.0; offset: 0 -1;}
- }
- description{
- state: "right" 0.0;
- min: CONTROLBAR_WIDTH_INC 0;
- fixed: 1 0;
- align: 1.0 0.5;
- rel1 {relative: 1.0 0.0; offset: -1 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- }
- }
- part {
- name: "elm.dragable.box";
- type: GROUP;
- source: "elm/controlbar/item_bg_move/default";
- mouse_events: 0;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 1 1 0;
- confine: "bg_image";
- }
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- to: "bg_image";
- }
- rel2 {
- relative: 0.0 1.0;
- to: "bg_image";
- }
- color: 0 0 0 0;
- }
- }
- part{
- name: "elm.swallow.items";
- type: SWALLOW;
- scale: 1;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; offset: 5 0; to: "bg_image";}
- rel2 {relative: 1.0 1.0; offset: -6 -1; to: "bg_image";}
- }
- }
- }
- programs{
- program{
- name: "default";
- signal: "elm,state,default";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- }
- program{
- name: "large";
- signal: "elm,state,large";
- source: "elm";
- action: STATE_SET "large" 0.0;
- target: "bg_image";
- }
- program{
- name: "small";
- signal: "elm,state,small";
- source: "elm";
- action: STATE_SET "small" 0.0;
- target: "bg_image";
- }
- program{
- name: "left";
- signal: "elm,state,left";
- source: "elm";
- action: STATE_SET "left" 0.0;
- target: "bg_image";
- }
- program{
- name: "right";
- signal: "elm,state,right";
- source: "elm";
- action: STATE_SET "right" 0.0;
- target: "bg_image";
- }
- }
- }
-
- group{
- name: "elm/controlbar/background/naviframe";
-
- parts{
- part{
- name: "bg_image";
- type: RECT;
- scale: 1;
- mouse_events:0;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- color: 255 255 255 0;
- }
- description{
- state: "tabbar" 0.0;
- inherit: "default" 0.0;
- }
- description{
- state: "tabbar_left" 0.0;
- inherit: "default" 0.0;
- }
- description{
- state: "tabbar_right" 0.0;
- inherit: "default" 0.0;
- }
- }
- }
- programs {
- program {
- name: "tabbar_bg";
- signal: "elm,state,tabbar";
- source: "elm";
- action: STATE_SET "tabbar" 0.0;
- target: "bg_image";
- }
- program {
- name: "toolbar_bg";
- signal: "elm,state,toolbar";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- }
- program {
- name: "tabbar_left_bg";
- signal: "elm,state,tabbar_left";
- source: "elm";
- action: STATE_SET "tabbar_left" 0.0;
- target: "bg_image";
- }
- program {
- name: "tabbar_right_bg";
- signal: "elm,state,tabbar_right";
- source: "elm";
- action: STATE_SET "tabbar_right" 0.0;
- target: "bg_image";
- }
- }
- }
-
- group{
- name: "elm/controlbar/item_bg/naviframe";
- images{
- image: "00_winset_tabbar_press.png" COMP;
- image: "00_winset_tabbar_press_left.png" COMP;
- image: "00_winset_tabbar_press_right.png" COMP;
- image: "00_winset_toolbar_press.png" COMP;
- image: "00_winset_tabbar_focus.png" COMP;
- image: "00_winset_tabbar_focus_left.png" COMP;
- image: "00_winset_tabbar_focus_right.png" COMP;
- }
-
- parts{
- part{
- name: "bg_rect";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- min: 0 0;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- color: 0 0 0 0;
- }
- }
- part{
- name: "bg_img";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- }
- description{
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tabbar_press.png";
- image.border: 2 2 3 2;
- color: 255 255 255 50;
- visible: 1;
- }
- description{
- state: "pressed_left" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tabbar_press_left.png";
- image.border: 2 3 2 2;
- color: 255 255 255 50;
- visible: 1;
- }
- description{
- state: "pressed_right" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tabbar_press_right.png";
- image.border: 3 2 2 2;
- color: 255 255 255 50;
- visible: 1;
- }
- description{
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tabbar_focus.png";
- image.border: 2 2 3 2;
- visible: 1;
- }
- description{
- state: "focused_left" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tabbar_focus_left.png";
- image.border: 2 3 2 2;
- visible: 1;
- }
- description{
- state: "focused_right" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tabbar_focus_right.png";
- image.border: 3 2 2 2;
- visible: 1;
- }
- description{
- state: "toolbar_pressed" 0.0;
- inherit: "default" 0.0;
- rel1 {relative: 0.0 0.07; offset: 3 0;}
- rel2 {relative: 1.0 0.93; offset: -3 0;}
- image.normal: "00_winset_toolbar_press.png";
- image.border: 3 3 3 3;
- visible: 1;
- }
- }
- part{
- name: "left_line";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- rel1 {relative: 0.0 0.0; offset: 0 5;}
- rel2 {relative: 0.0 1.0; offset: 1 -3;}
- color: CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC;
- }
- description{
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part{
- name: "right_line";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- rel1 {relative: 1.0 0.0; offset: -1 5;}
- rel2 {relative: 1.0 1.0; offset: 0 -3;}
- color: CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC;
- }
- description{
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part{
- name: "top_line";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- rel1 {relative: 0.0 0.0; offset: 5 0;}
- rel2 {relative: 1.0 0.0; offset: -5 1;}
- color: CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC;
- }
- description{
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part{
- name: "bottom_line";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- rel1 {relative: 0.0 1.0; offset: 5 -1;}
- rel2 {relative: 1.0 1.0; offset: -5 0;}
- color: CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC;
- }
- description{
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part{
- name: "item";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- rel1 {to: "bg_rect"; offset: 5 0;}
- rel2 {to: "bg_rect"; offset: -6 0;}
- }
- }
- }
- programs {
- program {
- name: "selected";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "bg_img";
- }
- program {
- name: "selected_left";
- signal: "elm,state,selected_left";
- source: "elm";
- action: STATE_SET "focused_left" 0.0;
- target: "bg_img";
- }
- program {
- name: "selected_right";
- signal: "elm,state,selected_right";
- source: "elm";
- action: STATE_SET "focused_right" 0.0;
- target: "bg_img";
- }
- program {
- name: "pressed";
- signal: "elm,state,pressed";
- source: "elm";
- action: STATE_SET "pressed" 0.0;
- target: "bg_img";
- }
- program {
- name: "pressed_left";
- signal: "elm,state,pressed_left";
- source: "elm";
- action: STATE_SET "pressed_left" 0.0;
- target: "bg_img";
- }
- program {
- name: "pressed_right";
- signal: "elm,state,pressed_right";
- source: "elm";
- action: STATE_SET "pressed_right" 0.0;
- target: "bg_img";
- }
- program {
- name: "toolbar_pressed";
- signal: "elm,state,toolbar_pressed";
- source: "elm";
- action: STATE_SET "toolbar_pressed" 0.0;
- target: "bg_img";
- }
- program {
- name: "unselected";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_img";
- }
- program {
- name: "unpressed";
- signal: "elm,state,unpressed";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_img";
- }
- program {
- name: "left_line_show";
- signal: "elm,state,left_line_show";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "left_line";
- }
- program {
- name: "left_line_hide";
- signal: "elm,state,left_line_hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "left_line";
- }
- program {
- name: "right_line_show";
- signal: "elm,state,right_line_show";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "right_line";
- }
- program {
- name: "right_line_hide";
- signal: "elm,state,right_line_hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "right_line";
- }
- program {
- name: "top_line_show";
- signal: "elm,state,top_line_show";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "top_line";
- }
- program {
- name: "top_line_hide";
- signal: "elm,state,top_line_hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "top_line";
- }
- program {
- name: "bottom_line_show";
- signal: "elm,state,bottom_line_show";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "bottom_line";
- }
- program {
- name: "bottom_line_hide";
- signal: "elm,state,bottom_line_hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bottom_line";
- }
- }
- }
-