aboutsummaryrefslogtreecommitdiffstats
path: root/layers.json
blob: 263ab09adc2ef57d9cefaaf06f1fb1c73f4887b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
   "comment": "Surface ID to Layer ID mapping",

   "main_surface": {
      "surface_role": "HomeScreen",
      "comment": "This surface should never be made invisible (The HomeScreen)"
   },

   "mappings": [
      {
         "role": "BackGroundLayer",
         "name": "BackGroundLayer",
         "layer_id": 999,
         "comment": "Single BackGround layer map for the Navigation, Radio and MediaPlayer"
      },
      {
         "role": "homescreen",
         "name": "HomeScreen",
         "layer_id": 1000,
         "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,
         "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,
         "comment": "Range of IDs that will always be placed on the popup layer, that gets a very high 'dummy' id of 9999"
      }
   ]
}