summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2020-11-20 17:10:35 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2020-11-21 17:48:01 +0900
commit70426fefeff5704feed107a6812b41d4ef096192 (patch)
treed5975d1b9bd1c135631b94a2b125edfcd88f8852
parent3bca5089132bd11eecdc3b784b8e58b042744765 (diff)
downloadefl-theme-tizen-mobile-accepted/tizen_unified.tar.gz
efl-theme-tizen-mobile-accepted/tizen_unified.tar.bz2
efl-theme-tizen-mobile-accepted/tizen_unified.zip
Change-Id: Ie46a9a6d8fc14ad099ad16aeaf23b186dd2e570d
-rw-r--r--mobile/HD-inc.edc7
-rw-r--r--mobile/HD/images/default/toast_popup.pngbin0 -> 2139 bytes
-rw-r--r--mobile/widgets/win.edc94
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
new file mode 100644
index 00000000..8e5bc8e8
--- /dev/null
+++ b/mobile/HD/images/default/toast_popup.png
Binary files differ
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";
+ }
+ }
+}
+