1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-27 08:10:10 +00:00
msfs-popout-panel-manager/ReactClient/public/config/profiles/kodiak/oxygen/PopoutPanelDefinition.json
2022-07-23 15:23:32 -04:00

76 lines
No EOL
2.3 KiB
JSON

{
"id": "KODIAK_OXYGEN_DEF",
"value": {
"panelSize": {
"width": 215,
"height": 215
},
"backgroundImage": "background_oxygen.png",
"controlSize": {
"oxygenBase": {
"width": 49,
"height": 69
},
"oxygenIndicatorBase": {
"width": 10,
"height": 107
}
},
"panelControlDefinitions": [
{
"id": "btn_oxygen",
"type": "bindableImageButton",
"left": 92,
"top": 82,
"controlSize": {
"$ref": "#value.controlSize.oxygenBase"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "(L:XMLVAR_Oxygen) ++ 2 % (>L:XMLVAR_Oxygen)",
"actionType": "SimVarCode"
}
]
},
"binding": {
"variable": "KODIAK_OXYGEN",
"images": [
{
"url": "oxygen_off.png",
"val": 0
},
{
"url": "oxygen_on.png",
"val": 1
}
]
}
},
{
"id": "btn_oxygen_indicator",
"type": "bindableImageButton",
"left": 66,
"top": 60,
"controlSize": {
"$ref": "#value.controlSize.oxygenIndicatorBase"
},
"highlight": false,
"binding": {
"variable": "KODIAK_OXYGEN",
"images": [
{
"url": "oxygen_indicator_off.png",
"val": 0
},
{
"url": "oxygen_indicator_on.png",
"val": 1
}
]
}
}
]
}
}