From dd72b1c91895058d14bd13c3aa9a50bd75f633b6 Mon Sep 17 00:00:00 2001 From: Yuta Doi Date: Fri, 29 Jun 2018 09:31:46 +0900 Subject: Add configuration file for each area sizes Add areas.db which has each area sizes. less-than-0 values refer to (MAX + 1 - $VALUE) and MAX is either screen width or height. layers.json had each area sizes until now, so removed the sizes from it. Change-Id: I5cf283581daaca41e2b9e3ee6e947478bff1189c Signed-off-by: Yuta Doi --- layers.json | 4 ---- 1 file changed, 4 deletions(-) (limited to 'layers.json') diff --git a/layers.json b/layers.json index 3cfc9e5..263ab09 100644 --- a/layers.json +++ b/layers.json @@ -11,28 +11,24 @@ "role": "BackGroundLayer", "name": "BackGroundLayer", "layer_id": 999, - "area": { "type": "rect", "rect": { "x": 0, "y": 218, "width": -1, "height": -433 } }, "comment": "Single BackGround layer map for the Navigation, Radio and MediaPlayer" }, { "role": "homescreen", "name": "HomeScreen", "layer_id": 1000, - "area": { "type": "full" }, "comment": "Single layer map for the HomeScreen" }, { "role": "music|video|browser|radio|phone|map|hvac|settings|dashboard|poi|mixer|sdl|launcher|fallback", "name": "apps", "layer_id": 1001, - "area": { "type": "rect", "rect": { "x": 0, "y": 218, "width": -1, "height": -433 } }, "comment": "Range of IDs that will always be placed on layer 1001, negative rect values are interpreted as output_size.dimension - $value" }, { "role": "^on_screen.*", "name": "popups", "layer_id": 9999, - "area": { "type": "rect", "rect": { "x": 0, "y": 760, "width": -1, "height": 400 } }, "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