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 --- src/db/areas.db | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 src/db/areas.db (limited to 'src/db') diff --git a/src/db/areas.db b/src/db/areas.db new file mode 100644 index 0000000..6c79bbf --- /dev/null +++ b/src/db/areas.db @@ -0,0 +1,85 @@ +{ + "areas": [ + { + "name": "fullscreen", + "rect": { + "x": 0, + "y": 0, + "w": -1, + "h": -1 + } + }, + { + "name": "normal.full", + "rect": { + "x": 0, + "y": 218, + "w": -1, + "h": -433 + } + }, + { + "name": "split.main", + "rect": { + "x": 0, + "y": 218, + "w": -1, + "h": 744 + } + }, + { + "name": "split.sub", + "rect": { + "x": 0, + "y": 962, + "w": -1, + "h": 744 + } + }, + { + "name": "software_keyboard", + "rect": { + "x": 0, + "y": 962, + "w": -1, + "h": 744 + } + }, + { + "name": "restriction.normal", + "rect": { + "x": 0, + "y": 218, + "w": -1, + "h": -433 + } + }, + { + "name": "restriction.split.main", + "rect": { + "x": 0, + "y": 218, + "w": -1, + "h": 744 + } + }, + { + "name": "restriction.split.sub", + "rect": { + "x": 0, + "y": 962, + "w": -1, + "h": 744 + } + }, + { + "name": "on_screen", + "rect": { + "x": 0, + "y": 218, + "w": -1, + "h": -433 + } + } + ] +} -- cgit 1.2.3-korg