aboutsummaryrefslogtreecommitdiffstats
path: root/layers.json
diff options
context:
space:
mode:
authorYuta Doi <yuta-d@witz-inc.co.jp>2018-06-29 09:31:46 +0900
committerYuta Doi <yuta-d@witz-inc.co.jp>2018-07-09 10:04:53 +0900
commitdd72b1c91895058d14bd13c3aa9a50bd75f633b6 (patch)
treecc15ad1a3c7078bdb8f6cec08ff1b5b5c4e497d7 /layers.json
parentcf05c2b5c92b9a79635aa2277a9d55449e14fab6 (diff)
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 <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'layers.json')
-rw-r--r--layers.json4
1 files changed, 0 insertions, 4 deletions
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"
}
]