rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=4667d6a58642a34c632a451f305bb8f050e50867
commit 4667d6a58642a34c632a451f305bb8f050e50867 Author: Mykyta Biliavskyi <[email protected]> Date: Mon May 30 19:04:31 2016 +0300 Tizen theme: add style for workspace mode switcher check. --- data/themes/tizen/images/tool_s_run_nor.png | Bin 0 -> 1576 bytes data/themes/tizen/images/tool_s_run_sel.png | Bin 0 -> 1562 bytes data/themes/tizen/widgets/check.edc | 91 ++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+) diff --git a/data/themes/tizen/images/tool_s_run_nor.png b/data/themes/tizen/images/tool_s_run_nor.png new file mode 100644 index 0000000..ccefa9a Binary files /dev/null and b/data/themes/tizen/images/tool_s_run_nor.png differ diff --git a/data/themes/tizen/images/tool_s_run_sel.png b/data/themes/tizen/images/tool_s_run_sel.png new file mode 100644 index 0000000..30f98e5 Binary files /dev/null and b/data/themes/tizen/images/tool_s_run_sel.png differ diff --git a/data/themes/tizen/widgets/check.edc b/data/themes/tizen/widgets/check.edc index 0d2f64e..b5c51ab 100644 --- a/data/themes/tizen/widgets/check.edc +++ b/data/themes/tizen/widgets/check.edc @@ -919,3 +919,94 @@ group { name: "elm/check/base/chain"; } } } + +group { name: "elm/check/base/demo"; + images { + image:"tool_s_run_nor.png" COMP; + image:"tool_s_run_sel.png" COMP; + } + parts { + part { name: "bg"; + type: SPACER; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: 20 20; + max: 20 20; + aspect: 1.0 1.0; + } + } + part { name: "check"; + type: IMAGE; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + image.normal: "tool_s_run_nor.png"; + rel1.to: "bg"; + rel2.to: "bg"; + } + description { state: "visible" 0.0; + inherit: "default" 0.00; + image.normal: "tool_s_run_sel.png"; + } + } + part { name: "clipper"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + color_class: "main"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.00; + color_class: "main_disabled"; + } + } + part { name: "events"; + type: RECT; + ignore_flags: "ON_HOLD"; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.00; + visible: 0; + } + } + } + programs { + program { name: "click"; + signal: "mouse,clicked,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,check,toggle" ""; + } + program { name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + action: STATE_SET "visible" 0.00; + target: "check"; + } + program { name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + action: STATE_SET "default" 0.00; + target: "check"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.00; + target: "events"; + target: "clipper"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.00; + target: "events"; + target: "clipper"; + } + } +} + --
