summaryrefslogtreecommitdiff
path: root/mobile/widgets_default
diff options
context:
space:
mode:
authorJee-Yong Um <jc9.um@samsung.com>2015-08-16 15:17:21 +0900
committerSungTaek Hong <sth253.hong@samsung.com>2015-08-20 20:44:40 +0900
commit03fda385fdefec6382382a64b1f1c153d0861195 (patch)
tree596108dcb75afd917603a07242d44d20bee8465a /mobile/widgets_default
parent472317ae318f3c8bdaab928e06d1f3c0b946e3f3 (diff)
downloadefl-theme-tizen-mobile-03fda385fdefec6382382a64b1f1c153d0861195.tar.gz
efl-theme-tizen-mobile-03fda385fdefec6382382a64b1f1c153d0861195.tar.bz2
efl-theme-tizen-mobile-03fda385fdefec6382382a64b1f1c153d0861195.zip
[2.4][Hoversel] Make "dropdown" button style same to hoversel
Change-Id: I0530e998e6c775e80fae903ade47033605a01f97 Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Diffstat (limited to 'mobile/widgets_default')
-rw-r--r--mobile/widgets_default/button.edc193
1 files changed, 0 insertions, 193 deletions
diff --git a/mobile/widgets_default/button.edc b/mobile/widgets_default/button.edc
index b3b42d1b..6fe3d24c 100644
--- a/mobile/widgets_default/button.edc
+++ b/mobile/widgets_default/button.edc
@@ -327,196 +327,3 @@ group { name: "elm/button/base/anchor";
}
}
-group { name: "elm/button/base/dropdown";
- script {
- public mouse_down = 0;
- public multi_down = 0;
- }
- images {
- image: "core_dropdown_label_icon_arrow.png" COMP;
- }
- parts {
- part { name: "base";
- scale: 1;
- type: SPACER;
- description { state: "default" 0.0;
- min: BUTTON_MIN_WIDTH BUTTON_DROPDOWN_MIN_HEIGHT;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "padding_left_top";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1.to: "base";
- rel2 {
- relative: 0.0 0.0;
- to: "base";
- }
- min: BUTTON_DROPDOWN_PADDING_LEFT_RIGHT 0;
- 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;
- to:"base";
- }
- rel2.to:"base";
- min: BUTTON_DROPDOWN_PADDING_LEFT_RIGHT 0;
- fixed: 1 1;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 1.0;
- to: "padding_after_text";
- }
- text {
- style: "button_dropdown";
- }
- }
- description { state: "invisible" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "arrow_icon";
- scale: 1;
- description { state: "default" 0.0;
- min: BUTTON_DROPDOWN_ICON_SIZE;
- max: BUTTON_DROPDOWN_ICON_SIZE;
- image.normal: "core_dropdown_label_icon_arrow.png";
- color_class: "B0734";
- rel2 {
- to_x: "padding_right_bottom";
- to_y: "underline_bottom";
- relative: 0.0 0.0;
- }
- align: 1.0 1.0;
- }
- }
- part { name: "underline_bottom";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 BUTTON_DROPDOWN_UNDERLINE_HEIGHT;
- color_class:"B0733L2";
- rel1 {
- relative: 1.0 1.0;
- to_x: "padding_left_top";
- to_y: "base";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "padding_right_bottom";
- to_y: "base";
- }
- align: 1.0 1.0 ;
- fixed: 1 1;
- }
- }
- part { name: "padding_after_text";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: BUTTON_DROPDOWN_PADDING_TEXT_WIDTH 0;
- rel1 {
- relative: 0.0 0.0;
- to: "arrow_icon";
- }
- rel2 {
- relative: 0.0 1.0;
- to: "arrow_icon";
- }
- align: 0.0 0.0;
- fixed: 1 1;
- }
- }
- part { name: "event";
- scale: 1;
- type: RECT;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 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:"base", st, 30, vl);
- if (strcmp(st, "disabled")) {
- run_program(PROGRAM:"touch_sound");
- emit("elm,action,click", "");
- }
- }
- }
- }
- program { name: "touch_sound";
- action: RUN_PLUGIN "touch_sound";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: elm.text;
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "invisible" 0.0;
- target: elm.text;
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "base";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "base";
- }
- 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);
- }
- }
- }
- }
-