diff options
author | ChunEon Park <chuneon.park@samsung.com> | 2015-03-23 17:07:14 +0900 |
---|---|---|
committer | ChunEon Park <chuneon.park@samsung.com> | 2015-03-23 17:08:21 +0900 |
commit | 07dfe2ed43de9cc9a41f8a30bee5d96e13aa7f08 (patch) | |
tree | c9ff1d772fe1ee97f55cb7b4102366855f3a2a0a /mobile/widgets/spinner.edc | |
parent | e682359b8b9a1f685d31ddf65bc42d5fcf0fddd0 (diff) | |
download | efl-theme-tizen-mobile-07dfe2ed43de9cc9a41f8a30bee5d96e13aa7f08.tar.gz efl-theme-tizen-mobile-07dfe2ed43de9cc9a41f8a30bee5d96e13aa7f08.tar.bz2 efl-theme-tizen-mobile-07dfe2ed43de9cc9a41f8a30bee5d96e13aa7f08.zip |
clean up resources.
remove 2.2/2.3 version prefix since this is only for tizen 2.4
Change-Id: I86f20e4adb0c65feb2add6ef8b90bd541d4127b4
Diffstat (limited to 'mobile/widgets/spinner.edc')
-rw-r--r-- | mobile/widgets/spinner.edc | 258 |
1 files changed, 258 insertions, 0 deletions
diff --git a/mobile/widgets/spinner.edc b/mobile/widgets/spinner.edc new file mode 100644 index 00000000..b54cd6d1 --- /dev/null +++ b/mobile/widgets/spinner.edc @@ -0,0 +1,258 @@ + +group { name: "elm/spinner/base/default"; + alias: "elm/spinner/base/horizontal"; + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + visible: 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.inc_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 1.0 0.5; + min: SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC; + max: SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC; + } + } + part { name: "elm.swallow.dec_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + min: SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC; + max: SPINNER_LEFT_RIGHT_BG_IMAGE_SIZE_INC; + } + } + part { name: "elm.swallow.text_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + rel1 { + to_x: "elm.swallow.dec_button"; + relative: 1.0 0.0; + } + rel2 { + to_x: "elm.swallow.inc_button"; + relative: 0.0 1.0; + } + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.entry"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.text_button"; + rel2.to: "elm.swallow.text_button"; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + fixed: 1 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + 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; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.swallow.text_button"; + target: "elm.swallow.entry"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.text_button"; + target: "elm.swallow.entry"; + } + program { name: "access_activate"; + signal: "elm,state,access,active"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "access"; + } + program { name: "access_inactivate"; + signal: "elm,state,access,inactive"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "access"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + } + } +} + +group { name: "elm/spinner/base/vertical"; + alias: "elm/spinner/base/vertical_date_picker"; + alias: "elm/spinner/base/datetime"; + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: SPINNER_VERTICAL_BG_WIDTH_INC SPINNER_VERTICAL_BG_HEIGHT_INC; + } + } + part { name: "access"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + visible: 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.inc_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + min: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + max: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + } + } + part { name: "elm.swallow.dec_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + min: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + max: SPINNER_UP_DOWN_BG_IMAGE_SIZE_INC; + } + } + part { name: "elm.swallow.text_button"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + visible: 1; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "elm.swallow.entry"; + type: SWALLOW; + description { state: "default" 0.0; + visible: 0; + rel1.to: "elm.swallow.text_button"; + rel2.to: "elm.swallow.text_button"; + min: 0 SPINNER_TEXT_HEIGHT_INC; + max: -1 SPINNER_TEXT_HEIGHT_INC; + fixed: 1 1; + } + description { state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + 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; + } + } + } + programs { + program { name: "active"; + signal: "elm,state,active"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "elm.swallow.text_button"; + target: "elm.swallow.entry"; + } + program { name: "inactive"; + signal: "elm,state,inactive"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.text_button"; + target: "elm.swallow.entry"; + } + program { name: "access_activate"; + signal: "elm,state,access,active"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "access"; + } + program { name: "access_inactivate"; + signal: "elm,state,access,inactive"; + source: "elm"; + action: STATE_SET "active" 0.0; + target: "access"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disabler"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disabler"; + } + } +} |