menu.form 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. form menu
  2. {
  3. theme = res/common/menu.theme
  4. width = 320
  5. height = 180
  6. alignment = ALIGN_VCENTER_HCENTER
  7. style = basic
  8. // Controls
  9. container controlsContainer
  10. {
  11. style = noBorder
  12. autoWidth = true
  13. height = 60
  14. label controlsLabel
  15. {
  16. style = title
  17. autoWidth = true
  18. textAlignment = ALIGN_LEFT
  19. height = 30
  20. text = Controls
  21. }
  22. radioButton useGamepad
  23. {
  24. style = iconNoBorder
  25. group = controls
  26. position = 0, 25
  27. size = 150, 40
  28. imageSize = 35, 35
  29. selected = true
  30. text = Gamepad
  31. }
  32. radioButton useTilt : useGamepad
  33. {
  34. position = 150, 25
  35. text = Tilt
  36. selected = false
  37. }
  38. }
  39. // Reset
  40. button newGameButton
  41. {
  42. style = buttonStyle
  43. position = 0, 100
  44. size = 150, 50
  45. text = New Game
  46. }
  47. // Exit
  48. button quitGameButton : newGameButton
  49. {
  50. position = 150, 100
  51. text = Quit Game
  52. }
  53. }