diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-03 14:07:03 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 17:24:00 +0200 |
commit | 2665edde9f4d025f89d0a681e7bc3173eeb7616e (patch) | |
tree | 415e8c47110736542da200a191deff66799ffeba /layers.json | |
parent | d41f142b48e7d38031be8339b15e377d5b264b0a (diff) |
layers.json: add separate layers description
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'layers.json')
-rw-r--r-- | layers.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/layers.json b/layers.json index 0d31a5b..1146911 100644 --- a/layers.json +++ b/layers.json @@ -5,6 +5,25 @@ "surface_id": "1000", "comment": "This surface should never be made invisible (The HomeScreen)" }, + + "layers": [ + { + "name": "HomeScreen", + "layer_id": "1000", + "area": { "type": "full" } + }, + { + "name": "Apps", + "layer_id": "1001", + "area": { "type": "rect", "rect": { "x": "0", "y": "100", "width": "-1", "height": "-201" } } + }, + { + "name": "Popups", + "layer_id": "9999", + "area": { "type": "rect", "rect": { "x": "0", "y": "100", "width": "-1", "height": "-201" } } + } + ], + "mappings": [ { "type": "single", @@ -33,6 +52,7 @@ "comment": "Range of IDs that will always be placed on the popup layer, that gets a very high 'dummy' id of 9999" } ], + "tests": [ { "surface_id": "1000", "expect_layer_id": "1000" }, { "surface_id": "1001", "expect_layer_id": "-1", "comment": "check against -1 for not found entries" }, |