summaryrefslogtreecommitdiff
path: root/data/themes/widgets/button.edc
diff options
context:
space:
mode:
Diffstat (limited to 'data/themes/widgets/button.edc')
-rw-r--r--data/themes/widgets/button.edc72
1 files changed, 36 insertions, 36 deletions
diff --git a/data/themes/widgets/button.edc b/data/themes/widgets/button.edc
index b4e6c4a0b..11dcd4279 100644
--- a/data/themes/widgets/button.edc
+++ b/data/themes/widgets/button.edc
@@ -32,7 +32,7 @@ group { name: "elm/button/base/default";
}
}
}
- part { name: "elm.swallow.icon";
+ part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
@@ -69,7 +69,7 @@ group { name: "elm/button/base/default";
scale: 1;
description { state: "default" 0.0;
visible: 0;
- rel1.to_x: "elm.swallow.icon";
+ rel1.to_x: "elm.swallow.content";
rel1.relative: 1.0 0.0;
rel1.offset: 0 4;
rel2.offset: -5 -5;
@@ -227,9 +227,9 @@ group { name: "elm/button/base/default";
script {
new st[31];
new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "icononly"))
- set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
set_state(PART:"elm.text", "disabled_visible", 0.0);
@@ -243,9 +243,9 @@ group { name: "elm/button/base/default";
script {
new st[31];
new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "visible"))
- set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
set_state(PART:"elm.text", "default", 0.0);
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "default") || (!strcmp(st, "visible")))
@@ -262,16 +262,16 @@ group { name: "elm/button/base/default";
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "visible"))
- set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
else
- set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
}
}
program { name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
+ target: "elm.swallow.content";
}
program { name: "disable";
signal: "elm,state,disabled";
@@ -359,7 +359,7 @@ group { name: "elm/button/base/hoversel_vertical/default";
align: 0.0 0.5;
}
}
- part { name: "elm.swallow.icon";
+ part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
@@ -406,7 +406,7 @@ group { name: "elm/button/base/hoversel_vertical/default";
scale: 1;
description { state: "default" 0.0;
visible: 0;
- rel1.to_x: "elm.swallow.icon";
+ rel1.to_x: "elm.swallow.content";
rel1.relative: 1.0 0.0;
rel1.offset: 0 4;
rel2.offset: -5 -5;
@@ -541,9 +541,9 @@ group { name: "elm/button/base/hoversel_vertical/default";
script {
new st[31];
new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "icononly"))
- set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
set_state(PART:"elm.text", "visible", 0.0);
}
}
@@ -553,9 +553,9 @@ group { name: "elm/button/base/hoversel_vertical/default";
script {
new st[31];
new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "visible"))
- set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
set_state(PART:"elm.text", "default", 0.0);
}
}
@@ -567,16 +567,16 @@ group { name: "elm/button/base/hoversel_vertical/default";
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "visible"))
- set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
else
- set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
}
}
program { name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
+ target: "elm.swallow.content";
}
program { name: "disable";
signal: "elm,state,disabled";
@@ -644,7 +644,7 @@ group { name: "elm/button/base/hoversel_vertical_entry/default";
color: 255 255 255 255;
}
}
- part { name: "elm.swallow.icon";
+ part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
visible: 0;
@@ -688,7 +688,7 @@ group { name: "elm/button/base/hoversel_vertical_entry/default";
scale: 1;
clip_to: "textvis";
description { state: "default" 0.0;
- rel1.to_x: "elm.swallow.icon";
+ rel1.to_x: "elm.swallow.content";
rel1.relative: 1.0 0.0;
rel1.offset: 0 4;
rel2.offset: -5 -5;
@@ -750,9 +750,9 @@ group { name: "elm/button/base/hoversel_vertical_entry/default";
script {
new st[31];
new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "icononly"))
- set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
set_state(PART:"textvis", "visible", 0.0);
set_state(PART:"elm.text", "visible", 0.0);
}
@@ -763,9 +763,9 @@ group { name: "elm/button/base/hoversel_vertical_entry/default";
script {
new st[31];
new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "visible"))
- set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
set_state(PART:"textvis", "default", 0.0);
set_state(PART:"elm.text", "default", 0.0);
}
@@ -778,16 +778,16 @@ group { name: "elm/button/base/hoversel_vertical_entry/default";
new Float:vl;
get_state(PART:"textvis", st, 30, vl);
if (!strcmp(st, "visible"))
- set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
else
- set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
}
}
program { name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
+ target: "elm.swallow.content";
}
}
}
@@ -833,7 +833,7 @@ group { name: "elm/button/base/anchor";
}
}
}
- part { name: "elm.swallow.icon";
+ part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
@@ -870,7 +870,7 @@ group { name: "elm/button/base/anchor";
scale: 1;
description { state: "default" 0.0;
visible: 0;
- rel1.to_x: "elm.swallow.icon";
+ rel1.to_x: "elm.swallow.content";
rel1.relative: 1.0 0.0;
rel1.offset: 0 4;
rel2.offset: -5 -5;
@@ -1020,9 +1020,9 @@ group { name: "elm/button/base/anchor";
script {
new st[31];
new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "icononly"))
- set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
set_state(PART:"elm.text", "disabled_visible", 0.0);
@@ -1036,9 +1036,9 @@ group { name: "elm/button/base/anchor";
script {
new st[31];
new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
+ get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "visible"))
- set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "default") || (!strcmp(st, "visible")))
set_state(PART:"elm.text", "default", 0.0);
@@ -1054,16 +1054,16 @@ group { name: "elm/button/base/anchor";
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "visible"))
- set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
else
- set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
}
}
program { name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
+ target: "elm.swallow.content";
}
program { name: "disable";
signal: "elm,state,disabled";