summaryrefslogtreecommitdiff
path: root/data/widget/button.edc
diff options
context:
space:
mode:
authorHyerim Kim <rimi.kim@samsung.com>2017-09-05 21:13:14 +0900
committerHyerim Kim <rimi.kim@samsung.com>2017-09-06 16:24:08 +0900
commitb6609f50613e23d1882331fa5911adca5836b7f9 (patch)
treecf3632c7140369494fd8c831bb745f45b180d714 /data/widget/button.edc
parentf0e37edfb011436627c84eef75af65014a57ad6d (diff)
downloadair_livetv-tizen_6.0.tar.gz
air_livetv-tizen_6.0.tar.bz2
air_livetv-tizen_6.0.zip
Modifies Live-tv application for displaying background image on Hometizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasetizen_6.0.m2_releasetizen_5.5.m2_releasetizen_4.0.m2_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_6.5/20211029.140001submit/tizen_6.5/20211028.164001submit/tizen_6.0_hotfix/20201103.115105submit/tizen_6.0_hotfix/20201102.192905submit/tizen_6.0/20201029.205505submit/tizen_5.5_wearable_hotfix/20201026.184309submit/tizen_5.5_mobile_hotfix/20201026.185109submit/tizen_5.5/20191031.000013submit/tizen_5.5/20191031.000011submit/tizen_5.5/20191031.000009submit/tizen_5.0/20181106.000001submit/tizen_5.0/20181101.000009submit/tizen_4.0/20170907.043947submit/tizen/20170906.103347accepted/tizen/unified/20170911.155614accepted/tizen/8.0/unified/20231005.100105accepted/tizen/7.0/unified/hotfix/20221116.112006accepted/tizen/7.0/unified/20221110.061740accepted/tizen/6.0/unified/hotfix/20201103.044959accepted/tizen/6.0/unified/20201030.103300accepted/tizen/5.5/unified/wearable/hotfix/20201027.095200accepted/tizen/5.5/unified/mobile/hotfix/20201027.071204accepted/tizen/5.5/unified/20191031.034729accepted/tizen/5.0/unified/20181106.202933accepted/tizen/4.0/unified/20170911.154210tizen_8.0tizen_7.0_hotfixtizen_7.0tizen_6.5tizen_6.0_hotfixtizen_6.0tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5tizen_5.0tizen_4.0tizenaccepted/tizen_unifiedaccepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedaccepted/tizen_5.0_unifiedaccepted/tizen_4.0_unified
Change-Id: I4081ad312fd6e77169e55d33a3c9a3755ec8770e Signed-off-by: Hyerim Kim <rimi.kim@samsung.com>
Diffstat (limited to 'data/widget/button.edc')
-rw-r--r--data/widget/button.edc1264
1 files changed, 0 insertions, 1264 deletions
diff --git a/data/widget/button.edc b/data/widget/button.edc
deleted file mode 100644
index 330dd36..0000000
--- a/data/widget/button.edc
+++ /dev/null
@@ -1,1264 +0,0 @@
-/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#define STATE_NORMAL 0
-#define STATE_SELECTED 1
-
-group {
- name, "elm/button/base/style.livetv.button";
- data.item, "focus_highlight" "on";
- parts {
- part {
- name, "part.bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- min, 0 64;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- color: 0 119 246 255;
- }
- }
-
- part {
- name, "padding.text.left";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- min, 20 0;
- rel1.to, "part.bg";
- rel2 {
- to, "part.bg";
- relative, 0.0 1.0;
- }
- align, 0.0 0.5;
- fixed, 1 0;
- }
- }
-
- part {
- name, "padding.text.right";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- min, 20 0;
- rel1 {
- to, "part.bg";
- relative, 1.0 0.0;
- }
- rel2.to, "part.bg";
- align, 1.0 0.5;
- fixed, 1 0;
- }
- }
-
- part {
- name, "elm.text";
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 87 87 87 255;
- rel1 {
- to, "padding.text.left";
- relative, 1.0 0.0;
- }
- rel2 {
- to, "padding.text.right";
- relative, 0.0 1.0;
- }
- text {
- font, FONT_LIGHT;
- size, 28;
- align, 0.5 0.5;
- }
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 87 87 87 128;
- }
- }
-
- part {
- name, "part.inside.line.up";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 194 194 194 255;
- rel1.to, "part.bg";
- rel2 {
- to, "part.bg";
- relative, 1.0 0.0;
- }
- min, 0 1;
- align, 0.5 0.0;
- fixed, 0 1;
- }
- }
-
- part {
- name, "part.inside.line.left";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 194 194 194 255;
- rel1 {
- to, "part.inside.line.up";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "part.bg";
- relative, 0.0 1.0;
- }
- min, 1 0;
- align, 0.0 0.5;
- fixed, 1 0;
- }
- }
-
- part {
- name, "part.inside.line.down";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 194 194 194 255;
- rel1 {
- to, "part.inside.line.left";
- relative, 1.0 1.0;
- }
- rel2.to, "part.bg";
- min, 0 1;
- align, 0.5 1.0;
- fixed, 0 1;
- }
- }
-
- part {
- name, "part.inside.line.right";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 194 194 194 255;
- rel1 {
- to, "part.inside.line.up";
- relative, 1.0 1.0;
- }
- rel2 {
- to, "part.inside.line.down";
- relative, 1.0 0.0;
- }
- min, 1 0;
- align, 1.0 0.5;
- fixed, 1 0;
- }
- }
- }
- programs {
- program {
- name: "disabled";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "part.bg";
- target: "elm.text";
- }
- program {
- name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "part.bg";
- target: "elm.text";
- }
- program {
- name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "part.bg";
- target: "elm.text";
- }
- }
-}
-
-group {
- name, "elm/button/base/style.more.button";
- inherit, "elm/button/base/style.livetv.button";
- data.item, "focus_highlight" "on";
- parts {
- part {
- name, "area";
- type, SPACER;
- mouse_events, 0;
- scale, 1;
- description {
- state, "default" 0.0;
- min, 184 116;
- }
- }
-
- part {
- name, "part.bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.relative, 0.0 0.5;
- rel2.relative, 1.0 0.5;
- min, 0 60;
- align, 0.0 0.5;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- color: 0 119 246 255;
- }
- }
- }
-}
-
-#define DEFAULT 1
-#define SELECTED 2
-#define FOCUSED 3
-#define DISABLED 4
-
-group {
- name, "elm/button/base/style.action.menu.button";
- data.item, "focus_highlight" "on";
- script {
- public is_toggle, is_selected, is_enabled, is_focused, is_init, cur_state;
-
- public init_values() {
- if(get_int(is_init)==0)
- {
- set_int(is_toggle, 0);
- set_int(is_enabled, 1);
- set_int(is_focused, 0);
- set_int(is_init, 1);
- set_int(cur_state, -1);
- }
- }
- public set_states() {
- new togg;
- new enab;
- new foc;
- new sel;
- new c_state;
- togg = get_int(is_toggle);
- enab = get_int(is_enabled);
- foc = get_int(is_focused);
- sel = get_int(is_selected);
- c_state = get_int(cur_state);
-
- if(enab == 0)
- {
- if(c_state != DISABLED)
- {
- if (togg == 0)
- {
- run_program(PROGRAM:"do_disable");
- run_program(PROGRAM:"do_hide.1");
- }
- else {
- run_program(PROGRAM:"do_disable.1");
- run_program(PROGRAM:"do_hide");
- }
- }
- }
- else
- {
- if(foc == 1)
- {
- if(c_state != FOCUSED)
- {
- if (togg == 0)
- {
- run_program(PROGRAM:"do_focus");
- run_program(PROGRAM:"do_hide.1");
- }
- else {
- run_program(PROGRAM:"do_focus.1");
- run_program(PROGRAM:"do_hide");
- }
- }
- }
- else if(sel == 1)
- {
- if(c_state != SELECTED)
- {
- if (togg == 0)
- {
- run_program(PROGRAM:"do_select");
- run_program(PROGRAM:"do_hide.1");
- }
- else {
- run_program(PROGRAM:"do_select.1");
- run_program(PROGRAM:"do_hide");
- }
- }
- }
- else
- {
- if(c_state != DEFAULT)
- {
- if (togg == 0)
- {
- run_program(PROGRAM:"do_default");
- run_program(PROGRAM:"do_hide.1");
- }
- else {
- run_program(PROGRAM:"do_default.1");
- run_program(PROGRAM:"do_hide");
- }
- }
- }
- }
- }
- }
- parts {
- part {
- name, "part.bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- min, 124 124;
- color, 255 255 255 255;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- color, 0 119 246 255;
- }
- }
-
- part {
- name, "padding.icon1";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1.to, "part.bg";
- rel2 {
- to, "part.bg";
- relative, 1.0 0.0;
- }
- min, 0 14;
- align, 0.5 0.0;
- fixed, 0 1;
- }
- }
-
- part {
- name, "padding.icon2";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "part.bg";
- relative, 0.0 1.0;
- }
- rel2.to, "part.bg";
- min, 0 50;
- align, 0.5 1.0;
- fixed, 0 1;
- }
- }
-
- part {
- name, "part.icon.bg";
- type, RECT;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "padding.icon1";
- relative, 0.0 1.0;
- }
- rel2 {
- to, "padding.icon2";
- relative, 1.0 0.0;
- }
- align, 0.5 0.5;
- min, 60 60;
- }
- }
-
- part {
- name, "elm.swallow.icon";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect, 1.0 1.0;
- aspect_preference, BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- part {
- name, "elm.swallow.icon.focus";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- visible, 0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- part {
- name, "elm.swallow.icon.select";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- visible, 0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- part {
- name, "elm.swallow.icon.disable";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- visible, 0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
-
- part {
- name, "elm.swallow.icon.1";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect, 1.0 1.0;
- aspect_preference, BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- part {
- name, "elm.swallow.icon.1.focus";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- visible, 0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- part {
- name, "elm.swallow.icon.1.select";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- visible, 0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- part {
- name, "elm.swallow.icon.1.disable";
- type, SWALLOW;
- scale, 1;
- clip_to: "part.icon.bg";
- description {
- state, "default" 0.0;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- rel1 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- rel2 {
- to, "part.icon.bg";
- relative, 0.5 0.5;
- }
- align, 0.5 0.5;
- fixed, 1 1;
- min, 60 60;
- visible, 0;
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- description {
- state, "disabled" 0.0;
- inherit, "default" 0.0;
- visible, 1;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
-
- part {
- name, "padding.text";
- type, SPACER;
- scale, 1;
- description {
- state, "default" 0.0;
- rel1 {
- to, "part.bg";
- relative, 0.0 1.0;
- }
- rel2.to, "part.bg";
- min, 0 24;
- align, 0.5 1.0;
- fixed, 0 1;
- }
- }
-
- part {
- name, "elm.text";
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 104 104 104 255;
- rel1.to, "padding.text";
- rel2 {
- to, "padding.text";
- relative, 1.0 0.0;
- }
- min, 0 20;
- align, 0.5 1.0;
- fixed, 0 1;
- text {
- font, FONT_LIGHT;
- size, 20;
- align, 0.5 0.5;
- }
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- color, 255 255 255 255;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- color, 64 136 211 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 104 104 104 128;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
-
- part {
- name, "elm.text.1";
- type, TEXT;
- scale, 1;
- description {
- state, "default" 0.0;
- color, 104 104 104 255;
- rel1.to, "padding.text";
- rel2 {
- to, "padding.text";
- relative, 1.0 0.0;
- }
- min, 0 20;
- align, 0.5 1.0;
- fixed, 0 1;
- text {
- font, FONT_LIGHT;
- size, 20;
- align, 0.5 0.5;
- }
- }
- description {
- state, "focused" 0.0;
- inherit, "default" 0.0;
- color, 255 255 255 255;
- }
- description {
- state, "selected" 0.0;
- inherit, "default" 0.0;
- color, 64 136 211 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 104 104 104 128;
- }
- description {
- state, "invisible" 0.0;
- inherit, "default" 0.0;
- visible, 0;
- }
- }
- }
- programs {
- program {
- name: "go_toggle";
- signal: "elm,state,toggle";
- source: "elm";
- script {
- init_values();
- set_int(is_toggle, 1);
- set_states();
- }
- }
- program {
- name: "go_untoggle";
- signal: "elm,state,untoggle";
- source: "elm";
- script {
- init_values();
- set_int(is_toggle, 0);
- set_states();
- }
- }
- program {
- name: "go_focused";
- signal: "elm,action,focus";
- source: "elm";
- script {
- init_values();
- set_int(is_focused, 1);
- set_states();
- }
- }
- program {
- name: "go_unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- script {
- init_values();
- set_int(is_focused, 0);
- set_states();
- }
- }
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- script {
- init_values();
- set_int(is_selected, 1);
- set_states();
- }
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- script {
- init_values();
- set_int(is_selected, 0);
- set_states();
- }
- }
- program {
- name: "go_disabled";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- init_values();
- set_int(is_enabled, 0);
- set_states();
- }
- }
- program {
- name: "go_enabled";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- init_values();
- set_int(is_enabled, 1);
- set_states();
- }
- }
- program {
- name: "do_hide";
- action: STATE_SET "invisible" 0.0;
- target: "elm.text";
- target: "elm.swallow.icon";
- target: "elm.swallow.icon.focus";
- target: "elm.swallow.icon.select";
- target: "elm.swallow.icon.disable";
- }
- program {
- name: "do_default";
- action: STATE_SET "default" 0.0;
- target: "part.bg";
- target: "elm.text";
- target: "elm.swallow.icon";
- target: "elm.swallow.icon.focus";
- target: "elm.swallow.icon.select";
- target: "elm.swallow.icon.disable";
- }
- program {
- name: "do_focus";
- action: STATE_SET "focused" 0.0;
- target: "part.bg";
- target: "elm.text";
- target: "elm.swallow.icon";
- target: "elm.swallow.icon.focus";
- target: "elm.swallow.icon.select";
- target: "elm.swallow.icon.disable";
- }
-
- program {
- name: "do_select";
- action: STATE_SET "selected" 0.0;
- target: "part.bg";
- target: "elm.text";
- target: "elm.swallow.icon";
- target: "elm.swallow.icon.focus";
- target: "elm.swallow.icon.select";
- target: "elm.swallow.icon.disable";
- }
-
- program {
- name: "do_disable";
- action: STATE_SET "disabled" 0.0;
- target: "part.bg";
- target: "elm.text";
- target: "elm.swallow.icon";
- target: "elm.swallow.icon.focus";
- target: "elm.swallow.icon.select";
- target: "elm.swallow.icon.disable";
- }
-
- program {
- name: "do_hide.1";
- action: STATE_SET "invisible" 0.0;
- target: "elm.text.1";
- target: "elm.swallow.icon.1";
- target: "elm.swallow.icon.1.focus";
- target: "elm.swallow.icon.1.select";
- target: "elm.swallow.icon.1.disable";
- }
-
- program {
- name: "do_default.1";
- action: STATE_SET "default" 0.0;
- target: "part.bg";
- target: "elm.text.1";
- target: "elm.swallow.icon.1";
- target: "elm.swallow.icon.1.focus";
- target: "elm.swallow.icon.1.select";
- target: "elm.swallow.icon.1.disable";
- }
- program {
- name: "do_focus.1";
- action: STATE_SET "focused" 0.0;
- target: "part.bg";
- target: "elm.text.1";
- target: "elm.swallow.icon.1";
- target: "elm.swallow.icon.1.focus";
- target: "elm.swallow.icon.1.select";
- target: "elm.swallow.icon.1.disable";
- }
-
- program {
- name: "do_select.1";
- action: STATE_SET "selected" 0.0;
- target: "part.bg";
- target: "elm.text.1";
- target: "elm.swallow.icon.1";
- target: "elm.swallow.icon.1.focus";
- target: "elm.swallow.icon.1.select";
- target: "elm.swallow.icon.1.disable";
- }
-
- program {
- name: "do_disable.1";
- action: STATE_SET "disabled" 0.0;
- target: "part.bg";
- target: "elm.text.1";
- target: "elm.swallow.icon.1";
- target: "elm.swallow.icon.1.focus";
- target: "elm.swallow.icon.1.select";
- target: "elm.swallow.icon.1.disable";
- }
- }
-}
-
-group {
- name, "elm/button/base/style.action.menu.favorite";
- data.item: "focus_highlight" "on";
- parts {
- part {
- name: "area";
- type: SPACER;
- description {
- state: "default" 0.0;
- min: 440 292;
- fixed: 0 0;
- }
- }
- part {
- name: "elm.swallow.content_bg";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- min: 440 210;
- fixed: 1 1;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- min: 440 210;
- fixed: 1 1;
- }
- }
- part {
- name: "elm.swallow.text_bg";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- min: 440 82;
- align: 0.0 1.0;
- fixed: 1 1;
- }
- }
- part {
- name: "content.border_top";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2 {
- to: "elm.swallow.content";
- relative: 1.0 0.0;
- }
- min: 0 6;
- align: 0.5 0.0;
- color: 0 119 246 255;
- fixed: 0 1;
- visible: 0;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "content.border_left";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2 {
- to: "elm.swallow.content";
- relative: 0.0 1.0;
- }
- min: 6 0;
- align: 0.0 0.5;
- color: 0 119 246 255;
- fixed: 1 0;
- visible: 0;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "content.border_right";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to: "elm.swallow.content";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "elm.swallow.content";
- relative: 1.0 1.0;
- }
- min: 6 0;
- align: 1.0 0.5;
- color: 0 119 246 255;
- fixed: 1 0;
- visible: 0;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "content.border_bottom";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to: "elm.swallow.content";
- relative: 0.0 1.0;
- }
- align: 0.0 0.0;
- color: 0 119 246 255;
- fixed: 1 1;
- visible: 0;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to: "elm.swallow.text_bg";
- relative: 0.5 0.5;
- }
- rel2 {
- to: "elm.swallow.text_bg";
- relative: 0.5 0.5;
- }
- text {
- font: FONT_LIGHT;
- size: 28;
- align: 0.0 0.5;
- }
- align: 0.5 0.5;
- color: 255 255 255 255;
- min: 404 28;
- fixed: 1 1;
- }
- }
- part {
- name: "event";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "go_active";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "elm.swallow.content";
- target: "content.border_top";
- target: "content.border_left";
- target: "content.border_right";
- target: "content.border_bottom";
- }
- program {
- name: "go_passive";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "content.border_top";
- target: "content.border_left";
- target: "content.border_right";
- target: "content.border_bottom";
- }
- program {
- name, "mouse_unclick_after";
- signal, "mouse,clicked,1";
- source, "event";
- action, SIGNAL_EMIT "elm,action,click" "";
- }
- }
-}