From 2089b5b1ba2f04f037be1ef897bf79790bf501e2 Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Tue, 12 Sep 2017 11:29:20 +0200 Subject: WIP split layouts, reading config, defining data layout. Signed-off-by: Marcus Fritzsch --- layers.json | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'layers.json') diff --git a/layers.json b/layers.json index b5f0782..d452971 100644 --- a/layers.json +++ b/layers.json @@ -25,7 +25,30 @@ "name": "apps", "layer_id": 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" + "comment": "Range of IDs that will always be placed on layer 1001, negative rect values are interpreted as output_size.dimension - $value", + + "split_layouts": [ + { + "name": "Media Player", + "main_match": "^App MPlayer Main$", + "sub_match": "^App MPlayer Sub", + "priority": 500, + "comment": "All Media Player sub surfaces can be put in a sub layout with the Media Player" + }, + { + "name": "Playlist", + "main_match": "", + "sub_match": "^App MPlayer Sub Playlist$", + "priority": 100, + "comment": "Always allow the media player playlist to be displayed as sub surface" + }, + { + "name": "Map", + "main_match": "^App Navi Map", + "sub_match": "^App Navi Guidance", + "priority": 1000 + } + ] }, { "type": "range", -- cgit 1.2.3-korg