From 9642c1098a3b3326c2213b5f791dfa84c6352625 Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Tue, 1 Aug 2017 11:48:13 +0200 Subject: app: implement configured surface areas from ids.json Signed-off-by: Marcus Fritzsch --- ids.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ids.json') diff --git a/ids.json b/ids.json index 8914111..f7cdfe5 100644 --- a/ids.json +++ b/ids.json @@ -6,6 +6,7 @@ "surface_id": "1000", "name": "HomeScreen", "layer_id": "1000", + "area": { "type": "full" }, "comment": "Single layer map for the HomeScreen, XXX: type is redundant, could also check existence of id/first_id+last_id" }, { @@ -14,7 +15,8 @@ "last_surface_id": "2999", "name": "apps", "layer_id": "1001", - "comment": "Range of IDs that will always be placed on layer 1001" + "area": { "type": "rect", "rect": { "x": "0", "y": "100", "width": "-1", "height": "-201" } }, + "comment": "Range of IDs that will always be placed on layer 1001, negative rect values are interpreted as output_size.dimension - $value" }, { "type": "range", @@ -22,6 +24,7 @@ "last_surface_id": "3999", "name": "popups", "layer_id": "9999", + "area": { "type": "rect", "rect": { "x": "0", "y": "100", "width": "-1", "height": "-201" } }, "comment": "Range of IDs that will always be placed on the popup layer, that gets a very high 'dummy' id of 9999" } ], -- cgit 1.2.3-korg