ScreenJoystick.xml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0"?>
  2. <element>
  3. <attribute name="Name" value="ScreenJoystick" />
  4. <attribute name="Size" value="800 600" />
  5. <element type="Button">
  6. <attribute name="Name" value="Button0" />
  7. <attribute name="Position" value="-12 -120" />
  8. <attribute name="Size" value="96 96" />
  9. <attribute name="Horiz Alignment" value="Right" />
  10. <attribute name="Vert Alignment" value="Bottom" />
  11. <attribute name="Texture" value="Texture2D;Textures/TouchInput.png" />
  12. <attribute name="Image Rect" value="96 0 192 96" />
  13. <attribute name="Hover Image Offset" value="0 0" />
  14. <attribute name="Pressed Image Offset" value="0 0" />
  15. <element type="Text">
  16. <attribute name="Name" value="Label" />
  17. <attribute name="Horiz Alignment" value="Center" />
  18. <attribute name="Vert Alignment" value="Center" />
  19. <attribute name="Color" value="0 0 0 1" />
  20. <attribute name="Text" value="Button0" />
  21. </element>
  22. </element>
  23. <element type="Button">
  24. <attribute name="Name" value="Button1" />
  25. <attribute name="Position" value="-12 -12" />
  26. <attribute name="Size" value="96 96" />
  27. <attribute name="Horiz Alignment" value="Right" />
  28. <attribute name="Vert Alignment" value="Bottom" />
  29. <attribute name="Texture" value="Texture2D;Textures/TouchInput.png" />
  30. <attribute name="Image Rect" value="96 0 192 96" />
  31. <attribute name="Hover Image Offset" value="0 0" />
  32. <attribute name="Pressed Image Offset" value="0 0" />
  33. <element type="Text">
  34. <attribute name="Name" value="Label" />
  35. <attribute name="Horiz Alignment" value="Center" />
  36. <attribute name="Vert Alignment" value="Center" />
  37. <attribute name="Color" value="0 0 0 1" />
  38. <attribute name="Text" value="Button1" />
  39. </element>
  40. </element>
  41. <element type="Button">
  42. <attribute name="Name" value="Button2" />
  43. <attribute name="Position" value="-12 12" />
  44. <attribute name="Size" value="48 48" />
  45. <attribute name="Horiz Alignment" value="Right" />
  46. <attribute name="Opacity" value="0.5" />
  47. <attribute name="Texture" value="Texture2D;Textures/TouchInput.png" />
  48. <attribute name="Image Rect" value="192 0 240 48" />
  49. <attribute name="Hover Image Offset" value="0 0" />
  50. <attribute name="Pressed Image Offset" value="0 0" />
  51. </element>
  52. <element type="Button">
  53. <attribute name="Name" value="Hat0" />
  54. <attribute name="Position" value="12 -12" />
  55. <attribute name="Size" value="96 96" />
  56. <attribute name="Vert Alignment" value="Bottom" />
  57. <attribute name="Texture" value="Texture2D;Textures/TouchInput.png" />
  58. <attribute name="Image Rect" value="0 0 96 96" />
  59. <attribute name="Hover Image Offset" value="0 0" />
  60. <attribute name="Pressed Image Offset" value="0 0" />
  61. </element>
  62. </element>