user_screen_tab.stkgui 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. <icon-button id="tab_ui" width="128" height="128" icon="gui/options_ui.png"/>
  10. <icon-button id="tab_players" width="128" height="128" icon="gui/options_players.png"
  11. I18N="Section in the settings menu" text="Players"/>
  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="15" width="10"/>
  16. <scrollable_ribbon id="players" height="120" y="10" x="10" width="98%" align="center" label_location="each"
  17. square_items="true" child_width="128" child_height="128" />
  18. <spacer height="15" width="10"/>
  19. <div width="90%" align="center" layout="vertical-row" height="fit">
  20. <div width="100%" height="fit" layout="horizontal-row" >
  21. <checkbox width="fit" id="online" I18N="In the user screen" text_align="left"/>
  22. <spacer width="10"/>
  23. <label proportion="1" height="100%" text_align="left" I18N="In the user screen" text="Online"/>
  24. </div>
  25. <div width="100%" height="fit" layout="horizontal-row" >
  26. <checkbox width="fit" id="remember-user" I18N="In the user screen" text_align="left"/>
  27. <spacer width="10"/>
  28. <label id="label_remember" proportion="1" height="100%" text_align="left"
  29. I18N="In the user screen" text="Remember password"/>
  30. </div>
  31. <!-- Disable guest accounts for now
  32. <div width="100%" height="fit" layout="horizontal-row" >
  33. <label id="label_guest" proportion="1" height="100%" text_align="left"
  34. I18N="In the user screen" text="Guest login"/>
  35. <checkbox id="guest" I18N="In the user screen" text_align="left"/>
  36. </div>
  37. -->
  38. <div width="100%" height="fit" layout="horizontal-row" >
  39. <label id="label_username" width="40%" height="100%" text_align="left"
  40. I18N="In the user screen" text="Username"/>
  41. <textbox id="username" proportion="2" height="fit" I18N="In the user screen"/>
  42. </div>
  43. <spacer height="20" width="20"/>
  44. <div width="100%" height="fit" layout="horizontal-row" >
  45. <label id="label_password" width="40%" height="100%" text_align="left"
  46. I18N="In the registration dialog" text="Password"/>
  47. <textbox id="password" proportion="2" height="fit" I18N="In the registration dialog"/>
  48. </div>
  49. </div>
  50. <div width="80%" align="center" layout="vertical-row" height="fit">
  51. <label id="message" width="80%" align="center" text_align="left"/>
  52. </div>
  53. <spacer width="20" height="25"/>
  54. <buttonbar id="options" width="90%" height="13%" align="center">
  55. <icon-button id="ok" width="64" height="64" icon="gui/green_check.png"
  56. I18N="In the user screen" text="OK" label_location="bottom"/>
  57. <icon-button id="new_user" width="64" height="64" icon="gui/blue_plus.png"
  58. I18N="In the user screen" text="Add user" label_location="bottom"/>
  59. <icon-button id="delete" width="64" height="64" icon="gui/remove.png"
  60. I18N="In the user screen" text="Delete" label_location="bottom"/>
  61. <icon-button id="rename" width="64" height="64" icon="gui/rename.png"
  62. I18N="In the user screen" text="Rename" label_location="bottom"/>
  63. <icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
  64. I18N="In the user screen" text="Cancel" label_location="bottom"/>
  65. </buttonbar>
  66. </box>
  67. </div>
  68. <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
  69. </stkgui>