Skip to content

Commit

Permalink
Restyled input device selector
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Feb 28, 2024
1 parent bfdb354 commit a423adf
Show file tree
Hide file tree
Showing 2 changed files with 196 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<Variable>
<Type>float</Type>
<Name>Height</Name>
<Value xsi:type="xsd:float">10</Value>
<Value xsi:type="xsd:float">113</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>DimensionUnitType</Type>
<Name>Height Units</Name>
<Value xsi:type="xsd:int">4</Value>
<Value xsi:type="xsd:int">0</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
Expand Down Expand Up @@ -163,6 +163,18 @@
<Value xsi:type="xsd:string">White</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>float</Type>
<Name>TextInstance.Height</Name>
<Value xsi:type="xsd:float">-43</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>DimensionUnitType</Type>
<Name>TextInstance.Height Units</Name>
<Value xsi:type="xsd:int">2</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>HorizontalAlignment</Type>
<Name>TextInstance.HorizontalAlignment</Name>
Expand All @@ -178,7 +190,19 @@
<Variable>
<Type>string</Type>
<Name>TextInstance.Text</Name>
<Value xsi:type="xsd:string">Input Device Name Here</Value>
<Value xsi:type="xsd:string">Input Device Name Here With 3 Lines</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>TextOverflowHorizontalMode</Type>
<Name>TextInstance.TextOverflowHorizontalMode</Name>
<Value xsi:type="xsd:int">1</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>TextOverflowVerticalMode</Type>
<Name>TextInstance.TextOverflowVerticalMode</Name>
<Value xsi:type="xsd:int">1</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,76 @@
<Value xsi:type="xsd:int">1</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>ChildrenLayout</Type>
<Name>ContainerInstance2.Children Layout</Name>
<Value xsi:type="xsd:int">2</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>float</Type>
<Name>ContainerInstance2.Height</Name>
<Value xsi:type="xsd:float">31</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>float</Type>
<Name>ContainerInstance2.Width</Name>
<Value xsi:type="xsd:float">0</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>DimensionUnitType</Type>
<Name>ContainerInstance2.Width Units</Name>
<Value xsi:type="xsd:int">4</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>float</Type>
<Name>ContainerInstance2.X</Name>
<Value xsi:type="xsd:float">0</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>HorizontalAlignment</Type>
<Name>ContainerInstance2.X Origin</Name>
<Value xsi:type="xsd:int">1</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>PositionUnitType</Type>
<Name>ContainerInstance2.X Units</Name>
<Value xsi:type="xsd:int">6</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>float</Type>
<Name>ContainerInstance2.Y</Name>
<Value xsi:type="xsd:float">228</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>VerticalAlignment</Type>
<Name>ContainerInstance2.Y Origin</Name>
<Value xsi:type="xsd:int">0</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>PositionUnitType</Type>
<Name>ContainerInstance2.Y Units</Name>
<Value xsi:type="xsd:int">1</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>float</Type>
<Name>Height</Name>
<Value xsi:type="xsd:float">216</Value>
<Value xsi:type="xsd:float">6</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>DimensionUnitType</Type>
<Name>Height Units</Name>
<Value xsi:type="xsd:int">4</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
Expand All @@ -96,13 +162,19 @@
<Variable>
<Type>float</Type>
<Name>InputDeviceContainerInstance.Height</Name>
<Value xsi:type="xsd:float">-120</Value>
<Value xsi:type="xsd:float">20</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>DimensionUnitType</Type>
<Name>InputDeviceContainerInstance.Height Units</Name>
<Value xsi:type="xsd:int">2</Value>
<Value xsi:type="xsd:int">4</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>float</Type>
<Name>InputDeviceContainerInstance.StackSpacing</Name>
<Value xsi:type="xsd:float">4</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
Expand Down Expand Up @@ -138,19 +210,19 @@
<Variable>
<Type>float</Type>
<Name>InputDeviceContainerInstance.Y</Name>
<Value xsi:type="xsd:float">0</Value>
<Value xsi:type="xsd:float">89</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>VerticalAlignment</Type>
<Name>InputDeviceContainerInstance.Y Origin</Name>
<Value xsi:type="xsd:int">2</Value>
<Value xsi:type="xsd:int">0</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>PositionUnitType</Type>
<Name>InputDeviceContainerInstance.Y Units</Name>
<Value xsi:type="xsd:int">5</Value>
<Value xsi:type="xsd:int">1</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
Expand Down Expand Up @@ -210,7 +282,7 @@
<Variable>
<Type>string</Type>
<Name>TextInstance.Text</Name>
<Value xsi:type="xsd:string">Press Start / Enter</Value>
<Value xsi:type="xsd:string">Press A / Space to Join</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
Expand Down Expand Up @@ -255,10 +327,88 @@
<Value xsi:type="xsd:int">7</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>ColorCategory</Type>
<Name>TextInstance1.ColorCategoryState</Name>
<Value xsi:type="xsd:string">White</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>HorizontalAlignment</Type>
<Name>TextInstance1.HorizontalAlignment</Name>
<Value xsi:type="xsd:int">0</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>string</Type>
<Name>TextInstance1.Parent</Name>
<Value xsi:type="xsd:string">ContainerInstance2</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>StyleCategory</Type>
<Name>TextInstance1.StyleCategoryState</Name>
<Value xsi:type="xsd:string">H1</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>string</Type>
<Name>TextInstance1.Text</Name>
<Value xsi:type="xsd:string">Press Start / Enter to Continue</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>VerticalAlignment</Type>
<Name>TextInstance1.VerticalAlignment</Name>
<Value xsi:type="xsd:int">1</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>float</Type>
<Name>TextInstance1.X</Name>
<Value xsi:type="xsd:float">0</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>HorizontalAlignment</Type>
<Name>TextInstance1.X Origin</Name>
<Value xsi:type="xsd:int">0</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>PositionUnitType</Type>
<Name>TextInstance1.X Units</Name>
<Value xsi:type="xsd:int">0</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>float</Type>
<Name>TextInstance1.Y</Name>
<Value xsi:type="xsd:float">0</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>VerticalAlignment</Type>
<Name>TextInstance1.Y Origin</Name>
<Value xsi:type="xsd:int">1</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>PositionUnitType</Type>
<Name>TextInstance1.Y Units</Name>
<Value xsi:type="xsd:int">7</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>float</Type>
<Name>Width</Name>
<Value xsi:type="xsd:float">660</Value>
<Value xsi:type="xsd:float">60</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
<Type>DimensionUnitType</Type>
<Name>Width Units</Name>
<Value xsi:type="xsd:int">4</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
Expand All @@ -282,7 +432,7 @@
<Variable>
<Type>float</Type>
<Name>Y</Name>
<Value xsi:type="xsd:float">-60</Value>
<Value xsi:type="xsd:float">0</Value>
<SetsValue>true</SetsValue>
</Variable>
<Variable>
Expand All @@ -308,6 +458,11 @@
<BaseType>Text</BaseType>
<DefinedByBase>false</DefinedByBase>
</Instance>
<Instance>
<Name>TextInstance1</Name>
<BaseType>Text</BaseType>
<DefinedByBase>false</DefinedByBase>
</Instance>
<Instance>
<Name>ContainerInstance1</Name>
<BaseType>Container</BaseType>
Expand All @@ -318,6 +473,11 @@
<BaseType>Container</BaseType>
<DefinedByBase>false</DefinedByBase>
</Instance>
<Instance>
<Name>ContainerInstance2</Name>
<BaseType>Container</BaseType>
<DefinedByBase>false</DefinedByBase>
</Instance>
<Instance>
<Name>InputDeviceSelectionItemInstance</Name>
<BaseType>Controls/InputDeviceSelectionItem</BaseType>
Expand Down

0 comments on commit a423adf

Please sign in to comment.