[
  {
    "id": "compass_text_template",
    "type": "widget",
    "style": "text",
    "var": "compass_text",
    "width": 6,
    "text_align": "left"
  },
  {
    "id": "compass_text_template_no_label",
    "type": "widget",
    "copy-from": "compass_text_template",
    "flags": [ "W_LABEL_NONE" ]
  },
  {
    "id": "compass_N_text_label",
    "type": "widget",
    "label": "N",
    "direction": "N",
    "copy-from": "compass_text_template"
  },
  {
    "id": "compass_N_text_no_label",
    "type": "widget",
    "direction": "N",
    "copy-from": "compass_text_template_no_label"
  },
  {
    "id": "compass_S_text_label",
    "type": "widget",
    "label": "S",
    "direction": "S",
    "copy-from": "compass_text_template"
  },
  {
    "id": "compass_S_text_no_label",
    "type": "widget",
    "direction": "S",
    "copy-from": "compass_text_template_no_label"
  },
  {
    "id": "compass_E_text_label",
    "type": "widget",
    "label": "E",
    "direction": "E",
    "copy-from": "compass_text_template"
  },
  {
    "id": "compass_E_text_no_label",
    "type": "widget",
    "direction": "E",
    "copy-from": "compass_text_template_no_label"
  },
  {
    "id": "compass_W_text_label",
    "type": "widget",
    "label": { "str": "W", "ctxt": "compass" },
    "direction": "W",
    "copy-from": "compass_text_template"
  },
  {
    "id": "compass_W_text_no_label",
    "type": "widget",
    "direction": "W",
    "copy-from": "compass_text_template_no_label"
  },
  {
    "id": "compass_NE_text_label",
    "type": "widget",
    "label": "NE",
    "direction": "NE",
    "copy-from": "compass_text_template"
  },
  {
    "id": "compass_NE_text_no_label",
    "type": "widget",
    "direction": "NE",
    "copy-from": "compass_text_template_no_label"
  },
  {
    "id": "compass_NW_text_label",
    "type": "widget",
    "label": "NW",
    "direction": "NW",
    "copy-from": "compass_text_template"
  },
  {
    "id": "compass_NW_text_no_label",
    "type": "widget",
    "direction": "NW",
    "copy-from": "compass_text_template_no_label"
  },
  {
    "id": "compass_SE_text_label",
    "type": "widget",
    "label": "SE",
    "direction": "SE",
    "copy-from": "compass_text_template"
  },
  {
    "id": "compass_SE_text_no_label",
    "type": "widget",
    "direction": "SE",
    "copy-from": "compass_text_template_no_label"
  },
  {
    "id": "compass_SW_text_label",
    "type": "widget",
    "label": "SW",
    "direction": "SW",
    "copy-from": "compass_text_template"
  },
  {
    "id": "compass_SW_text_no_label",
    "type": "widget",
    "direction": "SW",
    "copy-from": "compass_text_template_no_label"
  },
  {
    "//": "An empty space indicating threats nearby",
    "id": "compass_local_text",
    "type": "widget",
    "direction": "L",
    "copy-from": "compass_text_template"
  },
  {
    "id": "compass_legend_text",
    "type": "widget",
    "label": "Compass Legend",
    "style": "text",
    "var": "compass_legend_text",
    "width": 0,
    "height": 3,
    "text_align": "left",
    "flags": [ "W_LABEL_NONE" ]
  },
  {
    "id": "compass_legend_text_alt",
    "type": "widget",
    "label": "Compass Legend",
    "style": "text",
    "var": "compass_legend_text",
    "width": 0,
    "height": 5,
    "text_align": "left",
    "flags": [ "W_LABEL_NONE", "W_DYNAMIC_HEIGHT" ]
  },
  {
    "id": "compass_top_layout",
    "type": "widget",
    "style": "layout",
    "arrange": "columns",
    "widgets": [ "compass_NW_text_label", "compass_N_text_label", "compass_NE_text_label" ]
  },
  {
    "id": "compass_middle_layout",
    "type": "widget",
    "style": "layout",
    "arrange": "columns",
    "widgets": [ "compass_W_text_label", "compass_local_text", "compass_E_text_label" ]
  },
  {
    "id": "compass_bottom_layout",
    "type": "widget",
    "style": "layout",
    "arrange": "columns",
    "widgets": [ "compass_SW_text_label", "compass_S_text_label", "compass_SE_text_label" ]
  },
  {
    "id": "compass_all_layout",
    "type": "widget",
    "label": "Compass",
    "style": "layout",
    "arrange": "rows",
    "widgets": [ "compass_top_layout", "compass_middle_layout", "compass_bottom_layout", "compass_legend_text" ],
    "flags": [ "W_DISABLED_BY_DEFAULT" ]
  },
  {
    "id": "compass_all_layout_alt",
    "type": "widget",
    "label": "Compass (Dynamic)",
    "style": "layout",
    "arrange": "rows",
    "widgets": [ "compass_top_layout", "compass_middle_layout", "compass_bottom_layout", "compass_legend_text_alt" ]
  }
]
