Create Mission Select screen
This commit is contained in:
		@ -2,53 +2,155 @@
 | 
			
		||||
  "Application": {
 | 
			
		||||
    "Screens": [
 | 
			
		||||
      {
 | 
			
		||||
        "Name": "screen",
 | 
			
		||||
        "Name": "MissionSelect",
 | 
			
		||||
        "CanvasBufferSize": 7200,
 | 
			
		||||
        "Components": [
 | 
			
		||||
          {
 | 
			
		||||
            "Type": "TextArea",
 | 
			
		||||
            "Name": "textArea1",
 | 
			
		||||
            "X": 190,
 | 
			
		||||
            "Y": 29,
 | 
			
		||||
            "Width": 100,
 | 
			
		||||
            "Height": 25,
 | 
			
		||||
            "Name": "prompt",
 | 
			
		||||
            "X": 41,
 | 
			
		||||
            "Width": 398,
 | 
			
		||||
            "Height": 37,
 | 
			
		||||
            "TextId": "__SingleUse_6GPV",
 | 
			
		||||
            "TextRotation": "0",
 | 
			
		||||
            "Color": {
 | 
			
		||||
              "Red": 255
 | 
			
		||||
              "Red": 255,
 | 
			
		||||
              "Green": 255,
 | 
			
		||||
              "Blue": 255
 | 
			
		||||
            },
 | 
			
		||||
            "AutoSize": true
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
            "Type": "Circle",
 | 
			
		||||
            "Name": "circle1",
 | 
			
		||||
            "X": 97,
 | 
			
		||||
            "Y": 120,
 | 
			
		||||
            "Width": 80,
 | 
			
		||||
            "Height": 80,
 | 
			
		||||
            "Color": {
 | 
			
		||||
              "Red": 3,
 | 
			
		||||
              "Green": 255,
 | 
			
		||||
              "Blue": 226
 | 
			
		||||
            },
 | 
			
		||||
            "CenterX": 40.0,
 | 
			
		||||
            "CenterY": 40.0,
 | 
			
		||||
            "Radius": 40.0,
 | 
			
		||||
            "EndAngle": 360.0,
 | 
			
		||||
            "CapPrecision": "Butt"
 | 
			
		||||
            "Type": "ListLayout",
 | 
			
		||||
            "Name": "missionList",
 | 
			
		||||
            "Y": 48,
 | 
			
		||||
            "Width": 480,
 | 
			
		||||
            "Height": 210,
 | 
			
		||||
            "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"
 | 
			
		||||
              }
 | 
			
		||||
            ]
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
            "Type": "Image",
 | 
			
		||||
            "Name": "image1",
 | 
			
		||||
            "X": 160,
 | 
			
		||||
            "Y": 263,
 | 
			
		||||
            "Width": 160,
 | 
			
		||||
            "Height": 55,
 | 
			
		||||
            "RelativeFilename": "Fasttube_Logo_small_white.png"
 | 
			
		||||
          }
 | 
			
		||||
        ],
 | 
			
		||||
        "Interactions": []
 | 
			
		||||
      }
 | 
			
		||||
    ],
 | 
			
		||||
    "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",
 | 
			
		||||
            "Color": {
 | 
			
		||||
              "Red": 255,
 | 
			
		||||
              "Green": 255,
 | 
			
		||||
              "Blue": 255
 | 
			
		||||
            }
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
            "Type": "Line",
 | 
			
		||||
            "Name": "line1",
 | 
			
		||||
            "Width": 480,
 | 
			
		||||
            "Height": 2,
 | 
			
		||||
            "Color": {
 | 
			
		||||
              "Red": 170,
 | 
			
		||||
              "Green": 170,
 | 
			
		||||
              "Blue": 170
 | 
			
		||||
            },
 | 
			
		||||
            "EndX": 480.0,
 | 
			
		||||
            "LineWidth": 5.0,
 | 
			
		||||
            "LineEndingStyle": "Round"
 | 
			
		||||
          }
 | 
			
		||||
        ],
 | 
			
		||||
        "Interactions": []
 | 
			
		||||
      }
 | 
			
		||||
    ],
 | 
			
		||||
    "CustomContainerDefinitions": [],
 | 
			
		||||
    "Name": "MyApplication",
 | 
			
		||||
    "Resolution": {
 | 
			
		||||
      "Width": 320,
 | 
			
		||||
      "Height": 480
 | 
			
		||||
    },
 | 
			
		||||
    "SelectedColorDepth": 16,
 | 
			
		||||
    "StartupScreenName": "screen",
 | 
			
		||||
    "StartupScreenName": "MissionSelect",
 | 
			
		||||
    "SelectedStartupLanguage": "GB",
 | 
			
		||||
    "TouchGfxPath": "../Middlewares/ST/touchgfx",
 | 
			
		||||
    "UIPath": ".",
 | 
			
		||||
@ -78,7 +180,7 @@
 | 
			
		||||
    "GenerateAssetsCommand": "make -f simulator/gcc/Makefile assets -j8",
 | 
			
		||||
    "PostGenerateCommand": "touchgfx update_project --project-file=simulator/msvs/Application.vcxproj",
 | 
			
		||||
    "PostGenerateTargetCommand": "touchgfx update_project",
 | 
			
		||||
    "PostGenerateTargetCommandOverride": "touchgfx update_project --project-file=../steering-wheel.ioc --platform=m7",
 | 
			
		||||
    "PostGenerateTargetCommandOverride": "",
 | 
			
		||||
    "CompileSimulatorCommand": "make -f simulator/gcc/Makefile -j8",
 | 
			
		||||
    "RunSimulatorCommand": "build\\bin\\simulator.exe",
 | 
			
		||||
    "LandscapeSkinX": 0,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user