Add configuration file for each area sizes
[apps/agl-service-windowmanager.git] / layers.json
index 9cbe007..263ab09 100644 (file)
@@ -8,24 +8,27 @@
 
    "mappings": [
       {
-         "role": "^HomeScreen$",
+         "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,
-         "area": { "type": "full" },
-         "comment": "Single layer map for the HomeScreen, XXX: type is redundant, could also check existence of id/first_id+last_id"
+         "comment": "Single layer map for the HomeScreen"
       },
       {
-         "role": "MediaPlayer|Radio|Phone|Navigation|HVAC|Settings|Dashboard|POI|Mixer",
+         "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": "^OnScreen.*",
+         "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"
       }
    ]