diff options
author | Sungtaek Hong <sth253.hong@samsung.com> | 2017-12-04 16:01:51 +0900 |
---|---|---|
committer | Sungtaek Hong <sth253.hong@samsung.com> | 2017-12-08 16:02:23 +0900 |
commit | e7e375937be40e543967ad32b4bb4dd533f3ab92 (patch) | |
tree | a454b234e3ded27a14c0ede685ef7007adc83328 /data | |
parent | c12d947484513b6caad91c8e1945e2de3b115cd3 (diff) |
elm: introduce ELM_PART_OVERRIDE_PARTIAL
Summary:
ELM_PART_OVERRIDE_PARTIAL replaces ELM_PART_OVERRIDE and
ELM_PART_OVERRIDE_ONLY_ALIASES.
The difference is ELM_PART_OVERRIDE_PARTIAL calls super
ELM_PART_IMPLEMENT when subclass of part is not needed.
Test Plan:
Run elementary_test, Part Background, background part is well set.
Run efl.ui.panes/efl.ui.flip, check content is well set.
Reviewers: jpeg, Jaehyun_Cho, woohyun
Reviewed By: Jaehyun_Cho
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5566
Diffstat (limited to 'data')
-rw-r--r-- | data/elementary/themes/edc/efl/panes.edc | 8 | ||||
-rw-r--r-- | data/elementary/themes/edc/efl/popup.edc | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/data/elementary/themes/edc/efl/panes.edc b/data/elementary/themes/edc/efl/panes.edc index 38f178c99c..46a1c07d1c 100644 --- a/data/elementary/themes/edc/efl/panes.edc +++ b/data/elementary/themes/edc/efl/panes.edc | |||
@@ -13,10 +13,18 @@ | |||
13 | 13 | ||
14 | group { "efl/panes/vertical"; | 14 | group { "efl/panes/vertical"; |
15 | inherit: "elm/panes/vertical/default"; | 15 | inherit: "elm/panes/vertical/default"; |
16 | parts { | ||
17 | alias: "first" "elm.swallow.left"; | ||
18 | alias: "second" "elm.swallow.right"; | ||
19 | } | ||
16 | } | 20 | } |
17 | 21 | ||
18 | group { "efl/panes/horizontal"; | 22 | group { "efl/panes/horizontal"; |
19 | inherit: "elm/panes/horizontal/default"; | 23 | inherit: "elm/panes/horizontal/default"; |
24 | parts { | ||
25 | alias: "first" "elm.swallow.left"; | ||
26 | alias: "second" "elm.swallow.right"; | ||
27 | } | ||
20 | } | 28 | } |
21 | 29 | ||
22 | group { "efl/panes/vertical:flush"; | 30 | group { "efl/panes/vertical:flush"; |
diff --git a/data/elementary/themes/edc/efl/popup.edc b/data/elementary/themes/edc/efl/popup.edc index 407a28b5dd..491d483b42 100644 --- a/data/elementary/themes/edc/efl/popup.edc +++ b/data/elementary/themes/edc/efl/popup.edc | |||
@@ -28,12 +28,13 @@ group { "efl/popup_alert"; | |||
28 | alias: "efl/popup_alert_text"; | 28 | alias: "efl/popup_alert_text"; |
29 | images.image: "rounded_square.png" COMP; | 29 | images.image: "rounded_square.png" COMP; |
30 | parts { | 30 | parts { |
31 | alias: "title" "elm.text.title"; | ||
31 | image { "bg"; | 32 | image { "bg"; |
32 | desc { "default"; | 33 | desc { "default"; |
33 | min: 100 100; | 34 | min: 100 100; |
34 | image.border: 15 15 15 15; | 35 | image.border: 15 15 15 15; |
35 | image.normal: "rounded_square.png"; | 36 | image.normal: "rounded_square.png"; |
36 | } | 37 | } |
37 | } | 38 | } |
38 | spacer { "base"; | 39 | spacer { "base"; |
39 | desc { "default"; | 40 | desc { "default"; |
@@ -256,4 +257,4 @@ group { "efl/popup_alert_scroll/scroller"; | |||
256 | 257 | ||
257 | group { "efl/popup_alert_text/text"; | 258 | group { "efl/popup_alert_text/text"; |
258 | inherit: "efl/text"; | 259 | inherit: "efl/text"; |
259 | } \ No newline at end of file | 260 | } |