track_info.stkgui 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <stkgui>
  3. <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
  4. <div x="2%" y="2%" width="96%" height="96%" layout="vertical-row">
  5. <header id="name" height="5%" width="80%" align="center" text_align="center"/>
  6. <spacer width="1" height="5%"/>
  7. <box width="100%" height="40%" padding="10" layout="horizontal-row">
  8. <!-- Left pane -->
  9. <div proportion="1" height="100%" layout="vertical-row">
  10. <icon-button proportion="1" width="100%" height="100%" id="screenshot" custom_ratio="1.33333"/>
  11. </div>
  12. <!-- Right pane -->
  13. <div proportion="1" height="100%" layout="vertical-row">
  14. <label id="highscores" width="100%" text_align="center" text="= Highscores ="/>
  15. <spacer width="1" height="2%"/>
  16. <div width="95%" height="fit" layout="horizontal-row">
  17. <icon id="iconscore1" icon="gui/random_kart.png" width="font" height="font"/>
  18. <spacer width="2%" height="1"/>
  19. <label id="highscore1" proportion="1" text="(Empty)"/>
  20. </div>
  21. <spacer width="1" height="2%"/>
  22. <div width="95%" height="fit" layout="horizontal-row">
  23. <icon id="iconscore2" icon="gui/random_kart.png" width="font" height="font"/>
  24. <spacer width="2%" height="1"/>
  25. <label id="highscore2" proportion="1" text="(Empty)"/>
  26. </div>
  27. <spacer width="1" height="2%"/>
  28. <div width="95%" height="fit" layout="horizontal-row">
  29. <icon id="iconscore3" icon="gui/random_kart.png" width="font" height="font"/>
  30. <spacer width="2%" height="1"/>
  31. <label id="highscore3" proportion="1" text="(Empty)"/>
  32. </div>
  33. <spacer width="1" height="10%"/>
  34. <label id="author" width="100%" text_align="center" word_wrap="true"/>
  35. </div>
  36. </box>
  37. <spacer width="1" height="5%"/>
  38. <box width="100%" height="25%" padding="15" layout="vertical-row">
  39. <div width="100%" height="fit" layout="horizontal-row" >
  40. <label id="lap-text" proportion="1" I18N="In the track info screen" text="Number of laps" text_align="right"/>
  41. <spacer width="40"/>
  42. <div proportion="1" height="fit" layout="horizontal-row">
  43. <spinner id="lap-spinner" width="50%" min_value="1" max_value="20" align="center"
  44. wrap_around="true" />
  45. </div>
  46. </div>
  47. <spacer height="10"/>
  48. <div width="100%" height="fit" layout="horizontal-row" >
  49. <label id="ai-text" proportion="1" I18N="In the track info screen" text="Number of AI karts" text_align="right"/>
  50. <spacer width="40"/>
  51. <div proportion="1" height="fit" layout="horizontal-row">
  52. <spinner id="ai-spinner" width="50%" min_value="1" max_value="20" align="center"
  53. wrap_around="true" />
  54. </div>
  55. </div>
  56. <spacer height="10"/>
  57. <div width="100%" height="fit" layout="horizontal-row" >
  58. <label id="reverse-text" proportion="1" I18N="In the track info screen" text="Drive in reverse" text_align="right"/>
  59. <spacer width="40"/>
  60. <div proportion="1" height="fit" layout="horizontal-row">
  61. <div width="50%" height="fit" text-align="center" layout="vertical-row" >
  62. <checkbox id="reverse" align="center"/>
  63. </div>
  64. </div>
  65. </div>
  66. <spacer width="1" height="2%"/>
  67. </box>
  68. <spacer width="1" height="5%"/>
  69. <buttonbar id="buttons" height="15%" width="100%" align="center">
  70. <icon-button id="start" width="64" height="64" icon="gui/green_check.png"
  71. I18N="In the track info screen" text="Start Race"/>
  72. </buttonbar>
  73. </div>
  74. </stkgui>