steering-wheel/TouchGFX/steering-wheel.touchgfx

239 lines
6.5 KiB
Plaintext
Raw Normal View History

2023-03-06 21:21:00 +01:00
{
"Application": {
"Screens": [
{
2023-03-06 23:42:01 +01:00
"Name": "MissionSelect",
2023-03-06 21:21:00 +01:00
"CanvasBufferSize": 7200,
"Components": [
{
"Type": "TextArea",
2023-03-06 23:42:01 +01:00
"Name": "prompt",
"X": 41,
"Width": 398,
"Height": 37,
2023-03-06 21:21:00 +01:00
"TextId": "__SingleUse_6GPV",
"TextRotation": "0",
"Color": {
2023-03-06 23:42:01 +01:00
"Red": 255,
"Green": 255,
"Blue": 255
2023-03-06 21:21:00 +01:00
},
"AutoSize": true
},
{
2023-03-06 23:42:01 +01:00
"Type": "ListLayout",
"Name": "missionList",
"Y": 48,
"Width": 480,
2023-03-07 20:13:28 +01:00
"Height": 212,
2023-03-06 23:42:01 +01:00
"Direction": "South",
"Components": [
{
"Type": "CustomContainerInstance",
"Name": "accel",
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
},
{
"Type": "CustomContainerInstance",
"Name": "skidpad",
"Y": 30,
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
},
{
"Type": "CustomContainerInstance",
"Name": "autox",
"Y": 60,
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
},
{
"Type": "CustomContainerInstance",
"Name": "trackdrive",
"Y": 90,
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
},
{
"Type": "CustomContainerInstance",
"Name": "ebs",
"Y": 120,
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
},
{
"Type": "CustomContainerInstance",
"Name": "inspection",
"Y": 150,
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
},
{
"Type": "CustomContainerInstance",
"Name": "manual",
"Y": 180,
"Width": 480,
"Height": 30,
"CustomContainerDefinitionName": "MissionSelectElement"
2023-03-07 20:13:28 +01:00
},
{
"Type": "Line",
"Name": "lastLine",
"Y": 210,
"Width": 480,
"Height": 2,
"Color": {
"Red": 170,
"Green": 170,
"Blue": 170
},
"EndX": 480.0,
"LineWidth": 5.0,
"LineEndingStyle": "Round"
2023-03-06 23:42:01 +01:00
}
]
},
{
"Type": "Image",
2023-03-07 20:13:28 +01:00
"Name": "logo",
2023-03-06 23:42:01 +01:00
"X": 160,
"Y": 263,
"Width": 160,
"Height": 55,
2023-03-07 20:13:28 +01:00
"RelativeFilename": "logo_dv_small_white.png"
2023-03-06 23:42:01 +01:00
}
],
"Interactions": [
{
"InteractionName": "SelectNextMission",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 23
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "incMission"
}
},
{
"InteractionName": "SelectPrevMission",
"Trigger": {
"Type": "TriggerPhysicalButtonClicked",
"ButtonKey": 24
},
"Action": {
"Type": "ActionCustom",
"FunctionName": "decMission"
}
}
]
2023-03-06 23:42:01 +01:00
}
],
"CustomContainerDefinitions": [
{
"Name": "MissionSelectElement",
"X": -80,
"Y": 109,
"Width": 480,
"Height": 30,
"Components": [
{
"Type": "Box",
"Name": "bg",
"Width": 480,
"Height": 30
},
{
"Type": "TextArea",
"Name": "text",
"Y": 3,
"Width": 480,
"Height": 25,
"TextId": "__SingleUse_M5X7",
"TextRotation": "0",
2023-03-06 21:21:00 +01:00
"Color": {
2023-03-06 23:42:01 +01:00
"Red": 255,
2023-03-06 21:21:00 +01:00
"Green": 255,
2023-03-06 23:42:01 +01:00
"Blue": 255
}
},
{
"Type": "Line",
"Name": "line1",
"Width": 480,
"Height": 2,
"Color": {
"Red": 170,
"Green": 170,
"Blue": 170
2023-03-06 21:21:00 +01:00
},
2023-03-06 23:42:01 +01:00
"EndX": 480.0,
"LineWidth": 5.0,
"LineEndingStyle": "Round"
2023-03-06 21:21:00 +01:00
}
],
"Interactions": []
}
],
"Name": "MyApplication",
"Resolution": {
"Width": 320,
"Height": 480
},
"SelectedColorDepth": 16,
2023-03-06 23:42:01 +01:00
"StartupScreenName": "MissionSelect",
2023-03-06 21:21:00 +01:00
"SelectedStartupLanguage": "GB",
"TouchGfxPath": "../Middlewares/ST/touchgfx",
"UIPath": ".",
"AvailableColorDepths": [
16
],
"AvailableLCDs": {
"16": "LCD16bpp"
},
"AvailableSections": [
"ExtFlashSection",
"IntFlashSection"
],
"AvailableResolutions": [
{
"Width": 320,
"Height": 480
}
],
"PhysicalButtons": [],
"FrameworkFeatures": {
"LCD16bpp": {
"Id": "LCD16bpp",
"IsEnabled": true
}
},
"GenerateAssetsCommand": "make -f simulator/gcc/Makefile assets -j8",
"PostGenerateCommand": "touchgfx update_project --project-file=simulator/msvs/Application.vcxproj",
"PostGenerateTargetCommand": "touchgfx update_project",
2023-03-06 23:42:01 +01:00
"PostGenerateTargetCommandOverride": "",
2023-03-06 21:21:00 +01:00
"CompileSimulatorCommand": "make -f simulator/gcc/Makefile -j8",
"RunSimulatorCommand": "build\\bin\\simulator.exe",
"LandscapeSkinX": 0,
"LandscapeSkinY": 0,
"PortraitSkinX": 0,
"PortraitSkinY": 0,
"DisplayOrientation": "Landscape",
"Family": "STM32H7",
"SubFamily": "STM32H7A3/7B3",
"Toolchain": "Makefile",
"Platform": "m7",
"ProjectFile": "../steering-wheel.ioc",
"OptionalComponentsRoot": "../Middlewares/ST/touchgfx_components",
"OptionalComponents": [],
"AdditionalFeatures": []
},
"Version": "4.21.2"
}