Add debug view
This commit is contained in:
@ -167,6 +167,18 @@
|
||||
"ScreenTransitionType": "ScreenTransitionNone",
|
||||
"ActionComponent": "DriverView"
|
||||
}
|
||||
},
|
||||
{
|
||||
"InteractionName": "DummyChangeDebugView",
|
||||
"Trigger": {
|
||||
"Type": "TriggerPhysicalButtonClicked",
|
||||
"ButtonKey": 252
|
||||
},
|
||||
"Action": {
|
||||
"Type": "ActionGotoScreen",
|
||||
"ScreenTransitionType": "ScreenTransitionNone",
|
||||
"ActionComponent": "DebugView"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -478,6 +490,42 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "DebugView",
|
||||
"CanvasBufferSize": 7200,
|
||||
"Components": [
|
||||
{
|
||||
"Type": "ScrollList",
|
||||
"Name": "list",
|
||||
"Y": 4,
|
||||
"Width": 480,
|
||||
"Height": 312,
|
||||
"IsCircular": true,
|
||||
"ItemTemplateName": "DebugViewLine",
|
||||
"NumberofItems": 1,
|
||||
"Easing": "Back",
|
||||
"EasingOption": "Out",
|
||||
"SwipeAcceleration": 1.0,
|
||||
"DragAcceleration": 1.0
|
||||
},
|
||||
{
|
||||
"Type": "Line",
|
||||
"Name": "line1",
|
||||
"Y": 3,
|
||||
"Width": 480,
|
||||
"Height": 1,
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"EndX": 480.0,
|
||||
"LineWidth": 10.0,
|
||||
"LineEndingStyle": "Round"
|
||||
}
|
||||
],
|
||||
"Interactions": []
|
||||
}
|
||||
],
|
||||
"CustomContainerDefinitions": [
|
||||
@ -584,13 +632,14 @@
|
||||
"Name": "title",
|
||||
"Width": 160,
|
||||
"Height": 25,
|
||||
"TextId": "__SingleUse_0FBJ",
|
||||
"TextId": "DriverViewField_Title",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
}
|
||||
},
|
||||
"Wildcard1": {}
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
@ -633,13 +682,14 @@
|
||||
"Name": "name",
|
||||
"Width": 160,
|
||||
"Height": 25,
|
||||
"TextId": "__SingleUse_PNKR",
|
||||
"TextId": "DriverViewField_Title",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
}
|
||||
},
|
||||
"Wildcard1": {}
|
||||
},
|
||||
{
|
||||
"Type": "Line",
|
||||
@ -687,6 +737,107 @@
|
||||
}
|
||||
],
|
||||
"Interactions": []
|
||||
},
|
||||
{
|
||||
"Name": "DebugViewLine",
|
||||
"X": -80,
|
||||
"Y": 80,
|
||||
"Width": 480,
|
||||
"Height": 26,
|
||||
"Components": [
|
||||
{
|
||||
"Type": "Box",
|
||||
"Name": "bg",
|
||||
"Width": 480,
|
||||
"Height": 26
|
||||
},
|
||||
{
|
||||
"Type": "Line",
|
||||
"Name": "line1",
|
||||
"X": 240,
|
||||
"Width": 1,
|
||||
"Height": 26,
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"EndY": 26.0,
|
||||
"LineWidth": 10.0,
|
||||
"LineEndingStyle": "Round"
|
||||
},
|
||||
{
|
||||
"Type": "Line",
|
||||
"Name": "line2",
|
||||
"Y": 25,
|
||||
"Width": 480,
|
||||
"Height": 1,
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"EndX": 480.0,
|
||||
"LineWidth": 10.0,
|
||||
"LineEndingStyle": "Round"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "item1",
|
||||
"Width": 240,
|
||||
"Height": 26,
|
||||
"CustomContainerDefinitionName": "DebugViewItem"
|
||||
},
|
||||
{
|
||||
"Type": "CustomContainerInstance",
|
||||
"Name": "item2",
|
||||
"X": 240,
|
||||
"Width": 240,
|
||||
"Height": 26,
|
||||
"CustomContainerDefinitionName": "DebugViewItem"
|
||||
}
|
||||
],
|
||||
"Interactions": []
|
||||
},
|
||||
{
|
||||
"Name": "DebugViewItem",
|
||||
"X": 40,
|
||||
"Y": 227,
|
||||
"Width": 240,
|
||||
"Height": 26,
|
||||
"Components": [
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "label",
|
||||
"X": 5,
|
||||
"Width": 105,
|
||||
"Height": 25,
|
||||
"TextId": "DebugViewField_Title",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"Wildcard1": {}
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "value",
|
||||
"X": 110,
|
||||
"Width": 125,
|
||||
"Height": 25,
|
||||
"TextId": "DefaultWildcard_RightAligned",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 255,
|
||||
"Green": 255,
|
||||
"Blue": 255
|
||||
},
|
||||
"Wildcard1": {}
|
||||
}
|
||||
],
|
||||
"Interactions": []
|
||||
}
|
||||
],
|
||||
"Name": "MyApplication",
|
||||
@ -695,7 +846,7 @@
|
||||
"Height": 480
|
||||
},
|
||||
"SelectedColorDepth": 16,
|
||||
"StartupScreenName": "DriverView",
|
||||
"StartupScreenName": "MissionSelect",
|
||||
"SelectedStartupLanguage": "GB",
|
||||
"TouchGfxPath": "../Middlewares/ST/touchgfx",
|
||||
"UIPath": ".",
|
||||
|
||||
Reference in New Issue
Block a user