Move R2D/precharge bar to custom container
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
"X": 41,
|
||||
"Y": 15,
|
||||
"Width": 397,
|
||||
"Height": 30,
|
||||
"Height": 37,
|
||||
"TextId": "__SingleUse_6GPV",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
@ -1112,70 +1112,11 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"Type": "BoxProgress",
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "progressBar",
|
||||
"Width": 456,
|
||||
"Height": 33,
|
||||
"Visible": false,
|
||||
"Color": {
|
||||
"Red": 99,
|
||||
"Green": 186
|
||||
},
|
||||
"Direction": "Right",
|
||||
"FileNameBackground": "prog_horiz_bg.png",
|
||||
"IndicatorPositionWidth": 480,
|
||||
"IndicatorPositionHeight": 55,
|
||||
"ProgressRangeMax": 100
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "prechargeLabel",
|
||||
"X": 95,
|
||||
"Y": -2,
|
||||
"Width": 269,
|
||||
"Height": 30,
|
||||
"Visible": false,
|
||||
"TextId": "__SingleUse_HMH2",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"AutoSize": true
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "r2dLabel",
|
||||
"X": 70,
|
||||
"Y": -2,
|
||||
"Width": 317,
|
||||
"Height": 37,
|
||||
"Visible": false,
|
||||
"TextId": "__SingleUse_NGUK",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
}
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "r2dProgressLabel",
|
||||
"X": 168,
|
||||
"Y": -2,
|
||||
"Width": 219,
|
||||
"Height": 37,
|
||||
"Visible": false,
|
||||
"TextId": "__SingleUse_J5UH",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"Wildcard1": {}
|
||||
"CustomContainerDefinitionName": "ProgressBar"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -1709,7 +1650,7 @@
|
||||
"X": 27,
|
||||
"Y": 2,
|
||||
"Width": 99,
|
||||
"Height": 24,
|
||||
"Height": 25,
|
||||
"TextId": "__SingleUse_QAZ3",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
@ -1725,7 +1666,7 @@
|
||||
"X": 329,
|
||||
"Y": 2,
|
||||
"Width": 102,
|
||||
"Height": 24,
|
||||
"Height": 25,
|
||||
"TextId": "__SingleUse_1F9T",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
@ -1880,7 +1821,7 @@
|
||||
"X": 8,
|
||||
"Y": 7,
|
||||
"Width": 203,
|
||||
"Height": 24,
|
||||
"Height": 25,
|
||||
"TextId": "__SingleUse_5W6Y",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
@ -1909,7 +1850,52 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"Interactions": []
|
||||
"Interactions": [
|
||||
{
|
||||
"InteractionName": "DecreasePLim",
|
||||
"Trigger": {
|
||||
"Type": "TriggerPhysicalButtonClicked",
|
||||
"ButtonKey": 104
|
||||
},
|
||||
"Action": {
|
||||
"Type": "ActionCustom",
|
||||
"FunctionName": "decreasePowerLimit"
|
||||
}
|
||||
},
|
||||
{
|
||||
"InteractionName": "IncreasePLim",
|
||||
"Trigger": {
|
||||
"Type": "TriggerPhysicalButtonClicked",
|
||||
"ButtonKey": 108
|
||||
},
|
||||
"Action": {
|
||||
"Type": "ActionCustom",
|
||||
"FunctionName": "increasePowerLimit"
|
||||
}
|
||||
},
|
||||
{
|
||||
"InteractionName": "DecreaseSLim",
|
||||
"Trigger": {
|
||||
"Type": "TriggerPhysicalButtonClicked",
|
||||
"ButtonKey": 107
|
||||
},
|
||||
"Action": {
|
||||
"Type": "ActionCustom",
|
||||
"FunctionName": "decreaseSpeedLimit"
|
||||
}
|
||||
},
|
||||
{
|
||||
"InteractionName": "IncreaseSLim",
|
||||
"Trigger": {
|
||||
"Type": "TriggerPhysicalButtonClicked",
|
||||
"ButtonKey": 106
|
||||
},
|
||||
"Action": {
|
||||
"Type": "ActionCustom",
|
||||
"FunctionName": "increaseSpeedLimit"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"CustomContainerDefinitions": [
|
||||
@ -2390,6 +2376,82 @@
|
||||
}
|
||||
],
|
||||
"Interactions": []
|
||||
},
|
||||
{
|
||||
"Name": "ProgressBar",
|
||||
"X": -80,
|
||||
"Y": 80,
|
||||
"Width": 456,
|
||||
"Height": 33,
|
||||
"Components": [
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "r2dProgressLabel",
|
||||
"X": 168,
|
||||
"Y": -2,
|
||||
"Width": 219,
|
||||
"Height": 37,
|
||||
"Visible": false,
|
||||
"TextId": "__SingleUse_6EXA",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"Wildcard1": {}
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "r2dLabel",
|
||||
"X": 70,
|
||||
"Y": -2,
|
||||
"Width": 317,
|
||||
"Height": 37,
|
||||
"Visible": false,
|
||||
"TextId": "__SingleUse_570K",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
}
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "prechargeLabel",
|
||||
"X": 95,
|
||||
"Y": -2,
|
||||
"Width": 269,
|
||||
"Height": 37,
|
||||
"Visible": false,
|
||||
"TextId": "__SingleUse_G2S2",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"AutoSize": true
|
||||
},
|
||||
{
|
||||
"Type": "BoxProgress",
|
||||
"Name": "progressBar",
|
||||
"Width": 456,
|
||||
"Height": 33,
|
||||
"Visible": false,
|
||||
"Color": {
|
||||
"Red": 99,
|
||||
"Green": 186
|
||||
},
|
||||
"Direction": "Right",
|
||||
"FileNameBackground": "prog_horiz_bg.png",
|
||||
"IndicatorPositionWidth": 480,
|
||||
"IndicatorPositionHeight": 55,
|
||||
"ProgressRangeMax": 100
|
||||
}
|
||||
],
|
||||
"Interactions": []
|
||||
}
|
||||
],
|
||||
"Name": "SteeringWheel",
|
||||
|
||||
Reference in New Issue
Block a user