options_audio.stkgui 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <stkgui>
  3. <div x="1%" y="1%" width="98%" height="98%" layout="vertical-row">
  4. <header text_align="center" width="80%" align="center" text="SuperTuxKart Options"/>
  5. <spacer height="15" width="10"/>
  6. <tabs id="options_choice" height="10%" max_height="110" x="2%" width="98%" align="center">
  7. <icon-button id="tab_video" width="128" height="128" icon="gui/options_video.png"/>
  8. <icon-button id="tab_audio" width="128" height="128" icon="gui/options_audio.png"
  9. I18N="Section in the settings menu" text="Audio"/>
  10. <icon-button id="tab_ui" width="128" height="128" icon="gui/options_ui.png"/>
  11. <icon-button id="tab_players" width="128" height="128" icon="gui/options_players.png"/>
  12. <icon-button id="tab_controls" width="128" height="128" icon="gui/options_input.png"/>
  13. </tabs>
  14. <box proportion="1" width="100%" layout="vertical-row">
  15. <spacer height="5" width="10"/>
  16. <!-- ******** Music ******** -->
  17. <label width="100%" I18N="In the audio options screen" text="Music"/>
  18. <div width="75%" height="fit" layout="horizontal-row" >
  19. <label proportion="1" height="100%" text_align="right" I18N="In the audio options screen" text="Enabled"/>
  20. <div proportion="1" height="fit" layout="horizontal-row" >
  21. <spacer width="40" height="100%" />
  22. <!-- FIXME: don't hardcode height -->
  23. <checkbox id="music_enabled" width="40" height="40"/>
  24. </div>
  25. </div>
  26. <div width="75%" height="fit" layout="horizontal-row" >
  27. <label proportion="1" height="100%" text_align="right" I18N="In the audio options screen" text="Volume"/>
  28. <div proportion="1" height="fit" layout="horizontal-row" >
  29. <spacer width="40" height="100%" />
  30. <gauge id="music_volume" proportion="1" min_value="1" max_value="10"/>
  31. </div>
  32. </div>
  33. <spacer height="15" width="10"/>
  34. <!-- ******** SFX ******** -->
  35. <label width="100%" I18N="In the audio options screen" text="Sound Effects"/>
  36. <div width="75%" height="fit" layout="horizontal-row" >
  37. <label proportion="1" height="100%" text_align="right" I18N="In the audio options screen" text="Enabled"/>
  38. <div proportion="1" height="fit" layout="horizontal-row" >
  39. <spacer width="40" height="100%" />
  40. <!-- FIXME: don't hardcode height -->
  41. <checkbox id="sfx_enabled" width="40" height="40"/>
  42. </div>
  43. </div>
  44. <div width="75%" height="fit" layout="horizontal-row" >
  45. <label proportion="1" height="100%" text_align="right" I18N="In the audio options screen" text="Volume"/>
  46. <div proportion="1" height="fit" layout="horizontal-row" >
  47. <spacer width="40" height="100%" />
  48. <gauge id="sfx_volume" proportion="1" min_value="1" max_value="10"/>
  49. </div>
  50. </div>
  51. <spacer height="20" width="10"/>
  52. </box>
  53. </div>
  54. <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
  55. </stkgui>