diff options
author | Rajeev Ranjan <rajeev.r@samsung.com> | 2011-02-17 15:18:50 +0530 |
---|---|---|
committer | Rajeev Ranjan <rajeev.r@samsung.com> | 2011-02-17 15:18:50 +0530 |
commit | 05c4d4d4c08caa89f5bc200802636eff4aa505e3 (patch) | |
tree | 3be842383021cc9f5a2ff1c1ca96eca0bbe24d50 /themes/groups/radio.edc | |
parent | 1d7996bfc32745e71cc48a97e5c59d8b18182270 (diff) | |
download | efl-theme-tizen-05c4d4d4c08caa89f5bc200802636eff4aa505e3.tar.gz efl-theme-tizen-05c4d4d4c08caa89f5bc200802636eff4aa505e3.tar.bz2 efl-theme-tizen-05c4d4d4c08caa89f5bc200802636eff4aa505e3.zip |
NBeat Theme implementation for Button, Check and Radio.
Change-Id: I3eab1ed9b3241772844c1eadd1ac934efe41a493
Diffstat (limited to 'themes/groups/radio.edc')
-rw-r--r-- | themes/groups/radio.edc | 872 |
1 files changed, 582 insertions, 290 deletions
diff --git a/themes/groups/radio.edc b/themes/groups/radio.edc index 7803eb26..09fdd463 100644 --- a/themes/groups/radio.edc +++ b/themes/groups/radio.edc @@ -23,155 +23,155 @@ * */ - styles { - style { name: "radio_label_textblock_style"; - base: "font=SLP:style=Medium font_size=14 color=#ffffff wrap=char"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=SLP:style=Bold"; - tag: "b" "+ font=SLP:style=Bold"; - tag: "whitecolor" "+ color=#ffffff"; - tag: "tab" "\t"; - } - style { name: "radio_label_textblock_disabled_style"; - base: "font=SLP:style=Medium font_size=14 color=#888888 color3=#000000 wrap=char"; - tag: "br" "\n"; - tag: "ps" "ps"; - tag: "hilight" "+ font=SLP:style=Bold"; - tag: "b" "+ font=SLP:style=Bold"; - tag: "whitecolor" "+ color=#ffffff"; - tag: "tab" "\t"; - } - } - group { name: "elm/radio/base/default"; - images { - image: "00_button_radio.png" COMP; - image: "00_button_radio_press.png" COMP; - image: "00_button_radio_focus.png" COMP; - image: "00_button_radio_dim.png" COMP; - } - parts { - part { name: "bg"; - mouse_events: 1; - scale: 1; - type: RECT; - description { state: "default" 0.0; - rel1.offset: 0 0; - rel2.relative: 0.0 1.0; - rel2.offset: 0 0; - fixed: 1 0; - align: 0.0 0.5; - min: 42 42; - max: 42 42; - color: 0 0 0 0; - } - } - part { name: "radio"; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1 { - to: "bg"; - offset: 0 0; - } - rel2 { - to: "bg"; - offset: 0 0; - } - visible: 1; - color: 255 255 255 255; - image.normal: "00_button_radio.png"; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_radio_focus.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_radio_press.png"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_radio_dim.png"; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - image.normal: "00_button_radio_dim.png"; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - fixed: 1 0; - visible: 0; - color: 255 255 255 255; - align: 0.0 0.5; - rel1.to_x: "bg"; - rel1.relative: 1.0 0.0; - rel1.offset: 1 1; - rel2.to_x: "bg"; - rel2.relative: 1.0 1.0; - rel2.offset: 2 -2; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - fixed: 1 1; - visible: 1; - aspect: 1.0 1.0; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - visible: 0; - fixed: 0 1; - rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; } - rel2 { relative: 1.0 0.5; offset: -2 -2; } - color: 255 255 255 255; - align: 0.0 0.5; - text { - style: "radio_label_textblock_style"; - min: 0 0; - } - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text.min: 1 1; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled_visible" 0.0; - inherit: "default" 0.0; - visible: 1; - text { - style: "radio_label_textblock_disabled_style"; - min: 1 1; - } - } - } - part { name: "over1"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } + styles { + style { name: "radio_label_textblock_style"; + base: "font=SLP:style=Medium font_size=14 color=#ffffff wrap=char"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font=SLP:style=Bold"; + tag: "b" "+ font=SLP:style=Bold"; + tag: "whitecolor" "+ color=#ffffff"; + tag: "tab" "\t"; + } + style { name: "radio_label_textblock_disabled_style"; + base: "font=SLP:style=Medium font_size=14 color=#888888 color3=#000000 wrap=char"; + tag: "br" "\n"; + tag: "ps" "ps"; + tag: "hilight" "+ font=SLP:style=Bold"; + tag: "b" "+ font=SLP:style=Bold"; + tag: "whitecolor" "+ color=#ffffff"; + tag: "tab" "\t"; + } + } + group { name: "elm/radio/base/default"; + images { + image: "00_button_radio.png" COMP; + image: "00_button_radio_press.png" COMP; + image: "00_button_radio_focus.png" COMP; + image: "00_button_radio_dim.png" COMP; + } + parts { + part { name: "bg"; + mouse_events: 1; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1.offset: 0 0; + rel2.relative: 0.0 1.0; + rel2.offset: 0 0; + fixed: 1 0; + align: 0.0 0.5; + min: 26 26; + max: 26 26; + color: 0 0 0 0; + } + } + part { name: "radio"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "bg"; + offset: 0 0; + } + rel2 { + to: "bg"; + offset: 0 0; + } + visible: 1; + color: 255 255 255 255; + image.normal: "00_button_radio.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_radio_focus.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_radio_press.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_radio_dim.png"; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_radio_dim.png"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + color: 255 255 255 255; + align: 0.0 0.5; + rel1.to_x: "bg"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 1; + rel2.to_x: "bg"; + rel2.relative: 1.0 1.0; + rel2.offset: 2 -2; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + fixed: 1 1; + visible: 1; + aspect: 1.0 1.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 0 1; + rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; } + rel2 { relative: 1.0 0.5; offset: -2 -2; } + color: 255 255 255 255; + align: 0.0 0.5; + text { + style: "radio_label_textblock_style"; + min: 0 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text { + style: "radio_label_textblock_disabled_style"; + min: 1 1; + } + } + } + part { name: "over1"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } part { name: "over2"; type: RECT; repeat_events:1; @@ -179,146 +179,438 @@ color: 0 0 0 0; } } - part { name: "disabler"; - type: RECT; - description { state: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 0 0 0 0; - } - } - } - programs { - program { name: "click"; - signal: "mouse,clicked,1"; - source: "over1"; - action: SIGNAL_EMIT "elm,action,radio,toggle" ""; - } - program { name: "mouse_up"; - signal: "mouse,up,1"; - source: "over2"; - after: "bg_radio_normal"; - } - program { name: "bg_radio_normal"; - script { - new st[31]; - new Float:vl; - get_state(PART:"radio", st, 30, vl); - if (!strcmp(st, "pressed")) - set_state(PART:"radio", "default", 0.0); - set_state(PART:"bg", "default", 0.0); - } - } - program { name: "pressed"; - signal: "mouse,down,1"; - source: "over2"; - script { - new st[31]; - new Float:vl; - get_state(PART:"radio", st, 30, vl); - if (!strcmp(st, "default")) - set_state(PART:"radio", "pressed", 0.0); - } - } - program { name: "radio_on"; - signal: "elm,state,radio,on"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "radio"; - } - program { name: "radio_off"; - signal: "elm,state,radio,off"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "radio"; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.text"; - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - } - 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; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.text", "disabled_visible", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); + part { name: "disabler"; + type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + } + programs { + program { name: "click"; + signal: "mouse,clicked,1"; + source: "over1"; + action: SIGNAL_EMIT "elm,action,radio,toggle" ""; + } + program { name: "mouse_up"; + signal: "mouse,up,1"; + source: "over2"; + after: "bg_radio_normal"; + } + program { name: "bg_radio_normal"; + script { + new st[31]; + new Float:vl; + get_state(PART:"radio", st, 30, vl); + if (!strcmp(st, "pressed")) + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + } + } + program { name: "pressed"; + signal: "mouse,down,1"; + source: "over2"; + script { + new st[31]; + new Float:vl; + get_state(PART:"radio", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"radio", "pressed", 0.0); + } + } + program { name: "radio_on"; + signal: "elm,state,radio,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "radio"; + } + program { name: "radio_off"; + signal: "elm,state,radio,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "radio"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + 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; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); + else + set_state(PART:"elm.swallow.content", "disabled", 0.0); + + get_state(PART:"radio", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"radio", "disabled_visible", 0.0); + else + set_state(PART:"radio", "disabled", 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; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); - else - set_state(PART:"elm.swallow.content", "disabled", 0.0); - - get_state(PART:"radio", st, 30, vl); - if (!strcmp(st, "visible")) - set_state(PART:"radio", "disabled_visible", 0.0); - else - set_state(PART:"radio", "disabled", 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; - get_state(PART:"elm.text", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.text", "visible", 0.0); - else - set_state(PART:"elm.text", "default", 0.0); + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + + get_state(PART:"radio", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"radio", "visible", 0.0); + else + set_state(PART:"radio", "default", 0.0); + } + } + } + } - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"elm.swallow.content", "visible", 0.0); - else - set_state(PART:"elm.swallow.content", "default", 0.0); - - get_state(PART:"radio", st, 30, vl); - if (!strcmp(st, "disabled_visible")) - set_state(PART:"radio", "visible", 0.0); - else - set_state(PART:"radio", "default", 0.0); - } - } - } - } + group { name: "elm/radio/base/default/extended"; + images { + image: "00_button_radio.png" COMP; + image: "00_button_radio_press.png" COMP; + image: "00_button_radio_focus.png" COMP; + image: "00_button_radio_dim.png" COMP; + } + parts { + part { name: "back_bg"; + type: RECT; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + rel2.relative: 0.0 1.0; + align: 0 0.5; + min: 50 50; + fixed: 1 0; + visible: 1; + color: 0 0 0 0; + } + } + part { name: "bg"; + mouse_events: 1; + scale: 1; + type: RECT; + description { state: "default" 0.0; + rel1{ to: "back_bg"; } + rel2{ to: "back_bg"; } + fixed: 1 1; + align: 0.5 0.5; + min: 26 26; + max: 26 26; + color: 0 0 0 0; + } + } + part { name: "radio"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "bg"; + offset: 0 0; + } + rel2 { + to: "bg"; + offset: 0 0; + } + visible: 1; + color: 255 255 255 255; + image.normal: "00_button_radio.png"; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_radio_focus.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_radio_press.png"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_radio_dim.png"; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + image.normal: "00_button_radio_dim.png"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + fixed: 1 0; + visible: 0; + color: 255 255 255 255; + align: 0.0 0.5; + rel1.to_x: "bg"; + rel1.relative: 1.0 0.0; + rel1.offset: 1 1; + rel2.to_x: "bg"; + rel2.relative: 1.0 1.0; + rel2.offset: 2 -2; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + fixed: 1 1; + visible: 1; + aspect: 1.0 1.0; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + visible: 0; + fixed: 0 1; + rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; } + rel2 { relative: 1.0 0.5; offset: -2 -2; } + color: 255 255 255 255; + align: 0.0 0.5; + text { + style: "radio_label_textblock_style"; + min: 0 0; + } + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text.min: 1 1; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled_visible" 0.0; + inherit: "default" 0.0; + visible: 1; + text { + style: "radio_label_textblock_disabled_style"; + min: 1 1; + } + } + } + part { name: "over1"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + part { name: "over2"; + 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: 0 0 0 0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 0 0 0 0; + } + } + } + programs { + program { name: "click"; + signal: "mouse,clicked,1"; + source: "over1"; + action: SIGNAL_EMIT "elm,action,radio,toggle" ""; + } + program { name: "mouse_up"; + signal: "mouse,up,1"; + source: "over2"; + after: "bg_radio_normal"; + } + program { name: "bg_radio_normal"; + script { + new st[31]; + new Float:vl; + get_state(PART:"radio", st, 30, vl); + if (!strcmp(st, "pressed")) + set_state(PART:"radio", "default", 0.0); + set_state(PART:"bg", "default", 0.0); + } + } + program { name: "pressed"; + signal: "mouse,down,1"; + source: "over2"; + script { + new st[31]; + new Float:vl; + get_state(PART:"radio", st, 30, vl); + if (!strcmp(st, "default")) + set_state(PART:"radio", "pressed", 0.0); + } + } + program { name: "radio_on"; + signal: "elm,state,radio,on"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "radio"; + } + program { name: "radio_off"; + signal: "elm,state,radio,off"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "radio"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.text"; + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + } + 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; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.text", "disabled_visible", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); + else + set_state(PART:"elm.swallow.content", "disabled", 0.0); + + get_state(PART:"radio", st, 30, vl); + if (!strcmp(st, "visible")) + set_state(PART:"radio", "disabled_visible", 0.0); + else + set_state(PART:"radio", "disabled", 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; + get_state(PART:"elm.text", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.text", "visible", 0.0); + else + set_state(PART:"elm.text", "default", 0.0); + + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"elm.swallow.content", "visible", 0.0); + else + set_state(PART:"elm.swallow.content", "default", 0.0); + + get_state(PART:"radio", st, 30, vl); + if (!strcmp(st, "disabled_visible")) + set_state(PART:"radio", "visible", 0.0); + else + set_state(PART:"radio", "default", 0.0); + } + } + } + } |