summaryrefslogtreecommitdiff
path: root/data/elementary/objects
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-05-30 13:15:43 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-31 09:19:26 -0400
commit73874100192ebdb55bbf4c2fc8cd6648c2dd7afd (patch)
treeb5968d304ace14fad5f92f07902d00f2d1e24354 /data/elementary/objects
parent1b4ce987a7dc36ba8b6f5be54a2f41c30e29a2d5 (diff)
elm_test: add smart object mask test to existing masking test
Summary: this adds another masking functionality using a layout object to the test when the toggle mask button is clicked enough times Depends on D8849 Reviewers: cedric Reviewed By: cedric Subscribers: cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D8850
Diffstat (limited to 'data/elementary/objects')
-rw-r--r--data/elementary/objects/test_masking.edc24
1 files changed, 24 insertions, 0 deletions
diff --git a/data/elementary/objects/test_masking.edc b/data/elementary/objects/test_masking.edc
index 4a1beabb76..4d8e8ed6cc 100644
--- a/data/elementary/objects/test_masking.edc
+++ b/data/elementary/objects/test_masking.edc
@@ -13,6 +13,18 @@ collections {
13 } 13 }
14 } 14 }
15 } 15 }
16 group { "image";
17 parts {
18 image { "mask";
19 desc { "default";
20 image {
21 normal: "roundedrect.png";
22 border: 22 22 22 22;
23 }
24 }
25 }
26 }
27 }
16 group { "masking"; 28 group { "masking";
17 parts { 29 parts {
18 rect { "clip"; norender; } 30 rect { "clip"; norender; }
@@ -25,10 +37,16 @@ collections {
25 } 37 }
26 } 38 }
27 } 39 }
40 swallow { "mask2";
41 norender;
42 }
28 swallow { "content"; 43 swallow { "content";
29 desc { "default"; 44 desc { "default";
30 clip_to: "mask"; 45 clip_to: "mask";
31 } 46 }
47 desc { "smartclip";
48 clip: "mask2";
49 }
32 desc { "unclipped"; 50 desc { "unclipped";
33 clip_to: "clip"; 51 clip_to: "clip";
34 } 52 }
@@ -47,6 +65,12 @@ collections {
47 action: STATE_SET "default"; 65 action: STATE_SET "default";
48 target: "content"; 66 target: "content";
49 } 67 }
68 program {
69 signal: "smartclip";
70 source: "*";
71 action: STATE_SET "smartclip";
72 target: "content";
73 }
50 } 74 }
51 } 75 }
52 group { "text"; 76 group { "text";