color_class
{
name: "AO01153L1";
- color: 163 163 163 100;
+ color: 0 0 255 255;
}
color_class
{
color_class
{
name: "AO01154L1";
- color: 110 110 110 100;
+ color: 97 12 117 255;
}
color_class
{
color_class
{
name: "AO01155L1";
- color: 122 122 122 100;
+ color: 255 0 0 255;
}
color_class
{
#define BUTTON_PADDING_SIZE_INC 20 0
#define BUTTON_HEIGHT_INC 122
#define BUTTON_ICON_SIZE_INC 60 60
- group { name: "elm/button/base/default";
- script {
- public mouse_down = 0;
- public multi_down = 0;
- }
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 BUTTON_HEIGHT_INC;
- color: 128 128 128 128;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- }
- }
- part { name: "padding_left_top";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel2.relative: 0.0 0.0;
- min: BUTTON_PADDING_SIZE_INC;
- fixed: 1 1;
- }
- }
- part { name: "padding_right_bottom";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 1.0 1.0;
- rel1.relative: 1.0 1.0;
- min: BUTTON_PADDING_SIZE_INC;
- fixed: 1 1;
- }
- }
- part { name: "icon_rect";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.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";
- }
- min: 0 0;
- fixed: 1 1;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- min: BUTTON_ICON_SIZE_INC;
- max: BUTTON_ICON_SIZE_INC;
- fixed: 1 1;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- clip_to: "elm.swallow.content.clip";
- scale: 1;
- 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 1;
- min: BUTTON_ICON_SIZE_INC;
- max: BUTTON_ICON_SIZE_INC;
- 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";
- }
- }
- description { state: "icononly" 0.0;
- min: BUTTON_ICON_SIZE_INC;
- max: BUTTON_ICON_SIZE_INC;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- rel1 {
- relative: 1.0 1.0;
- to_x: "icon_rect";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- text {
- max: 1 0;
- style: "button_general_text_normal";
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- text.style: "button_general_text_dim";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- text.style: "button_general_text_press";
- }
- }
- part { name: "elm.swallow.content.clip";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- color: 128 128 128 128;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- }
- }
- part { name: "event";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- }
- }
- programs {
- program { name: "pressed";
- signal: "mouse,down,1*";
- source: "event";
- script {
- if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
- {
- set_int(mouse_down, 1);
- run_program(PROGRAM:"button_press1");
- }
- }
- }
- program { name: "button_press1";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"bg", st, 30, vl);
- if (strcmp(st, "disabled")) {
- set_state(PART:"bg", "pressed", 0.0);
- set_state(PART:"elm.text", "pressed", 0.0);
- emit("elm,action,press", "");
- }
- }
- }
- program { name: "unpressed";
- signal: "mouse,up,1";
- source: "event";
- script {
- if (get_int(mouse_down) == 1) {
- set_int(mouse_down, 0);
- run_program(PROGRAM:"button_unpress1");
- }
- }
- }
- program { name: "button_unpress1";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"bg", st, 30, vl);
- if (strcmp(st, "disabled")) {
- set_state(PART:"bg", "default", 0.0);
- set_state(PART:"elm.text", "default", 0.0);
- emit("elm,action,unpress", "");
- }
- }
- }
- program { name: "touch_snd";
- signal: "mouse,clicked,1";
- source: "event";
- script {
- new st[31];
- new Float:vl;
- if (get_int(multi_down) == 0) {
- get_state(PART:"bg", st, 30, vl);
- if (strcmp(st, "disabled")) {
- //run_program(PROGRAM:"play_sample");
- emit("elm,action,click", "");
- }
- }
- }
- }
- program {
- name: "play_sample";
- action: RUN_PLUGIN "touch_sound";
- }
- 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);
- }
- get_state(PART:"bg", st, 30, vl);
- if (strcmp(st, "disabled"))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 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", "default", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.content";
- target: "icon_rect";
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "icon_rect";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "bg";
- target: "elm.swallow.content.clip";
- target: "elm.text";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg";
- target: "elm.swallow.content.clip";
- target: "elm.text";
- }
- program { name: "multi_down";
- signal: "elm,action,multi,down";
- source: "elm";
- script {
- set_int(multi_down, 1);
- }
- }
- program { name: "multi_up";
- signal: "elm,action,multi,up";
- source: "elm";
- script {
- set_int(multi_down, 0);
- }
- }
- }
- }
-
- group { name: "elm/button/base/ime_transparent";
- inherit: "elm/button/base/default";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 112;
+ group { name: "elm/button/base/default";
+ script {
+ public mouse_down = 0;
+ public multi_down = 0;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 BUTTON_HEIGHT_INC;
+ color_class: "W011";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color_class: "W011P";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color_class: "W011D";
+ }
+ }
+ part { name: "padding_left_top";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_PADDING_SIZE_INC;
+ fixed: 1 1;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_PADDING_SIZE_INC;
+ fixed: 1 1;
+ }
+ }
+ part { name: "icon_rect";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.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";
+ }
+ min: 0 0;
+ fixed: 1 1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_ICON_SIZE_INC;
+ max: BUTTON_ICON_SIZE_INC;
+ fixed: 1 1;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ clip_to: "elm.swallow.content.clip";
+ scale: 1;
+ description { state: "default" 0.0;
visible: 0;
- }
- description { state: "pressed" 0.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 1;
+ min: BUTTON_ICON_SIZE_INC;
+ max: BUTTON_ICON_SIZE_INC;
+ 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";
+ }
+ }
+ description { state: "icononly" 0.0;
+ min: BUTTON_ICON_SIZE_INC;
+ max: BUTTON_ICON_SIZE_INC;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "icon_rect";
+ to_y: "padding_left_top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to: "padding_right_bottom";
+ }
+ text {
+ max: 1 0;
+ style: "button_general_text_normal";
+ }
+ }
+ description { state: "disabled" 0.0;
inherit: "default" 0.0;
- }
- description { state: "disabled" 0.0;
+ text.style: "button_general_text_dim";
+ }
+ description { state: "pressed" 0.0;
inherit: "default" 0.0;
+ text.style: "button_general_text_press";
+ }
+ }
+ part { name: "elm.swallow.content.clip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color_class: "F022L1i";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color_class: "F022L1iD";
+ }
+ }
+ part { name: "event";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ }
+ }
+ programs {
+ program { name: "pressed";
+ signal: "mouse,down,1*";
+ source: "event";
+ script {
+ if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
+ {
+ set_int(mouse_down, 1);
+ run_program(PROGRAM:"button_press1");
+ }
+ }
+ }
+ program { name: "button_press1";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"bg", st, 30, vl);
+ if (strcmp(st, "disabled")) {
+ set_state(PART:"bg", "pressed", 0.0);
+ set_state(PART:"elm.text", "pressed", 0.0);
+ emit("elm,action,press", "");
+ }
+ }
+ }
+ program { name: "unpressed";
+ signal: "mouse,up,1";
+ source: "event";
+ script {
+ if (get_int(mouse_down) == 1) {
+ set_int(mouse_down, 0);
+ run_program(PROGRAM:"button_unpress1");
+ }
+ }
+ }
+ program { name: "button_unpress1";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"bg", st, 30, vl);
+ if (strcmp(st, "disabled")) {
+ set_state(PART:"bg", "default", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ emit("elm,action,unpress", "");
+ }
+ }
+ }
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "event";
+ script {
+ new st[31];
+ new Float:vl;
+ if (get_int(multi_down) == 0) {
+ get_state(PART:"bg", st, 30, vl);
+ if (strcmp(st, "disabled")) {
+ //run_program(PROGRAM:"play_sample");
+ emit("elm,action,click", "");
+ }
+ }
+ }
+ }
+ program {
+ name: "play_sample";
+ action: RUN_PLUGIN "touch_sound";
+ }
+ 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);
+ }
+ get_state(PART:"bg", st, 30, vl);
+ if (strcmp(st, "disabled"))
+ set_state(PART:"elm.text", "default", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 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", "default", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ target: "icon_rect";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ target: "icon_rect";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "bg";
+ target: "elm.swallow.content.clip";
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg";
+ target: "elm.swallow.content.clip";
+ target: "elm.text";
+ }
+ program { name: "multi_down";
+ signal: "elm,action,multi,down";
+ source: "elm";
+ script {
+ set_int(multi_down, 1);
+ }
+ }
+ program { name: "multi_up";
+ signal: "elm,action,multi,up";
+ source: "elm";
+ script {
+ set_int(multi_down, 0);
+ }
+ }
+ }
+}
+
+ group { name: "elm/button/base/ime_transparent";
+ inherit: "elm/button/base/default";
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 112;
+ visible: 0;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
}
}
}
}
group { name: "elm/button/base/ime_button";
- alias: "elm/button/base/ime_button_stt";
- inherit: "elm/button/base/default";
- parts {
- part { name: "bg";
- type: IMAGE;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 0;
- color_class: "AO01153L1";
- visible: 1;
- image.normal: "./w_mode_ic_bg.png";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color_class: "AO01153L1P";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
+ alias: "elm/button/base/ime_button_stt";
+ inherit: "elm/button/base/default";
+ parts {
+ part { name: "bg";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ color_class: "AO01153L1";
+ visible: 1;
+ image.normal: "./w_mode_ic_bg.png";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color_class: "AO01153L1P";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color_class: "W011D";
}
}
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.swallow.content.clip";
- description { state: "default" 0.0;
- visible: 1;
- align: 0.5 0.5;
- rel1 { relative: 0.0 0.0; to: "bg";}
- rel2 { relative: 1.0 1.0; to: "bg";}
- fixed: 1 1;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.swallow.content.clip";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- color_class: "AO01153L3";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color_class: "AO01153L3P";
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "elm.swallow.content.clip";
+ description { state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ rel1 { relative: 0.0 0.0; to: "bg";}
+ rel2 { relative: 1.0 1.0; to: "bg";}
+ fixed: 1 1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
}
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- }
- }
- part { name: "elm.swallow.content_ef";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- align: 0.5 0.5;
- rel1 { relative: 0.0 0.0; to: "bg";}
- rel2 { relative: 1.0 1.0; to: "bg";}
- fixed: 1 1;
- }
- }
- }
- programs {
- program { name: "pressed";
- signal: "mouse,down,1*";
- source: "event";
- script {
- if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
- {
- set_int(mouse_down, 1);
- run_program(PROGRAM:"button_press1");
- }
- }
- }
- program { name: "button_press1";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"bg", st, 30, vl);
- if (strcmp(st, "disabled")) {
- set_state(PART:"bg", "pressed", 0.0);
- set_state(PART:"elm.swallow.content.clip", "pressed", 0.0);
- emit("elm,action,press", "");
- }
- }
- }
- program { name: "unpressed";
- signal: "mouse,up,1";
- source: "event";
- script {
- if (get_int(mouse_down) == 1) {
- set_int(mouse_down, 0);
- run_program(PROGRAM:"button_unpress1");
- }
- }
- }
- program { name: "button_unpress1";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"bg", st, 30, vl);
- if (strcmp(st, "disabled")) {
- set_state(PART:"bg", "default", 0.0);
- set_state(PART:"elm.swallow.content.clip", "default", 0.0);
- emit("elm,action,unpress", "");
- }
- }
- }
- }
+
+ }
+ programs {
+ program { name: "pressed";
+ signal: "mouse,down,1*";
+ source: "event";
+ script {
+ if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
+ {
+ set_int(mouse_down, 1);
+ run_program(PROGRAM:"button_press1");
+ }
+ }
+ }
+ program { name: "button_press1";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"bg", st, 30, vl);
+ if (strcmp(st, "disabled")) {
+ set_state(PART:"bg", "pressed", 0.0);
+ set_state(PART:"elm.swallow.content.clip", "pressed", 0.0);
+ emit("elm,action,press", "");
+ }
+ }
+ }
+ program { name: "unpressed";
+ signal: "mouse,up,1";
+ source: "event";
+ script {
+ if (get_int(mouse_down) == 1) {
+ set_int(mouse_down, 0);
+ run_program(PROGRAM:"button_unpress1");
+ }
+ }
+ }
+ program { name: "button_unpress1";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"bg", st, 30, vl);
+ if (strcmp(st, "disabled")) {
+ set_state(PART:"bg", "default", 0.0);
+ set_state(PART:"elm.swallow.content.clip", "default", 0.0);
+ emit("elm,action,unpress", "");
+ }
+ }
+ }
+ }
}
group { name: "elm/button/base/ime_button_emoticon";
- inherit: "elm/button/base/ime_button";
- parts {
- part { name: "bg";
- type: IMAGE;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 0;
- color_class: "AO01154L1";
- visible: 1;
- image.normal: "./w_mode_ic_bg.png";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color_class: "AO01154L1P";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
+ inherit: "elm/button/base/ime_button";
+ parts {
+ part { name: "bg";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ color_class: "AO01154L1";
+ visible: 1;
+ image.normal: "./w_mode_ic_bg.png";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color_class: "AO01154L1P";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color_class: "W011D";
+ }
}
}
}
- }
group { name: "elm/button/base/ime_button_keyboard";
- inherit: "elm/button/base/ime_button";
- parts {
- part { name: "bg";
- type: IMAGE;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 0;
- color_class: "AO01155L1";
- visible: 1;
- image.normal: "./w_mode_ic_bg.png";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color_class: "AO01155L1P";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
+ inherit: "elm/button/base/ime_button";
+ parts {
+ part { name: "bg";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ color_class: "AO01155L1";
+ visible: 1;
+ image.normal: "./w_mode_ic_bg.png";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color_class: "AO01155L1P";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color_class: "W011D";
}
}
}
}
group { name: "elm/button/base/ime_button_template";
- inherit: "elm/button/base/ime_button";
- parts {
- part { name: "bg";
- type: IMAGE;
- scale: 1;
- description { state: "default" 0.0;
- min: 76 76;
- max: 76 76;
- color_class: "AO01161";
- visible: 1;
- image.normal: "./w_mode_ic_bg.png";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color_class: "AO01161P";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color_class: "AO01161D";
+ inherit: "elm/button/base/ime_button";
+ parts {
+ part { name: "bg";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 76 76;
+ max: 76 76;
+ color_class: "AO01161";
+ visible: 1;
+ image.normal: "./w_mode_ic_bg.png";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color_class: "AO01161P";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color_class: "AO01161D";
}
}
- part { name: "elm.swallow.content.clip";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- color_class: "AO0116";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color_class: "AO0116P";
+ part { name: "elm.swallow.content.clip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color_class: "AO01153L3";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color_class: "AO01153L3P";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color_class: "AO01153L3D";
+ }
}
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color_class: "AO0116D";
- }
- }
}
}
group { name: "elm/button/base/ime_button_stt_confirm";
- inherit: "elm/button/base/ime_button";
- parts {
- part { name: "bg";
- type: IMAGE;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 0;
- color_class: "AO015L2";
- visible: 0;
- image.normal: "./b_stt_icon_btn.png";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color_class: "AO015L2P";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color_class: "AO015L2D";
+ inherit: "elm/button/base/ime_button";
+ parts {
+ part { name: "bg";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ color_class: "AO015L2";
+ visible: 0;
+ image.normal: "./b_stt_icon_btn.png";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color_class: "AO015L2P";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color_class: "AO015L2D";
}
}
- part { name: "elm.swallow.content.clip";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- color_class: "AO015L2";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color_class: "AO015L2P";
+ part { name: "elm.swallow.content.clip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color_class: "AO015L2";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color_class: "AO015L2P";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color_class: "AO015L2D";
+ }
}
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color_class: "AO015L2D";
- }
- }
}
}
group { name: "elm/button/base/touch_area";
- inherit: "elm/button/base/default";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 0;
- color: 0 0 0 0;
- visible: 1;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
+ inherit: "elm/button/base/default";
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ color: 0 0 0 0;
+ visible: 1;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
}
}
}
- programs {
- program { name: "touch_snd";
- signal: "mouse,clicked,1";
- source: "event";
- script {
- new st[31];
- new Float:vl;
- if (get_int(multi_down) == 0) {
- get_state(PART:"bg", st, 30, vl);
- if (strcmp(st, "disabled")) {
- run_program(PROGRAM:"play_sample");
- emit("elm,action,click", "");
- }
+ programs {
+ program { name: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "event";
+ script {
+ new st[31];
+ new Float:vl;
+ if (get_int(multi_down) == 0) {
+ get_state(PART:"bg", st, 30, vl);
+ if (strcmp(st, "disabled")) {
+ run_program(PROGRAM:"play_sample");
+ emit("elm,action,click", "");
+ }
+ }
}
- }
- }
- }
+ }
+ }
}
#define NAVIFRAME_VIEW_TRANS_TIME 0.4 //time for push and pop