summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeonghyun Yun <jh0506.yun@samsung.com>2018-01-08 05:04:59 (GMT)
committerJeonghyun Yun <jh0506.yun@samsung.com>2018-01-08 05:34:03 (GMT)
commit02b990546424a277a74b666d7a4c9ca1cfbf5472 (patch)
treed835df32f048d1c4b576ab3b618f5647e1adb2f5
parentac0d7edb9bbdeec9749ce8a84368f157faf493d3 (diff)
downloadefl-theme-tizen-mobile-submit/tizen/20180110.035612.zip
efl-theme-tizen-mobile-submit/tizen/20180110.035612.tar.gz
efl-theme-tizen-mobile-submit/tizen/20180110.035612.tar.bz2
Change-Id: I2b3f8de8f8a6cd931f423480dd54e49bffa7ec59 Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com> (cherry picked from commit df1891c129e423ea9f90bd195c607d408366b78e)
-rw-r--r--mobile/color_classes.edc6
-rw-r--r--mobile/widgets/bg.edc20
2 files changed, 26 insertions, 0 deletions
diff --git a/mobile/color_classes.edc b/mobile/color_classes.edc
index 54b6a20..6a62db9 100644
--- a/mobile/color_classes.edc
+++ b/mobile/color_classes.edc
@@ -8,6 +8,12 @@ color_classes {
/*
* Bg
*/
+ color_class { "bg/default/opacity"; // Csharp Opacity Property
+ color: 255 255 255 255;
+ }
+ color_class { "bg/transparent/opacity"; // Csharp Opacity Property
+ color: 255 255 255 255;
+ }
color_class { "bg/default/bg";
color: 255 255 255 255;
}
diff --git a/mobile/widgets/bg.edc b/mobile/widgets/bg.edc
index d53cba1..bac44ef 100644
--- a/mobile/widgets/bg.edc
+++ b/mobile/widgets/bg.edc
@@ -27,19 +27,27 @@
group { "elm/bg/base/template";
inherit_only: 1;
parts {
+ rect { "clipper";
+ desc { "default";
+ }
+ }
rect { "bg";
+ clip: "clipper";
desc { "default";
}
}
swallow { "elm.swallow.rectangle";
+ clip: "clipper";
desc { "default";
}
}
swallow { "elm.swallow.background";
+ clip: "clipper";
desc { "default";
}
}
swallow { "elm.swallow.content";
+ clip: "clipper";
desc { "default";
}
}
@@ -49,7 +57,13 @@ group { "elm/bg/base/template";
group { "elm/bg/base/default";
inherit: "elm/bg/base/template";
parts {
+ rect { "clipper";
+ desc { "default";
+ color_class: "bg/default/opacity";
+ }
+ }
rect { "bg";
+ clip: "clipper";
desc { "default";
color_class: "bg/default/bg";
}
@@ -60,7 +74,13 @@ group { "elm/bg/base/default";
group { "elm/bg/base/transparent";
inherit: "elm/bg/base/template";
parts {
+ rect { "clipper";
+ desc { "default";
+ color_class: "bg/transparent/opacity";
+ }
+ }
rect { "bg";
+ clip: "clipper";
nomouse;
desc { "default";
color_class: "bg/transparent/bg";