diff options
author | WooHyun Jung <wh0705.jung@samsung.com> | 2020-11-20 17:10:35 +0900 |
---|---|---|
committer | WooHyun Jung <wh0705.jung@samsung.com> | 2020-11-21 17:48:01 +0900 |
commit | 70426fefeff5704feed107a6812b41d4ef096192 (patch) | |
tree | d5975d1b9bd1c135631b94a2b125edfcd88f8852 | |
parent | 3bca5089132bd11eecdc3b784b8e58b042744765 (diff) | |
download | efl-theme-tizen-mobile-tizen_8.0.tar.gz efl-theme-tizen-mobile-tizen_8.0.tar.bz2 efl-theme-tizen-mobile-tizen_8.0.zip |
inwin: add inwin theme for tizen-studio's sampletizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasesubmit/tizen_6.5/20211029.140001submit/tizen_6.5/20211028.164001submit/tizen/20201129.214353submit/tizen/20201123.044212accepted/tizen/unified/20201130.122954accepted/tizen/8.0/unified/20231005.100051accepted/tizen/7.0/unified/hotfix/20221116.111948accepted/tizen/7.0/unified/20221110.062445accepted/tizen/6.5/unified/20211029.054629accepted/tizen/6.0/unified/20211029.040752tizen_8.0tizen_7.0_hotfixtizen_7.0tizen_6.5tizenaccepted/tizen_unifiedaccepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unified
Change-Id: Ie46a9a6d8fc14ad099ad16aeaf23b186dd2e570d
-rw-r--r-- | mobile/HD-inc.edc | 7 | ||||
-rw-r--r-- | mobile/HD/images/default/toast_popup.png | bin | 0 -> 2139 bytes | |||
-rw-r--r-- | mobile/widgets/win.edc | 94 |
3 files changed, 101 insertions, 0 deletions
diff --git a/mobile/HD-inc.edc b/mobile/HD-inc.edc index 3cc58cf1..41239a14 100644 --- a/mobile/HD-inc.edc +++ b/mobile/HD-inc.edc @@ -969,6 +969,13 @@ #define PANES_STYLE_DEFAULT_FIXED_SIZE_INC 52 #define PANES_DEFAULT_FIXED_SEPERATOR_NORMAL_COLOR_INC 118 118 118 255 +// ****************************************************** // +// InWin +// ****************************************************** // +#define INWIN_BG_BORDER_INC 30 30 30 30 +#define INWIN_PADDING_CONTENT_SIZE_INC 50 + + #define STYLE_TAGS \ tag: "br" "\n";\ tag: "ps" "ps";\ diff --git a/mobile/HD/images/default/toast_popup.png b/mobile/HD/images/default/toast_popup.png Binary files differnew file mode 100644 index 00000000..8e5bc8e8 --- /dev/null +++ b/mobile/HD/images/default/toast_popup.png diff --git a/mobile/widgets/win.edc b/mobile/widgets/win.edc index ccd9abe3..35579e25 100644 --- a/mobile/widgets/win.edc +++ b/mobile/widgets/win.edc @@ -99,3 +99,97 @@ group { name: "elm/win/base/default"; // } } + +group { name: "elm/win/inwin/default"; + images { + image: "toast_popup.png" COMP; + } + parts { + part { name: "base"; + type: RECT; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + color: 0 0 0 64; + } + } + part { name: "pop"; + scale: 1; + mouse_events: 1; + description { state: "default" 0.0; + image { + normal: "toast_popup.png"; + border: INWIN_BG_BORDER_INC; + border_scale: 1; + } + } + } + part { name: "elm.content.padding.left"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: INWIN_PADDING_CONTENT_SIZE_INC INWIN_PADDING_CONTENT_SIZE_INC; + fixed: 1 1; + align: 0 0; + rel1 { + to: "pop"; + relative: 0.0 0.0; + } + rel2 { + to: "pop"; + relative: 0.0 0.0; + } + } + } + part { name: "elm.content.padding.right"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: INWIN_PADDING_CONTENT_SIZE_INC INWIN_PADDING_CONTENT_SIZE_INC; + fixed: 1 1; + align: 1 1; + rel1 { + to: "pop"; + relative: 1.0 1.0; + } + rel2 { + to: "pop"; + relative: 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to: "elm.content.padding.left"; + relative: 1.0 1.0; + } + rel2 { + to: "elm.content.padding.right"; + relative: 0.0 0.0; + } + } + } + } + programs { + program { name: "show"; + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "base"; + } + program { name: "hide"; + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "base"; + } + } +} + |