diff options
author | Sungtaek Hong <sth253.hong@samsung.com> | 2017-03-08 14:05:07 +0900 |
---|---|---|
committer | Sungtaek Hong <sth253.hong@samsung.com> | 2017-03-08 14:05:07 +0900 |
commit | 0ec9429cf7378e0dc4b4c8187623a90a207a46b9 (patch) | |
tree | fe9b032a5e6579e89338a4a54fb6008dc4cb9e82 /mobile | |
parent | 7bfb097ce1340ba0c9eb9e4e27b94a2950a113e5 (diff) | |
download | efl-theme-tizen-mobile-0ec9429cf7378e0dc4b4c8187623a90a207a46b9.tar.gz efl-theme-tizen-mobile-0ec9429cf7378e0dc4b4c8187623a90a207a46b9.tar.bz2 efl-theme-tizen-mobile-0ec9429cf7378e0dc4b4c8187623a90a207a46b9.zip |
sharp: support Opacity in label,entry
Change-Id: I6964a3fb53aec784643b3c6f2583c35978e01af2
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
Diffstat (limited to 'mobile')
-rw-r--r-- | mobile/color_classes_csharp.edc | 24 | ||||
-rw-r--r-- | mobile/widgets_csharp/entry.edc | 8 | ||||
-rw-r--r-- | mobile/widgets_csharp/label.edc | 42 |
3 files changed, 71 insertions, 3 deletions
diff --git a/mobile/color_classes_csharp.edc b/mobile/color_classes_csharp.edc index 05fd4588..ed1aa822 100644 --- a/mobile/color_classes_csharp.edc +++ b/mobile/color_classes_csharp.edc @@ -46,6 +46,10 @@ color_classes { name: "entry/default/bg"; color: 0 0 0 0; } + color_class { + name: "entry/default/opacity"; + color: 255 255 255 255; + } color_class { "entry/default/cursor"; color: 0 184 230 110; } @@ -72,21 +76,41 @@ color_classes { color: 0 0 0 0; } color_class { + name: "label/default/opacity"; + color: 255 255 255 255; + } + color_class { name: "label/slide_long/bg"; color: 0 0 0 0; } color_class { + name: "label/slide_long/opacity"; + color: 255 255 255 255; + } + color_class { name: "label/slide_short/bg"; color: 0 0 0 0; } color_class { + name: "label/slide_short/opacity"; + color: 255 255 255 255; + } + color_class { name: "label/slide_roll/bg"; color: 0 0 0 0; } color_class { + name: "label/slide_roll/opacity"; + color: 255 255 255 255; + } + color_class { name: "label/slide_bounce/bg"; color: 0 0 0 0; } + color_class { + name: "label/slide_bounce/opacity"; + color: 255 255 255 255; + } /* * Radio diff --git a/mobile/widgets_csharp/entry.edc b/mobile/widgets_csharp/entry.edc index 41f240fa..659dbee1 100644 --- a/mobile/widgets_csharp/entry.edc +++ b/mobile/widgets_csharp/entry.edc @@ -199,8 +199,14 @@ group { "elm/entry/base/template"; data.item: "focus_highlight" "on"; data.item: context_menu_orientation "horizontal"; parts { + rect { "clipper"; + desc { "default"; + color_class: "entry/default/opacity"; + } + } rect { "bg"; nomouse; + clip: "clipper"; desc { "default"; color_class: "entry/default/bg"; } @@ -208,6 +214,7 @@ group { "elm/entry/base/template"; textblock { "elm.guide"; nomouse; scale; + clip: "clipper"; desc { "default"; rel.to: "elm.text"; text.style: "entry_textblock_guide_style"; @@ -228,6 +235,7 @@ group { "elm/entry/base/template"; textblock { "elm.text"; mouse; scale; + clip: "clipper"; entry_mode: EDITABLE; select_mode: EXPLICIT; cursor_mode: BEFORE; diff --git a/mobile/widgets_csharp/label.edc b/mobile/widgets_csharp/label.edc index 5b11efd1..f70d4545 100644 --- a/mobile/widgets_csharp/label.edc +++ b/mobile/widgets_csharp/label.edc @@ -76,13 +76,14 @@ group { "elm/label/base/template"; inherit: "elm/label/event/default"; inherit_only: 1; parts { - rect { "bg"; + rect { "clipper"; desc { "default"; - color_class: "label/default/bg"; } } - rect { "clipper"; + rect { "bg"; + clip: "clipper"; desc { "default"; + color_class: "label/default/bg"; } } textblock { "elm.text"; @@ -104,6 +105,11 @@ group { "elm/label/base/template"; group { "elm/label/base/default"; inherit: "elm/label/base/template"; parts { + rect { "clipper"; + desc { "default"; + color_class: "label/default/opacity"; + } + } textblock { "elm.text"; scale; clip: "clipper"; @@ -122,6 +128,11 @@ group { "elm/label/base/default"; group { "elm/label/base_wrap/default"; inherit: "elm/label/base/template"; parts { + rect { "clipper"; + desc { "default"; + color_class: "label/default/opacity"; + } + } textblock { "elm.text"; scale; multiline: 1; @@ -161,6 +172,11 @@ group { "elm/label/base_wrap/default"; group { "elm/label/base_wrap_ellipsis/default"; inherit: "elm/label/base/template"; parts { + rect { "clipper"; + desc { "default"; + color_class: "label/default/opacity"; + } + } textblock { "elm.text"; scale; multiline: 1; @@ -264,6 +280,11 @@ group { "elm/label/base/slide_long"; color_class: "label/slide_long/bg"; } } + rect { "clipper"; + desc { "default"; + color_class: "label/slide_long/opacity"; + } + } textblock { "elm.text"; scale; clip: "clipper"; @@ -395,6 +416,11 @@ group { "elm/label/base/slide_roll"; color_class: "label/slide_roll/bg"; } } + rect { "clipper"; + desc { "default"; + color_class: "label/slide_roll/opacity"; + } + } rect { "clipper_elm.text"; nomouse; clip: "clipper"; @@ -558,6 +584,11 @@ group { "elm/label/base/slide_short"; color_class: "label/slide_short/bg"; } } + rect { "clipper"; + desc { "default"; + color_class: "label/slide_short/opacity"; + } + } textblock { "elm.text"; scale; clip: "clipper"; @@ -683,6 +714,11 @@ group { "elm/label/base/slide_bounce"; color_class: "label/slide_bounce/bg"; } } + rect { "clipper"; + desc { "default"; + color_class: "label/slide_bounce/opacity"; + } + } textblock { "elm.text"; scale; clip: "clipper"; |