1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-24 06:40:09 +00:00
msfs-popout-panel-manager/ReactClient/public/config/profiles/kodiak/oxygen/PopoutPanelDefinition.json

76 lines
2.3 KiB
JSON
Raw Normal View History

2022-07-23 19:23:32 +00:00
{
"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
}
]
}
}
]
}
}