Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change xml style of screens and fix some issues with screens

  • Loading branch information...
commit e16a7de617268185ad116ee78c6a1bde3704f80a 1 parent 76b76c6
@Flakebi Flakebi authored
Showing with 1,394 additions and 1,473 deletions.
  1. +45 −45 data/gui/addons_loading.stkgui
  2. +32 −33 data/gui/addons_screen.stkgui
  3. +20 −21 data/gui/arenas.stkgui
  4. +9 −9 data/gui/challenges.stkgui
  5. +9 −12 data/gui/confirm_dialog.stkgui
  6. +11 −14 data/gui/confirm_resolution_dialog.stkgui
  7. +4 −8 data/gui/credits.stkgui
  8. +155 −157 data/gui/custom_video_settings.stkgui
  9. +1 −0  data/gui/debug_slider.stkgui
  10. +19 −20 data/gui/easter_egg.stkgui
  11. +38 −39 data/gui/edit_track.stkgui
  12. +12 −13 data/gui/enter_gp_name_dialog.stkgui
  13. +13 −14 data/gui/enter_player_name_dialog.stkgui
  14. +2 −6 data/gui/feature_unlocked.stkgui
  15. +32 −34 data/gui/gpedit.stkgui
  16. +43 −44 data/gui/gpeditor.stkgui
  17. +2 −1  data/gui/grand_prix_lose.stkgui
  18. +2 −1  data/gui/grand_prix_win.stkgui
  19. BIN  data/gui/help1.stkgui
  20. BIN  data/gui/help2.stkgui
  21. BIN  data/gui/help3.stkgui
  22. BIN  data/gui/help4.stkgui
  23. +23 −24 data/gui/karts.stkgui
  24. +23 −24 data/gui/karts_online.stkgui
  25. +1 −5 data/gui/main.stkgui
  26. +13 −16 data/gui/online/change_password.stkgui
  27. +26 −27 data/gui/online/create_server.stkgui
  28. +35 −37 data/gui/online/guest_login.stkgui
  29. +14 −14 data/gui/online/lobby.stkgui
  30. +8 −9 data/gui/online/lobby_settings.stkgui
  31. +13 −13 data/gui/online/main.stkgui
  32. +5 −8 data/gui/online/notification_dialog.stkgui
  33. +16 −17 data/gui/online/profile_achievements.stkgui
  34. +29 −31 data/gui/online/profile_friends.stkgui
  35. +17 −18 data/gui/online/profile_overview.stkgui
  36. +22 −23 data/gui/online/profile_settings.stkgui
  37. +10 −13 data/gui/online/recovery_info.stkgui
  38. +19 −21 data/gui/online/recovery_input.stkgui
  39. +73 −75 data/gui/online/register.stkgui
  40. +12 −15 data/gui/online/registration_terms.stkgui
  41. +10 −13 data/gui/online/server_info_dialog.stkgui
  42. +10 −12 data/gui/online/server_selection.stkgui
  43. +13 −17 data/gui/online/user_info_dialog.stkgui
  44. +20 −22 data/gui/online/user_search.stkgui
  45. +9 −12 data/gui/online/vote_dialog.stkgui
  46. +59 −60 data/gui/options_audio.stkgui
  47. +44 −45 data/gui/options_device.stkgui
  48. +34 −35 data/gui/options_input.stkgui
  49. +45 −46 data/gui/options_players.stkgui
  50. +56 −57 data/gui/options_ui.stkgui
  51. +76 −77 data/gui/options_video.stkgui
  52. +1 −2  data/gui/overworld_dialog.stkgui
  53. +8 −9 data/gui/press_a_key_dialog.stkgui
  54. +1 −3 data/gui/race_paused_dialog.stkgui
  55. +1 −0  data/gui/race_result.stkgui
  56. +37 −38 data/gui/racesetup.stkgui
  57. +39 −40 data/gui/select_challenge.stkgui
  58. +7 −9 data/gui/soccer_setup.stkgui
  59. +55 −59 data/gui/track_info_dialog.stkgui
  60. +23 −24 data/gui/tracks.stkgui
  61. +8 −10 data/gui/tutorial.stkgui
  62. +6 −8 data/gui/tutorial_message_dialog.stkgui
  63. +2 −1  data/gui/user_screen.stkgui
  64. +4 −4 data/gui/user_screen_tab.stkgui
  65. +18 −9 src/states_screens/options_screen_input2.cpp
View
90 data/gui/addons_loading.stkgui
@@ -1,45 +1,45 @@
-<stkgui>
-
-<div x="5%" y="5%" width="90%" height="90%" layout="vertical-row">
-
-
- <div x="5%" y="0%" width="90%" proportion="6" layout="horizontal-row" >
- <div width="40%" height="100%" layout="vertical-row" >
- <icon id="icon" align="center" proportion="8" width="100%" icon="gui/loading.png"/>
- <spacer proportion="1" />
- </div>
- <spacer proportion="1" />
- <div width="60%" height="50%" layout="vertical-row" >
- <label id="name" width="100%" text_align="left"/>
- <div width="100%" height="100%" layout="horizontal-row" >
- <div width="50%" height="100%" layout="vertical-row" >
- <label id="size" width="100%" text=""/>
- <label id="revision" width="100%" text=""/>
- </div>
- <div width="50%" height="32" layout="vertical-row" >
- <ratingbar id="rating" height="64" width="100%" />
- </div>
- </div>
- <spacer height="10"/>
- <label id="flags" width="100%" text="" word_wrap="true"/>
- </div>
- </div>
-
- <bubble word_wrap="true" id="description" height="100%" width="90%" proportion="5" align="center" />
-
- <div width="80%" proportion="5" align="center">
- <buttonbar id="actions" x="0" y="0" height="100%" width="100%" align="center">
- <icon-button id="install" width="128" height="128"
- icon="gui/package-update.png"
- I18N="Add-on screen action" text="Install"/>
- <icon-button id="uninstall" width="128" height="128"
- icon="gui/package-uninstall.png"
- I18N="Add-on screen action" text="Uninstall"/>
- <icon-button id="back" width="128" height="128"
- icon="gui/back.png"
- I18N="Add-ons screen action" text="Back"/>
- </buttonbar>
- <progressbar id="progress" x="0" y="20%" width="100%" height="30%" />
- </div>
-</div>
-</stkgui>
+<?xml version="1.0" encoding="UTF-8"?>
+<stkgui>
+ <div x="5%" y="5%" width="90%" height="90%" layout="vertical-row">
+
+
+ <div x="5%" y="0%" width="90%" proportion="6" layout="horizontal-row" >
+ <div width="40%" height="100%" layout="vertical-row" >
+ <icon id="icon" align="center" proportion="8" width="100%" icon="gui/loading.png"/>
+ <spacer proportion="1" />
+ </div>
+ <spacer proportion="1" />
+ <div width="60%" height="50%" layout="vertical-row" >
+ <label id="name" width="100%" text_align="left"/>
+ <div width="100%" height="100%" layout="horizontal-row" >
+ <div width="50%" height="100%" layout="vertical-row" >
+ <label id="size" width="100%" text=""/>
+ <label id="revision" width="100%" text=""/>
+ </div>
+ <div width="50%" height="32" layout="vertical-row" >
+ <ratingbar id="rating" height="64" width="100%" />
+ </div>
+ </div>
+ <spacer height="10"/>
+ <label id="flags" width="100%" text="" word_wrap="true"/>
+ </div>
+ </div>
+
+ <bubble word_wrap="true" id="description" height="100%" width="90%" proportion="5" align="center" />
+
+ <div width="80%" proportion="5" align="center">
+ <buttonbar id="actions" x="0" y="0" height="100%" width="100%" align="center">
+ <icon-button id="install" width="128" height="128"
+ icon="gui/package-update.png"
+ I18N="Add-on screen action" text="Install"/>
+ <icon-button id="uninstall" width="128" height="128"
+ icon="gui/package-uninstall.png"
+ I18N="Add-on screen action" text="Uninstall"/>
+ <icon-button id="back" width="128" height="128"
+ icon="gui/back.png"
+ I18N="Add-ons screen action" text="Back"/>
+ </buttonbar>
+ <progressbar id="progress" x="0" y="20%" width="100%" height="30%" />
+ </div>
+ </div>
+</stkgui>
View
65 data/gui/addons_screen.stkgui
@@ -1,40 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <div x="0%" y="0%" width="100%" height="98%" layout="vertical-row" >
-<div x="0%" y="0%" width="100%" height="98%" layout="vertical-row" >
-
- <div x="0" y="0" width="100%" layout="horizontal-row" height="8%">
- <icon-button id="back" height="100%" icon="gui/back.png"/>
- <header text_align="center" proportion="1" text="SuperTuxKart Addons" align="center"/>
- <icon-button id="reload" height="90%" icon="gui/restart.png"/>
- </div>
-
- <box id="filter_box" width="97%" height="75" layout="vertical-row" align="center">
- <div x="0" y="0" width="98%" height="100%" layout="horizontal-row" align="center">
- <textbox id="filter_name" proportion="7" align="center" />
- <spacer width="10" />
- <label text="Updated" align="center" I18N="In addons screen, in the filtering bar, to enable a filter that will show only recently updated items"/>
- <spinner id="filter_date" proportion="8" align="center" min_value="0" wrap_around="true"/>
- <label text="Rating >=" align="center" I18N="In addons screen, in the filtering bar, to enable a filter that will show only recently items with good rating"/>
- <spinner id="filter_rating" proportion="3" align="center" min_value="0" wrap_around="true"/>
- <icon-button id="filter_search" height="100%" icon="gui/search.png"/>
+ <div x="0" y="0" width="100%" layout="horizontal-row" height="8%">
+ <icon-button id="back" height="100%" icon="gui/back.png"/>
+ <header text_align="center" proportion="1" text="SuperTuxKart Addons" align="center"/>
+ <icon-button id="reload" height="90%" icon="gui/restart.png"/>
</div>
- </box>
-
- <spacer height="15" width="10"/>
- <tabs id="category" height="10%" max_height="110" width="90%" align="center">
- <icon-button id="tab_kart" width="128" height="128" icon="gui/karts.png"
- I18N="Section in the addons menu" text="Karts"/>
- <icon-button id="tab_track" width="128" height="128" icon="gui/mode_normal.png"
- I18N="Section in the addons menu" text="Tracks"/>
- <icon-button id="tab_arena" width="128" height="128" icon="gui/mode_normal.png"
- I18N="Section in the addons menu" text="Arenas"/>
- </tabs>
+ <box id="filter_box" width="97%" height="75" layout="vertical-row" align="center">
+ <div x="0" y="0" width="98%" height="100%" layout="horizontal-row" align="center">
+ <textbox id="filter_name" proportion="7" align="center" />
+ <spacer width="10" />
+ <label text="Updated" align="center" I18N="In addons screen, in the filtering bar, to enable a filter that will show only recently updated items"/>
+ <spinner id="filter_date" proportion="8" align="center" min_value="0" wrap_around="true"/>
+ <label text="Rating >=" align="center" I18N="In addons screen, in the filtering bar, to enable a filter that will show only recently items with good rating"/>
+ <spinner id="filter_rating" proportion="3" align="center" min_value="0" wrap_around="true"/>
+ <icon-button id="filter_search" height="100%" icon="gui/search.png"/>
+ </div>
+ </box>
+
+ <spacer height="15" width="10"/>
- <box proportion="1" width="98%" align="center" layout="vertical-row" padding="6">
- <list id="list_addons" x="0" y="0" width="100%" height="100%"/>
- </box>
-
-</div>
+ <tabs id="category" height="10%" max_height="110" width="90%" align="center">
+ <icon-button id="tab_kart" width="128" height="128" icon="gui/karts.png"
+ I18N="Section in the addons menu" text="Karts"/>
+ <icon-button id="tab_track" width="128" height="128" icon="gui/mode_normal.png"
+ I18N="Section in the addons menu" text="Tracks"/>
+ <icon-button id="tab_arena" width="128" height="128" icon="gui/mode_normal.png"
+ I18N="Section in the addons menu" text="Arenas"/>
+ </tabs>
+ <box proportion="1" width="98%" align="center" layout="vertical-row" padding="6">
+ <list id="list_addons" x="0" y="0" width="100%" height="100%"/>
+ </box>
+
+ </div>
</stkgui>
View
41 data/gui/arenas.stkgui
@@ -1,28 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
-<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+ <div x="2%" y="1%" width="96%" height="99%" layout="vertical-row" >
-<div x="2%" y="1%" width="96%" height="99%" layout="vertical-row" >
+ <header width="80%" I18N="Section in arena tracks selection screen" text="Arenas"
+ align="center" text_align="center" />
- <header width="80%" I18N="Section in arena tracks selection screen" text="Arenas"
- align="center" text_align="center" />
-
- <spacer width="20" height="5" />
-
- <box proportion="1" width="100%" layout="vertical-row" padding="2">
- <ribbon_grid id="tracks" proportion="1" width="100%" square_items="true"
- label_location="bottom" align="center" child_width="160" child_height="120" />
- <spacer width="20" height="13" />
- </box>
+ <spacer width="20" height="5" />
- <tabs width="100%" height="25" id="trackgroups">
- <button id="standard" I18N="track group" text="Standard"/>
- <button id="addons" I18N="track group" text="Add-Ons"/>
- <button id="all" I18N="track group" text="All"/>
- </tabs>
+ <box proportion="1" width="100%" layout="vertical-row" padding="2">
+ <ribbon_grid id="tracks" proportion="1" width="100%" square_items="true"
+ label_location="bottom" align="center" child_width="160" child_height="120" />
+ <spacer width="20" height="13" />
+ </box>
- <spacer width="20" height="3%" />
-
-</div>
+ <tabs width="100%" height="25" id="trackgroups">
+ <button id="standard" I18N="track group" text="Standard"/>
+ <button id="addons" I18N="track group" text="Add-Ons"/>
+ <button id="all" I18N="track group" text="All"/>
+ </tabs>
-</stkgui>
+ <spacer width="20" height="3%" />
+
+ </div>
+</stkgui>
View
18 data/gui/challenges.stkgui
@@ -1,20 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
-
<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
-
+
<div x="5%" y="2%" width="90%" height="96%" layout="vertical-row" >
-
+
<header I18N="Title for challenges screen" text="Challenges : Trophy Room" text_align="center" align="center" width="80%" />
-
+
<spacer height="5" width="100%"/>
-
+
<box width="100%" proportion="5" layout="vertical-row">
-
+
<ribbon_grid id="challenges" proportion="8" width="100%"
label_location="bottom" align="center" child_width="128" child_height="128" />
-
-
+
+
<spacer proportion="1" width="100%"/>
</box>
</div>
-</stkgui>
+</stkgui>
View
21 data/gui/confirm_dialog.stkgui
@@ -1,19 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <div x="2%" y="10%" width="96%" height="80%" layout="vertical-row" >
+ <label id="title" width="100%" text_align="center" word_wrap="true" proportion="1" />
-<div x="2%" y="10%" width="96%" height="80%" layout="vertical-row" >
+ <spacer height="25" width="10" />
- <label id="title" width="100%" text_align="center" word_wrap="true" proportion="1" />
+ <button id="confirm" I18N="In a 'are you sure?' dialog" text="Yes" align="center"/>
- <spacer height="25" width="10" />
+ <spacer height="15" width="10" />
- <button id="confirm" I18N="In a 'are you sure?' dialog" text="Yes" align="center"/>
-
- <spacer height="15" width="10" />
-
- <button id="cancel" I18N="In a 'are you sure?' dialog" text="Cancel" align="center"/>
-
- <spacer height="10" width="10" />
-
-</div>
+ <button id="cancel" I18N="In a 'are you sure?' dialog" text="Cancel" align="center"/>
+ <spacer height="10" width="10" />
+ </div>
</stkgui>
View
25 data/gui/confirm_resolution_dialog.stkgui
@@ -1,21 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <div x="2%" y="10%" width="96%" height="80%" layout="vertical-row" >
+ <label id="title" width="100%" text_align="center" word_wrap="true" proportion="1" />
-<div x="2%" y="10%" width="96%" height="80%" layout="vertical-row" >
+ <spacer height="25" width="10" />
- <label id="title" width="100%" text_align="center" word_wrap="true" proportion="1" />
+ <button id="accept" I18N="In the 'confirm resolution' dialog, that's shown when switching resoluton"
+ text="Keep this resolution" align="center"/>
- <spacer height="25" width="10" />
+ <spacer height="15" width="10" />
- <button id="accept" I18N="In the 'confirm resolution' dialog, that's shown when switching resoluton"
- text="Keep this resolution" align="center"/>
-
- <spacer height="15" width="10" />
-
- <button id="cancel" I18N="In the 'confirm resolution' dialog, that's shown when switching resoluton"
- text="Cancel" align="center"/>
-
- <spacer height="10" width="10" />
-
-</div>
+ <button id="cancel" I18N="In the 'confirm resolution' dialog, that's shown when switching resoluton"
+ text="Cancel" align="center"/>
+ <spacer height="10" width="10" />
+ </div>
</stkgui>
View
12 data/gui/credits.stkgui
@@ -1,18 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
-
<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
<div x="2%" y="2%" width="98%" height="96%" layout="vertical-row" >
-
+
<icon id="logo" align="center" proportion="4" width="100%" icon="gui/logo_slim.png"/>
-
+
<header I18N="Title in credits screen" text="Credits" width="100%" />
-
+
<box id="animated_area" width="100%" proportion="10" padding="0">
-
</box>
-
</div>
-
-</stkgui>
+</stkgui>
View
312 data/gui/custom_video_settings.stkgui
@@ -1,190 +1,188 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <div x="2%" y="1%" width="96%" height="98%" layout="vertical-row" >
+ <header id="title" width="100%" height="fit" text_align="center" word_wrap="true" text="Graphics Settings" />
-<div x="2%" y="1%" width="96%" height="98%" layout="vertical-row" >
+ <spacer height="20" width="10" />
- <header id="title" width="100%" height="fit" text_align="center" word_wrap="true" text="Graphics Settings" />
-
- <spacer height="20" width="10" />
-
- <!--
- <div layout="horizontal-row" width="100%" height="fit">
- <checkbox id="pixelshaders"/>
- <spacer width="10" height="10"/>
- <label text="Pixel Shaders" I18N="Video settings"/>
- </div>
-
- <spacer height="4" width="10" />
- -->
-
- <div layout="horizontal-row" width="100%" proportion="1">
- <checkbox id="dynamiclight"/>
- <spacer width="10" height="10"/>
- <label text="Advanced pipeline (lights, etc.)" I18N="Video settings"/>
- </div>
-
- <spacer height="4" width="10" />
-
- <div layout="horizontal-row" width="100%" proportion="1">
- <spacer width="70" height="10" />
- <label text="Shadows" I18N="Video settings"/>
- <spacer width="10" height="10"/>
- <gauge id="shadows" min_value="0" max_value="2" width="50%"/>
- </div>
-
- <spacer height="4" width="10" />
-
- <div layout="horizontal-row" width="100%" proportion="1">
- <spacer width="70" height="10"/>
-
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="bloom"/>
+ <!--
+ <div layout="horizontal-row" width="100%" height="fit">
+ <checkbox id="pixelshaders"/>
<spacer width="10" height="10"/>
- <label text="Bloom" I18N="Video settings"/>
+ <label text="Pixel Shaders" I18N="Video settings"/>
</div>
-
+
<spacer height="4" width="10" />
-
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="lightshaft"/>
- <spacer width="10" height="10"/>
- <label text="Light shaft (God rays)" I18N="Video settings"/>
- </div>
- </div>
-
- <spacer height="4" width="10" />
-
- <div layout="horizontal-row" width="100%" proportion="1">
- <spacer width="70" height="10"/>
-
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="ssao"/>
+ -->
+
+ <div layout="horizontal-row" width="100%" proportion="1">
+ <checkbox id="dynamiclight"/>
<spacer width="10" height="10"/>
- <label text="Ambient Occlusion" I18N="Video settings"/>
+ <label text="Advanced pipeline (lights, etc.)" I18N="Video settings"/>
</div>
-
+
<spacer height="4" width="10" />
-
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="global_illumination"/>
+
+ <div layout="horizontal-row" width="100%" proportion="1">
+ <spacer width="70" height="10" />
+ <label text="Shadows" I18N="Video settings"/>
<spacer width="10" height="10"/>
- <label text="Global illumination" I18N="Video settings"/>
+ <gauge id="shadows" min_value="0" max_value="2" width="50%"/>
</div>
- </div>
-
- <spacer height="20" width="10" />
-
- <div layout="horizontal-row" width="100%" proportion="1">
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="motionblur"/>
- <spacer width="10" height="10"/>
- <label text="Motion blur" I18N="Video settings"/>
+
+ <spacer height="4" width="10" />
+
+ <div layout="horizontal-row" width="100%" proportion="1">
+ <spacer width="70" height="10"/>
+
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="bloom"/>
+ <spacer width="10" height="10"/>
+ <label text="Bloom" I18N="Video settings"/>
+ </div>
+
+ <spacer height="4" width="10" />
+
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="lightshaft"/>
+ <spacer width="10" height="10"/>
+ <label text="Light shaft (God rays)" I18N="Video settings"/>
+ </div>
</div>
-
+
<spacer height="4" width="10" />
-
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="texture_compression"/>
- <spacer width="10" height="10"/>
- <label text="Texture compression" I18N="Video settings"/>
+
+ <div layout="horizontal-row" width="100%" proportion="1">
+ <spacer width="70" height="10"/>
+
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="ssao"/>
+ <spacer width="10" height="10"/>
+ <label text="Ambient Occlusion" I18N="Video settings"/>
+ </div>
+
+ <spacer height="4" width="10" />
+
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="global_illumination"/>
+ <spacer width="10" height="10"/>
+ <label text="Global illumination" I18N="Video settings"/>
+ </div>
</div>
- </div>
-
- <spacer height="4" width="10" />
- <div layout="horizontal-row" width="100%" proportion="1">
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="glow"/>
- <spacer width="10" height="10"/>
- <label text="Glow (outlines)" I18N="Video settings"/>
+ <spacer height="20" width="10" />
+
+ <div layout="horizontal-row" width="100%" proportion="1">
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="motionblur"/>
+ <spacer width="10" height="10"/>
+ <label text="Motion blur" I18N="Video settings"/>
+ </div>
+
+ <spacer height="4" width="10" />
+
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="texture_compression"/>
+ <spacer width="10" height="10"/>
+ <label text="Texture compression" I18N="Video settings"/>
+ </div>
</div>
-
+
<spacer height="4" width="10" />
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="mlaa"/>
- <spacer width="10" height="10"/>
- <label text="Anti-aliasing" I18N="Video settings"/>
- </div>
- </div>
-
- <spacer height="4" width="10" />
-
- <div layout="horizontal-row" width="100%" proportion="1">
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="weather_gfx"/>
- <spacer width="10" height="10"/>
- <label text="Weather Effects" I18N="Video settings"/>
+ <div layout="horizontal-row" width="100%" proportion="1">
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="glow"/>
+ <spacer width="10" height="10"/>
+ <label text="Glow (outlines)" I18N="Video settings"/>
+ </div>
+
+ <spacer height="4" width="10" />
+
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="mlaa"/>
+ <spacer width="10" height="10"/>
+ <label text="Anti-aliasing" I18N="Video settings"/>
+ </div>
</div>
-
+
<spacer height="4" width="10" />
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="anim_gfx"/>
- <spacer width="10" height="10"/>
- <label text="Animated Scenery" I18N="Video settings"/>
+ <div layout="horizontal-row" width="100%" proportion="1">
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="weather_gfx"/>
+ <spacer width="10" height="10"/>
+ <label text="Weather Effects" I18N="Video settings"/>
+ </div>
+
+ <spacer height="4" width="10" />
+
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="anim_gfx"/>
+ <spacer width="10" height="10"/>
+ <label text="Animated Scenery" I18N="Video settings"/>
+ </div>
</div>
- </div>
-
- <spacer height="4" width="10" />
-
- <div layout="horizontal-row" width="100%" proportion="1">
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="ubo"/>
- <spacer width="10" height="10"/>
- <label text="Uniform buffer objects" I18N="Video settings"/>
+
+ <spacer height="4" width="10" />
+
+ <div layout="horizontal-row" width="100%" proportion="1">
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="ubo"/>
+ <spacer width="10" height="10"/>
+ <label text="Uniform buffer objects" I18N="Video settings"/>
+ </div>
+
+ <spacer height="4" width="10" />
+
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="dof"/>
+ <spacer width="10" height="10"/>
+ <label text="Depth of field" I18N="Video settings"/>
+ </div>
</div>
-
+
<spacer height="4" width="10" />
-
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="dof"/>
- <spacer width="10" height="10"/>
- <label text="Depth of field" I18N="Video settings"/>
+
+ <div layout="horizontal-row" width="100%" proportion="1">
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="hd-textures"/>
+ <spacer width="10" height="10"/>
+ <label text="Use high definition textures" I18N="Video settings"/>
+ </div>
+
+ <spacer height="4" width="10" />
+ <!--
+ <div layout="horizontal-row" proportion="1" height="fit">
+ <checkbox id="anim_gfx"/>
+ <spacer width="10" height="10"/>
+ <label text="Animated Scenery" I18N="Video settings"/>
+ </div>
+ -->
</div>
- </div>
-
- <spacer height="4" width="10" />
-
- <div layout="horizontal-row" width="100%" proportion="1">
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="hd-textures"/>
+
+ <spacer height="20" width="10" />
+
+ <div layout="horizontal-row" width="100%" proportion="1">
+ <label text="Animated Characters" I18N="Video settings" width="40%"/>
<spacer width="10" height="10"/>
- <label text="Use high definition textures" I18N="Video settings"/>
+ <gauge id="steering_animations" min_value="0" max_value="2" width="50%" />
</div>
-
+
<spacer height="4" width="10" />
- <!--
- <div layout="horizontal-row" proportion="1" height="fit">
- <checkbox id="anim_gfx"/>
+
+ <div layout="horizontal-row" width="100%" proportion="1">
+ <label text="Texture filtering" I18N="Video settings" width="40%"/>
<spacer width="10" height="10"/>
- <label text="Animated Scenery" I18N="Video settings"/>
+ <gauge id="filtering" min_value="0" max_value="5" width="50%" />
</div>
- -->
- </div>
-
- <spacer height="20" width="10" />
-
- <div layout="horizontal-row" width="100%" proportion="1">
- <label text="Animated Characters" I18N="Video settings" width="40%"/>
- <spacer width="10" height="10"/>
- <gauge id="steering_animations" min_value="0" max_value="2" width="50%" />
- </div>
-
- <spacer height="4" width="10" />
-
- <div layout="horizontal-row" width="100%" proportion="1">
- <label text="Texture filtering" I18N="Video settings" width="40%"/>
- <spacer width="10" height="10"/>
- <gauge id="filtering" min_value="0" max_value="5" width="50%" />
- </div>
-
- <spacer height="10" width="10" />
- <label text="* Restart STK to apply new settings" width="100%" text_align="center" I18N="Video settings"/>
-
- <spacer proportion="1"/>
-
- <button id="close" text="Apply" align="center"/>
-</div>
+ <spacer height="10" width="10" />
+
+ <label text="* Restart STK to apply new settings" width="100%" text_align="center" I18N="Video settings"/>
+ <spacer proportion="1"/>
+
+ <button id="close" text="Apply" align="center"/>
+ </div>
</stkgui>
View
1  data/gui/debug_slider.stkgui
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
<div x="2%" y="10%" width="96%" height="80%" layout="vertical-row" >
<label id="title" width="100%"/>
View
39 data/gui/easter_egg.stkgui
@@ -1,28 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
-<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+ <div x="2%" y="1%" width="96%" height="99%" layout="vertical-row" >
-<div x="2%" y="1%" width="96%" height="99%" layout="vertical-row" >
+ <header width="80%" I18N="Section in easter egg tracks selection screen" text="All Tracks"
+ align="center" text_align="center" />
- <header width="80%" I18N="Section in easter egg tracks selection screen" text="All Tracks"
- align="center" text_align="center" />
-
- <spacer width="20" height="5" />
-
- <box proportion="1" width="100%" layout="vertical-row" padding="2">
- <ribbon_grid id="tracks" proportion="1" width="100%" square_items="true"
- label_location="bottom" align="center" child_width="160" child_height="120" />
- <spacer width="20" height="13" />
- </box>
+ <spacer width="20" height="5" />
- <tabs width="100%" height="25" id="trackgroups">
- <button id="standard" I18N="track group" text="Standard"/>
- <button id="addons" I18N="track group" text="Add-Ons"/>
- <button id="all" I18N="track group" text="All"/>
- </tabs>
+ <box proportion="1" width="100%" layout="vertical-row" padding="2">
+ <ribbon_grid id="tracks" proportion="1" width="100%" square_items="true"
+ label_location="bottom" align="center" child_width="160" child_height="120" />
+ <spacer width="20" height="13" />
+ </box>
- <spacer width="20" height="3%" />
-
-</div>
+ <tabs width="100%" height="25" id="trackgroups">
+ <button id="standard" I18N="track group" text="Standard"/>
+ <button id="addons" I18N="track group" text="Add-Ons"/>
+ <button id="all" I18N="track group" text="All"/>
+ </tabs>
+ <spacer width="20" height="3%" />
+
+ </div>
</stkgui>
View
77 data/gui/edit_track.stkgui
@@ -1,54 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <div x="2%" y="1%" width="96%" height="98%" layout="vertical-row" padding="10">
-<div x="2%" y="1%" width="96%" height="98%" layout="vertical-row" padding="10">
+ <header id="selected_track" width="80%" height="30"
+ I18N="No neeed to translate this, it will be overwritten by the track name"
+ text="" align="center" text_align="center" />
- <header id="selected_track" width="80%" height="30"
- I18N="No neeed to translate this, it will be overwritten by the track name"
- text="" align="center" text_align="center" />
+ <spacer height="20" />
- <spacer height="20" />
+ <!-- Track selection -->
+ <box width="100%" height="60%" layout="vertical-row">
+ <ribbon_grid id="tracks" proportion="1" width="100%" height="100%" square_items="true"
+ label_location="each" align="center" child_width="240" child_height="160" />
+ </box>
- <!-- Track selection -->
- <box width="100%" height="60%" layout="vertical-row">
- <ribbon_grid id="tracks" proportion="1" width="100%" height="100%" square_items="true"
- label_location="each" align="center" child_width="240" child_height="160" />
- </box>
+ <!-- Populated dynamically at runtime -->
+ <tabs width="100%" height="30" id="trackgroups"> </tabs>
- <!-- Populated dynamically at runtime -->
- <tabs width="100%" height="30" id="trackgroups"> </tabs>
+ <spacer height="50" />
- <spacer height="50" />
+ <!-- Laps and reverse -->
+ <div width="100%" height="100" layout="horizontal-row" align="center">
- <!-- Laps and reverse -->
- <div width="100%" height="100" layout="horizontal-row" align="center">
+ <spacer proportion="1" />
- <spacer proportion="1" />
+ <label id="laps_label" text_align="left"
+ I18N="In the edit track screen" text="Number of laps:" />
+ <spacer width="20" />
+ <spinner id="laps" proportion="1" width="100" min_value="1"
+ max_value="99" wrap_around="false" />
- <label id="laps_label" text_align="left"
- I18N="In the edit track screen" text="Number of laps:" />
- <spacer width="20" />
- <spinner id="laps" proportion="1" width="100" min_value="1"
- max_value="99" wrap_around="false" />
+ <spacer proportion="1" />
- <spacer proportion="1" />
+ <label id="reverse_label" text_align="left"
+ I18N="In the edit track screen" text="Reverse:" />
+ <spacer width="20" />
+ <checkbox id="reverse" />
- <label id="reverse_label" text_align="left"
- I18N="In the edit track screen" text="Reverse:" />
- <spacer width="20" />
- <checkbox id="reverse" />
+ <spacer proportion="1" />
+ </div>
- <spacer proportion="1" />
- </div>
+ <!-- Dialog buttons -->
+ <div width="100%" height="60" layout="horizontal-row">
+ <spacer proportion="2" />
+ <button id="ok" text="OK" proportion="1" />
+ <spacer proportion="1" />
+ <button id="cancel" text="Cancel" proportion="1" />
+ <spacer proportion="2" />
+ </div>
- <!-- Dialog buttons -->
- <div width="100%" height="60" layout="horizontal-row">
- <spacer proportion="2" />
- <button id="ok" text="OK" proportion="1" />
- <spacer proportion="1" />
- <button id="cancel" text="Cancel" proportion="1" />
- <spacer proportion="2" />
</div>
-
-</div>
-
-</stkgui>
+</stkgui>
View
25 data/gui/enter_gp_name_dialog.stkgui
@@ -1,21 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <div x="2%" y="10%" width="96%" height="80%" layout="vertical-row" >
-<div x="2%" y="10%" width="96%" height="80%" layout="vertical-row" >
+ <label id="title" width="100%" text_align="center" word_wrap="true"
+ I18N="In the 'add new grand prix' dialog"
+ text="Please enter the name of the grand prix" proportion="1" />
- <label id="title" width="100%" text_align="center" word_wrap="true"
- I18N="In the 'add new grand prix' dialog"
- text="Please enter the name of the grand prix" proportion="1" />
+ <spacer height="25" width="10" />
- <spacer height="25" width="10" />
+ <textbox id="textfield" width="75%" I18N="In the 'add new grand prix' dialog" align="center"/>
- <textbox id="textfield" width="75%" I18N="In the 'add new grand prix' dialog" align="center"/>
+ <spacer height="20" width="20" />
- <spacer height="20" width="20" />
+ <button id="cancel" I18N="When configuring input" text="Press ESC to cancel" align="center"/>
- <button id="cancel" I18N="When configuring input" text="Press ESC to cancel" align="center"/>
+ <spacer height="15" width="20" />
- <spacer height="15" width="20" />
-
-</div>
-
-</stkgui>
+ </div>
+</stkgui>
View
27 data/gui/enter_player_name_dialog.stkgui
@@ -1,22 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <div x="2%" y="10%" width="96%" height="80%" layout="vertical-row" >
-<div x="2%" y="10%" width="96%" height="80%" layout="vertical-row" >
+ <label id="title" width="100%" text_align="center" word_wrap="true"
+ I18N="In the 'add new player' dialog" text="Enter the new player's name" proportion="1" />
- <label id="title" width="100%" text_align="center" word_wrap="true"
- I18N="In the 'add new player' dialog" text="Enter the new player's name" proportion="1" />
+ <spacer height="25" width="10" />
- <spacer height="25" width="10" />
-
- <textbox id="textfield" width="75%" I18N="In the 'add new player' dialog" align="center"/>
+ <textbox id="textfield" width="75%" I18N="In the 'add new player' dialog" align="center"/>
- <spacer height="20" width="20" />
-
- <buttonbar proportion="1" id="options" width="100%" height="100%">
- <button id="ok" I18N="When configuring input" text="OK" align="center"/>
- <button id="cancel" I18N="When configuring input" text="Cancel" align="center"/>
- </buttonbar>
- <spacer height="15" width="20" />
+ <spacer height="20" width="20" />
-</div>
+ <buttonbar proportion="1" id="options" width="100%" height="100%">
+ <button id="ok" I18N="When configuring input" text="OK" align="center"/>
+ <button id="cancel" I18N="When configuring input" text="Cancel" align="center"/>
+ </buttonbar>
+ <spacer height="15" width="20" />
+ </div>
</stkgui>
View
8 data/gui/feature_unlocked.stkgui
@@ -1,11 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
-
<div x="2%" y="2%" width="96%" height="96%" layout="vertical-row">
-
<spacer width="10" proportion="1"/>
-
<button id="continue" x="20" width="250" align="left" text="Continue"/>
-
</div>
-
-</stkgui>
+</stkgui>
View
66 data/gui/gpedit.stkgui
@@ -1,35 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
-
-<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png" />
-
-<div x="2%" y="1%" width="96%" height="98%" layout="vertical-row">
-
- <header id="title" width="80%" I18N="Title in edit grand prix screen"
- text="Edit Grand Prix" align="center" text_align="center" />
-
- <spacer width="100%" height="2%" />
-
- <box proportion="5" width="98%" align="center" layout="vertical-row" padding="6">
- <list id="tracks" x="0" y="0" width="100%" height="100%" keep_selection="true" />
- </box>
-
- <spacer width="100%" height="2%" />
-
- <buttonbar proportion="1" id="menu" height="135" width="100%" align="center">
- <icon-button id="up" width="128" height="128" icon="gui/up.png"
- I18N="Menu item" text="Move up" />
- <icon-button id="down" width="128" height="128" icon="gui/down.png"
- I18N="Menu item" text="Move down" />
- <icon-button id="add" width="128" height="128" icon="gui/gp_add_track.png"
- I18N="Menu item" text="Add" />
- <icon-button id="edit" width="128" height="128" icon="gui/gp_edit_track.png"
- I18N="Menu item" text="Edit" />
- <icon-button id="remove" width="128" height="128" icon="gui/gp_remove_track.png"
- I18N="Menu item" text="Remove" />
- <icon-button id="save" width="128" height="128" icon="gui/gp_save.png"
- I18N="Menu item" text="Save" />
- </buttonbar>
-
-</div>
-
-</stkgui>
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png" />
+
+ <div x="2%" y="1%" width="96%" height="98%" layout="vertical-row">
+
+ <header id="title" width="80%" I18N="Title in edit grand prix screen"
+ text="Edit Grand Prix" align="center" text_align="center" />
+
+ <spacer width="100%" height="2%" />
+
+ <box proportion="5" width="98%" align="center" layout="vertical-row" padding="6">
+ <list id="tracks" x="0" y="0" width="100%" height="100%" keep_selection="true" />
+ </box>
+
+ <spacer width="100%" height="2%" />
+
+ <buttonbar proportion="1" id="menu" height="135" width="100%" align="center">
+ <icon-button id="up" width="128" height="128" icon="gui/up.png"
+ I18N="Menu item" text="Move up" />
+ <icon-button id="down" width="128" height="128" icon="gui/down.png"
+ I18N="Menu item" text="Move down" />
+ <icon-button id="add" width="128" height="128" icon="gui/gp_add_track.png"
+ I18N="Menu item" text="Add" />
+ <icon-button id="edit" width="128" height="128" icon="gui/gp_edit_track.png"
+ I18N="Menu item" text="Edit" />
+ <icon-button id="remove" width="128" height="128" icon="gui/gp_remove_track.png"
+ I18N="Menu item" text="Remove" />
+ <icon-button id="save" width="128" height="128" icon="gui/gp_save.png"
+ I18N="Menu item" text="Save" />
+ </buttonbar>
+ </div>
+</stkgui>
View
87 data/gui/gpeditor.stkgui
@@ -1,45 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
-
-<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
-
-<div x="2%" y="1%" width="96%" height="98%" layout="vertical-row" >
-
- <header width="80%" I18N="Title in grand prix editor screen" text="Grand Prix editor"
- align="center" text_align="center" />
-
- <spacer height="20" />
-
- <box proportion="4" width="100%" layout="vertical-row">
- <ribbon_grid id="gplist" proportion="1" width="100%" square_items="true"
- label_location="each" align="left" max_rows="2" child_width="160"
- child_height="120" keep_selection="true" />
- </box>
-
- <spacer height="10" />
-
- <box proportion="2" width="100%" layout="vertical-row">
- <label id="gpname" text_align="center" width="100%"
- I18N="In the grand prix editor screen" text="" />
- <ribbon_grid id="tracks" proportion="1" width="100%" square_items="true"
- label_location="each" align="left" max_rows="1"
- child_width="160" child_height="120" />
- </box>
-
- <spacer height="20" />
-
- <buttonbar proportion="1" id="menu" height="135" width="100%" align="center">
- <icon-button id="new" width="128" height="128" icon="gui/gp_new.png"
- I18N="Menu item" text="New" />
- <icon-button id="copy" width="128" height="128" icon="gui/gp_copy.png"
- I18N="Menu item" text="Copy" />
- <icon-button id="edit" width="128" height="128" icon="gui/gp_edit.png"
- I18N="Menu item" text="Edit" />
- <icon-button id="remove" width="128" height="128" icon="gui/gp_remove.png"
- I18N="Menu item" text="Remove" />
- <icon-button id="rename" width="128" height="128" icon="gui/gp_rename.png"
- I18N="Menu item" text="Rename" />
- </buttonbar>
-
-</div>
-
-</stkgui>
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+
+ <div x="2%" y="1%" width="96%" height="98%" layout="vertical-row" >
+
+ <header width="80%" I18N="Title in grand prix editor screen" text="Grand Prix editor"
+ align="center" text_align="center" />
+
+ <spacer height="20" />
+
+ <box proportion="4" width="100%" layout="vertical-row">
+ <ribbon_grid id="gplist" proportion="1" width="100%" square_items="true"
+ label_location="each" align="left" max_rows="2" child_width="160"
+ child_height="120" keep_selection="true" />
+ </box>
+
+ <spacer height="10" />
+
+ <box proportion="2" width="100%" layout="vertical-row">
+ <label id="gpname" text_align="center" width="100%"
+ I18N="In the grand prix editor screen" text="" />
+ <ribbon_grid id="tracks" proportion="1" width="100%" square_items="true"
+ label_location="each" align="left" max_rows="1"
+ child_width="160" child_height="120" />
+ </box>
+
+ <spacer height="20" />
+
+ <buttonbar proportion="1" id="menu" height="135" width="100%" align="center">
+ <icon-button id="new" width="128" height="128" icon="gui/gp_new.png"
+ I18N="Menu item" text="New" />
+ <icon-button id="copy" width="128" height="128" icon="gui/gp_copy.png"
+ I18N="Menu item" text="Copy" />
+ <icon-button id="edit" width="128" height="128" icon="gui/gp_edit.png"
+ I18N="Menu item" text="Edit" />
+ <icon-button id="remove" width="128" height="128" icon="gui/gp_remove.png"
+ I18N="Menu item" text="Remove" />
+ <icon-button id="rename" width="128" height="128" icon="gui/gp_rename.png"
+ I18N="Menu item" text="Rename" />
+ </buttonbar>
+
+ </div>
+</stkgui>
View
3  data/gui/grand_prix_lose.stkgui
@@ -1,6 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
<div x="2%" y="2%" width="96%" height="96%" layout="vertical-row">
<spacer width="10" proportion="1"/>
<button id="continue" x="20" width="250" align="left" text="Continue"/>
</div>
-</stkgui>
+</stkgui>
View
3  data/gui/grand_prix_win.stkgui
@@ -1,6 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
<div x="2%" y="2%" width="96%" height="96%" layout="vertical-row">
<spacer width="10" proportion="1"/>
<button id="continue" x="20" width="250" align="left" text="Continue"/>
</div>
-</stkgui>
+</stkgui>
View
BIN  data/gui/help1.stkgui
Binary file not shown
View
BIN  data/gui/help2.stkgui
Binary file not shown
View
BIN  data/gui/help3.stkgui
Binary file not shown
View
BIN  data/gui/help4.stkgui
Binary file not shown
View
47 data/gui/karts.stkgui
@@ -1,29 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <div x="1%" y="1%" width="98%" height="99%" layout="vertical-row" >
-<div x="1%" y="1%" width="98%" height="99%" layout="vertical-row" >
+ <header width="80%"
+ I18N="In the kart selection (player setup) screen"
+ text="Choose a Kart"
+ align="center" text_align="center" />
- <header width="80%"
- I18N="In the kart selection (player setup) screen"
- text="Choose a Kart"
- align="center" text_align="center" />
-
- <placeholder id="playerskarts" width="100%" align="center" proportion="4">
- <!-- Contents is added programatically -->
- </placeholder>
-
- <spacer height="15" width="25"/>
-
- <box proportion="2" width="100%" layout="vertical-row" padding="2">
- <ribbon_grid id="karts" proportion="1" square_items="true" width="100%" align="center"
- child_width="90" child_height="90" max_rows="3"/>
- </box>
-
- <!-- Groups will be added dynamically at runtime -->
- <tabs width="98%" x="1%" height="25" id="kartgroups">
- </tabs>
- <spacer width="100%" height="2%"/>
-</div>
+ <placeholder id="playerskarts" width="100%" align="center" proportion="4">
+ <!-- Contents is added programatically -->
+ </placeholder>
-<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+ <spacer height="15" width="25"/>
-</stkgui>
+ <box proportion="2" width="100%" layout="vertical-row" padding="2">
+ <ribbon_grid id="karts" proportion="1" square_items="true" width="100%" align="center"
+ child_width="90" child_height="90" max_rows="3"/>
+ </box>
+
+ <!-- Groups will be added dynamically at runtime -->
+ <tabs width="98%" x="1%" height="25" id="kartgroups">
+ </tabs>
+ <spacer width="100%" height="2%"/>
+ </div>
+
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+</stkgui>
View
47 data/gui/karts_online.stkgui
@@ -1,29 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <div x="1%" y="1%" width="98%" height="99%" layout="vertical-row" >
-<div x="1%" y="1%" width="98%" height="99%" layout="vertical-row" >
+ <header width="80%"
+ I18N="In the kart selection (player setup) screen"
+ text="Choose a Kart"
+ align="center" text_align="center" />
- <header width="80%"
- I18N="In the kart selection (player setup) screen"
- text="Choose a Kart"
- align="center" text_align="center" />
-
- <placeholder id="playerskarts" width="100%" align="center" proportion="4">
- <!-- Contents is added programatically -->
- </placeholder>
-
- <spacer height="15" width="25"/>
-
- <box proportion="2" width="100%" layout="vertical-row" padding="2">
- <ribbon_grid id="karts" proportion="1" square_items="true" width="100%" align="center"
- child_width="90" child_height="90" max_rows="3"/>
- </box>
-
- <!-- Groups will be added dynamically at runtime -->
- <tabs width="98%" x="1%" height="25" id="kartgroups">
- </tabs>
- <spacer width="100%" height="2%"/>
-</div>
+ <placeholder id="playerskarts" width="100%" align="center" proportion="4">
+ <!-- Contents is added programatically -->
+ </placeholder>
-<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+ <spacer height="15" width="25"/>
-</stkgui>
+ <box proportion="2" width="100%" layout="vertical-row" padding="2">
+ <ribbon_grid id="karts" proportion="1" square_items="true" width="100%" align="center"
+ child_width="90" child_height="90" max_rows="3"/>
+ </box>
+
+ <!-- Groups will be added dynamically at runtime -->
+ <tabs width="98%" x="1%" height="25" id="kartgroups">
+ </tabs>
+ <spacer width="100%" height="2%"/>
+ </div>
+
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+</stkgui>
View
6 data/gui/main.stkgui
@@ -1,7 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
-
<div x="0" y="0" width="100%" height="100%" layout="vertical-row" >
-
<icon id="logo" align="center" proportion="5" width="100%" icon="gui/logo.png"/>
<buttonbar id="menu_toprow" proportion="3" width="90%" align="center">
@@ -49,9 +48,6 @@
<icon-button id="quit" width="64" height="64" icon="gui/main_quit.png" extend_label="50"
I18N="Main menu button" text="Quit" label_location="hover"/>
</buttonbar>
-
</bottombar>
-
</div>
-
</stkgui>
View
29 data/gui/online/change_password.stkgui
@@ -1,47 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
-
<div x="2%" y="5%" width="96%" height="90%" layout="vertical-row" >
-
+
<header id="title" width="96%" height="fit" text_align="center" word_wrap="true"
I18N="In the change password dialog" text="Password Change"/>
-
+
<spacer height="40" width="50">
-
+
<div width="80%" align="center" layout="vertical-row" height="fit" >
<div width="100%" height="fit" layout="horizontal-row" >
<label proportion="1" height="100%" text_align="left" I18N="In the change password dialog" text="Current Password"/>
<textbox proportion="2" height="fit" id="current_password" I18N="In the change password dialog"/>
</div>
-
+
<spacer height="20" width="20">
-
+
<div width="100%" height="fit" layout="horizontal-row" >
<label proportion="1" height="100%" text_align="left" I18N="In the change password dialog" text="New Password"/>
<textbox proportion="2" height="fit" id="new_password1" I18N="In the change password dialog"/>
</div>
-
+
<spacer height="20" width="20">
-
+
<div width="100%" height="fit" layout="horizontal-row" >
<label proportion="1" height="100%" text_align="left" I18N="In the change password dialog" text="Confirm"/>
<textbox proportion="2" height="fit" id="new_password2" I18N="In the change password dialog"/>
</div>
</div>
-
+
<spacer height="20" width="50">
-
+
<label id="info" proportion="1" width="90%" align="center" text_align="center" word_wrap="true" text=""/>
-
- <spacer height="20" width="50">
-
+
+ <spacer height="20" width="50">
+
<buttonbar id="options" width="90%" height="16%" align="center">
<icon-button id="submit" width="64" height="64" icon="gui/green_check.png"
I18N="In the change password dialog" text="Submit" label_location="bottom"/>
<icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
I18N="In the change password dialog" text="Close" label_location="bottom"/>
</buttonbar>
-
-
</div>
-
</stkgui>
View
53 data/gui/online/create_server.stkgui
@@ -1,36 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
<div x="0" y="0" width="100%" height="100%" layout="vertical-row" >
-
+
<header text_align="center" width="80%" align="center" I18N="In the create server screen" text="Server Creation"/>
<spacer height="15" width="10"/>
<box proportion="4" width="90%" layout="vertical-row" align="center">
- <div width="90%" align="center" layout="vertical-row" y="2%" height="96%">
- <div width="100%" align="center" layout="vertical-row" height="fit" >
- <div width="100%" height="fit" layout="horizontal-row" >
- <label proportion="1" text_align="left" I18N="In the create server screen" text="Name of the server"/>
- <textbox proportion="1" id="name" I18N="In the create server screen"/>
- </div>
-
- <spacer height="20" width="20">
-
- <div width="100%" height="fit" layout="horizontal-row" >
- <label proportion="1" text_align="left" I18N="In the create server screen" text="Max. number of players"/>
- <gauge id="max_players" proportion="1" min_value="2" max_value="12"/>
- </div>
- </div>
-
- <label id="info" proportion="1" width="100%" align="center" text_align="center" word_wrap="true" text=""/>
-
- <buttonbar id="options" x="0" y="0" width="25%" height="12%" align="center">
- <icon-button id="create" width="64" height="64" icon="gui/green_check.png"
- I18N="Main menu button" text="Create" label_location="bottom"/>
- <icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
- I18N="Main menu button" text="Cancel" label_location="bottom"/>
- </buttonbar>
- </div>
+ <div width="90%" align="center" layout="vertical-row" y="2%" height="96%">
+ <div width="100%" align="center" layout="vertical-row" height="fit" >
+ <div width="100%" height="fit" layout="horizontal-row" >
+ <label proportion="1" text_align="left" I18N="In the create server screen" text="Name of the server"/>
+ <textbox proportion="1" id="name" I18N="In the create server screen"/>
+ </div>
+
+ <spacer height="20" width="20">
+
+ <div width="100%" height="fit" layout="horizontal-row" >
+ <label proportion="1" text_align="left" I18N="In the create server screen" text="Max. number of players"/>
+ <gauge id="max_players" proportion="1" min_value="2" max_value="12"/>
+ </div>
+ </div>
+
+ <label id="info" proportion="1" width="100%" align="center" text_align="center" word_wrap="true" text=""/>
+
+ <buttonbar id="options" x="0" y="0" width="25%" height="12%" align="center">
+ <icon-button id="create" width="64" height="64" icon="gui/green_check.png"
+ I18N="Main menu button" text="Create" label_location="bottom"/>
+ <icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
+ I18N="Main menu button" text="Cancel" label_location="bottom"/>
+ </buttonbar>
+ </div>
</box>
<spacer height="15" width="10"/>
-
-
</div>
</stkgui>
View
72 data/gui/online/guest_login.stkgui
@@ -1,44 +1,42 @@
-<?xml version="1.0" encoding="UTF-16"?>
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
-<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
-
- <header align="center" width="80%" text="Login" text_align="center"/>
- <spacer height="15" width="10"/>
+ <header align="center" width="80%" text="Login" text_align="center"/>
+ <spacer height="15" width="10"/>
- <tabs id="login_tabs" height="10%" max_height="110" x="2%" width="98%" align="center">
- <icon-button id="tab_login" width="128" height="128" icon="gui/track_random.png"
- I18N="Tab in login menu" text="Sign In"/>
- <icon-button id="tab_guest_login" width="128" height="128" icon="gui/mode_ftl.png"
- I18N="Tab in login menu" text="Sign In As Guest"/>
- <icon-button id="tab_register" width="128" height="128" icon="gui/mode_ftl.png"
- I18N="Tab in login menu" text="Register"/>
- </tabs>
+ <tabs id="login_tabs" height="10%" max_height="110" x="2%" width="98%" align="center">
+ <icon-button id="tab_login" width="128" height="128" icon="gui/track_random.png"
+ I18N="Tab in login menu" text="Sign In"/>
+ <icon-button id="tab_guest_login" width="128" height="128" icon="gui/mode_ftl.png"
+ I18N="Tab in login menu" text="Sign In As Guest"/>
+ <icon-button id="tab_register" width="128" height="128" icon="gui/mode_ftl.png"
+ I18N="Tab in login menu" text="Register"/>
+ </tabs>
- <box proportion="1" width="100%" layout="vertical-row">
- <header id="title" width="96%" height="fit" text_align="center" word_wrap="true"
- I18N="In the login dialog" text="Guest Sign in"/>
- <spacer height="15" width="10"/>
- <box proportion="4" width="90%" layout="vertical-row" align="center">
- <div x="2%" y="2%" width="96%" height="80%" layout="vertical-row" id="outer_box" >
- <label I18N="In the online multiplayer screen" proportion="4" word_wrap="true" text=
- "Signing in as a guest allows you to participate in online races,
-but it does not allow you to vote for addons,
-or collect any achievements while being online."
- align="center"/>
- </div>
+ <box proportion="1" width="100%" layout="vertical-row">
+ <header id="title" width="96%" height="fit" text_align="center" word_wrap="true"
+ I18N="In the login dialog" text="Guest Sign in"/>
+ <spacer height="15" width="10"/>
+ <box proportion="4" width="90%" layout="vertical-row" align="center">
+ <div x="2%" y="2%" width="96%" height="80%" layout="vertical-row" id="outer_box" >
+ <label I18N="In the online multiplayer screen" proportion="4" word_wrap="true" text=
+ "Signing in as a guest allows you to participate in online races,
+ but it does not allow you to vote for addons,
+ or collect any achievements while being online."
+ align="center"/>
+ </div>
+ </box>
+ <spacer height="15" width="10"/>
+ <buttonbar id="options" width="90%" height="13%" align="bottom">
+ <icon-button id="sign_in" width="64" height="64" icon="gui/green_check.png"
+ I18N="Login dialog" text="Sign In" label_location="bottom"/>
+ <icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
+ I18N="Login dialog" text="Close" label_location="bottom"/>
+ </buttonbar>
+ <spacer height="15" width="10"/>
</box>
- <spacer height="15" width="10"/>
- <buttonbar id="options" width="90%" height="13%" align="bottom">
- <icon-button id="sign_in" width="64" height="64" icon="gui/green_check.png"
- I18N="Login dialog" text="Sign In" label_location="bottom"/>
- <icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
- I18N="Login dialog" text="Close" label_location="bottom"/>
- </buttonbar>
- <spacer height="15" width="10"/>
- </box>
-</div>
-
-<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+ </div>
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
</stkgui>
View
28 data/gui/online/lobby.stkgui
@@ -1,6 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
<div x="0" y="0" width="100%" height="100%" layout="vertical-row" >
-
+
<header text_align="center" width="80%" align="center" I18N="In networking lobby" text="Lobby"/>
<spacer height="15" width="10"/>
<div proportion="1" x="2%" width="96%" layout="vertical-row">
@@ -16,9 +17,9 @@
<list id="players" width="100%" height="100%"/>
</box>
</div>
-
+
<spacer width="20" height="20"/>
-
+
<div width="100%" proportion="1" layout="horizontal-row">
<box proportion="2" height="100%" layout="vertical-row">
<list id="chat" width="100%" height="100%"/>
@@ -26,26 +27,25 @@
<spacer width="20" height="20"/>
<box id="actions" proportion="1" height="100%" layout="vertical-row">
<label I18N="In networking lobby" word_wrap="true" text="actions" align="center" text-align="center"/>
- </box>
- </div>
+ </box>
+ </div>
</div>
-
+
<spacer width="10" height="7%"/>
-
+
<bottombar x="2%" width="96%" height="10%" layout="horizontal-row">
<label text_align="left" align="center" height="100%" id="online_status" proportion="1" text=""/>
-
- <spacer width="10" height="10" />
-
+
+ <spacer width="10" height="10" />
+
<buttonbar id="menu_bottomrow" x="0" y="0" width="20%" height="100%" align="center">
<icon-button id="exit" width="64" height="64" icon="gui/main_quit.png" extend_label="50"
I18N="Main menu button" text="Exit" label_location="hover"/>
</buttonbar>
-
+
</bottombar>
-
+
</div>
-
- <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
</stkgui>
View
17 data/gui/online/lobby_settings.stkgui
@@ -1,6 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
<div x="0" y="0" width="100%" height="100%" layout="vertical-row" >
-
<header text_align="center" width="80%" align="center" I18N="In the lobby settings screen" text="Lobby Settings"/>
<spacer height="15" width="10"/>
<box proportion="4" width="90%" layout="vertical-row" align="center">
@@ -9,24 +9,23 @@
<label proportion="1" text_align="left" I18N="In the lobby settings screen" text="Name of the server"/>
<textbox proportion="2" id="name" I18N="In the login dialog"/>
</div>
-
+
<spacer height="20" width="20">
-
+
<div width="100%" height="fit" layout="horizontal-row" >
<label proportion="1" text_align="left" I18N="In the lobby settings screen" text="Max. number of players"/>
<gauge id="max_players" proportion="2" min_value="2" max_value="12"/>
</div>
</div>
</box>
-
+
<spacer width="10" height="7%"/>
-
+
<bottombar x="2%" width="96%" height="10%" layout="horizontal-row">
-
+
</bottombar>
-
+
</div>
-
- <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
</stkgui>
View
26 data/gui/online/main.stkgui
@@ -1,17 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
<div x="0" y="0" width="100%" height="100%" layout="vertical-row" >
-
+
<header text_align="center" width="80%" align="center" I18N="In the online multiplayer screen" text="Online Multiplayer"/>
<spacer height="15" width="10"/>
<box proportion="4" width="90%" layout="vertical-row" align="center">
<div x="2%" y="2%" width="96%" height="96%" layout="vertical-row" id="outer_box" >
<label I18N="In the online multiplayer screen" proportion="4" word_wrap="true" text=
"Here will come some information.. or statistics.. or whatever. Yet to be filled in! It will change depending on state. And I'd also like a close button at the right top.
-
- " align="center"/>
+
+ " align="center"/>
</div>
</box>
-
+
<buttonbar id="menu_toprow" proportion="3" width="90%" align="center">
<icon-button id="quick_play" width="128" height="128"
icon="gui/online/menu_quick_play.png" focus_icon="gui/online/menu_quick_play_hover.png"
@@ -23,25 +24,24 @@
icon="gui/online/menu_create_server.png" focus_icon="gui/online/menu_create_server_hover.png"
I18N="Online menu button" text="Create Server"/>
</buttonbar>
-
+
<spacer width="10" height="7%"/>
-
+
<bottombar x="2%" width="96%" height="10%" layout="horizontal-row">
<label text_align="left" align="center" height="100%" id="online_status" proportion="1" text=""/>
-
- <spacer width="10" height="10" />
-
+
+ <spacer width="10" height="10" />
+
<buttonbar id="menu_bottomrow" x="0" y="0" width="12%" height="100%" align="center">
<icon-button id="profile" width="64" height="64" icon="gui/green_check.png" extend_label="50"
I18N="Online menu button" text="Profile" label_location="hover"/>
<icon-button id="sign_out" width="64" height="64" icon="gui/main_quit.png" extend_label="70"
I18N="Online menu button" text="Sign Out" label_location="hover"/>
</buttonbar>
-
+
</bottombar>
-
+
</div>
-
- <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
</stkgui>
View
13 data/gui/online/notification_dialog.stkgui
@@ -1,19 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
-
<div x="2%" y="5%" width="96%" height="85%" layout="vertical-row" >
-
+
<label id="info" proportion="1" width="90%" align="center" text_align="center" word_wrap="true" text=""/>
-
- <spacer height="20" width="50">
-
+
+ <spacer height="20" width="50">
+
<buttonbar id="options" width="90%" height="30%" align="center">
<icon-button id="view" width="64" height="64" icon="gui/difficulty_medium.png"
I18N="User info dialog" text="View" label_location="bottom"/>
<icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
I18N="User info dialog" text="Close" label_location="bottom"/>
</buttonbar>
-
-
</div>
-
</stkgui>
View
33 data/gui/online/profile_achievements.stkgui
@@ -1,23 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
-<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+ <div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
-<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
+ <header id="title" text_align="center" width="80%" align="center" text="..."/>
- <header id="title" text_align="center" width="80%" align="center" text="..."/>
-
- <spacer height="25" width="10"/>
-
- <tabs id="profile_tabs" height="10%" max_height="110" x="2%" width="98%" align="center">
- <icon-button id="tab_overview" width="128" height="128" icon="gui/options_ui.png" />
- <icon-button id="tab_friends" width="128" height="128" icon="gui/options_players.png"/>
- <icon-button id="tab_achievements" width="128" height="128" icon="gui/options_players.png" I18N="Section in the profile menu" text="Achievements"/>
- <icon-button id="tab_settings" width="128" height="128" icon="gui/main_options.png"/>
- </tabs>
-
- <box proportion="1" width="100%" layout="vertical-row" padding="6">
- <list id="achievements_list" x="0" y="0" width="100%" height="100%"/>
- </box>
-</div>
+ <spacer height="25" width="10"/>
+ <tabs id="profile_tabs" height="10%" max_height="110" x="2%" width="98%" align="center">
+ <icon-button id="tab_overview" width="128" height="128" icon="gui/options_ui.png" />
+ <icon-button id="tab_friends" width="128" height="128" icon="gui/options_players.png"/>
+ <icon-button id="tab_achievements" width="128" height="128" icon="gui/options_players.png" I18N="Section in the profile menu" text="Achievements"/>
+ <icon-button id="tab_settings" width="128" height="128" icon="gui/main_options.png"/>
+ </tabs>
+
+ <box proportion="1" width="100%" layout="vertical-row" padding="6">
+ <list id="achievements_list" x="0" y="0" width="100%" height="100%"/>
+ </box>
+ </div>
</stkgui>
View
60 data/gui/online/profile_friends.stkgui
@@ -1,37 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
-<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+ <div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
-<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
+ <header id="title" text_align="center" width="80%" align="center" text="..."/>
- <header id="title" text_align="center" width="80%" align="center" text="..."/>
-
- <spacer height="25" width="10"/>
-
- <tabs id="profile_tabs" height="10%" max_height="110" x="2%" width="98%" align="center">
- <icon-button id="tab_overview" width="128" height="128" icon="gui/options_ui.png" />
- <icon-button id="tab_friends" width="128" height="128" icon="gui/options_players.png" I18N="Section in the profile menu" text="Friends"/>
- <icon-button id="tab_achievements" width="128" height="128" icon="gui/options_players.png"/>
- <icon-button id="tab_settings" width="128" height="128" icon="gui/main_options.png"/>
- </tabs>
-
- <box proportion="1" width="100%" layout="vertical-row" padding="6">
- <list id="friends_list" x="0" y="0" width="100%" height="100%"/>
- </box>
-
- <div id="search_div" height="fit" width="100%" layout="vertical-row">
- <spacer width="10" height="10"/>
- <box height="fit" width="100%" layout="vertical-row">
- <label height="fit" text_align="left" I18N="Profile friends" text="Look for more friends:"/>
- <spacer width="10" height="10"/>
- <div height="fit" width="100%" layout="horizontal-row" align="center">
- <textbox id="search_box" proportion="1" height="fit"/>
- <spacer width="10" height="100%"/>
- <button id="search_button" height="100%" width="fit" text="Search" />
- </div>
- </box>
- </div>
-
-</div>
+ <spacer height="25" width="10"/>
+ <tabs id="profile_tabs" height="10%" max_height="110" x="2%" width="98%" align="center">
+ <icon-button id="tab_overview" width="128" height="128" icon="gui/options_ui.png" />
+ <icon-button id="tab_friends" width="128" height="128" icon="gui/options_players.png" I18N="Section in the profile menu" text="Friends"/>
+ <icon-button id="tab_achievements" width="128" height="128" icon="gui/options_players.png"/>
+ <icon-button id="tab_settings" width="128" height="128" icon="gui/main_options.png"/>
+ </tabs>
+
+ <box proportion="1" width="100%" layout="vertical-row" padding="6">
+ <list id="friends_list" x="0" y="0" width="100%" height="100%"/>
+ </box>
+
+ <div id="search_div" height="fit" width="100%" layout="vertical-row">
+ <spacer width="10" height="10"/>
+ <box height="fit" width="100%" layout="vertical-row">
+ <label height="fit" text_align="left" I18N="Profile friends" text="Look for more friends:"/>
+ <spacer width="10" height="10"/>
+ <div height="fit" width="100%" layout="horizontal-row" align="center">
+ <textbox id="search_box" proportion="1" height="fit"/>
+ <spacer width="10" height="100%"/>
+ <button id="search_button" height="100%" width="fit" text="Search" />
+ </div>
+ </box>
+ </div>
+ </div>
</stkgui>
View
35 data/gui/online/profile_overview.stkgui
@@ -1,25 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
-<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+ <div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
-<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
+ <header id="title" text_align="center" width="80%" align="center" text="..."/>
- <header id="title" text_align="center" width="80%" align="center" text="..."/>
-
- <spacer height="25" width="10"/>
-
- <tabs id="profile_tabs" height="10%" max_height="110" x="2%" width="98%" align="center">
- <icon-button id="tab_overview" width="128" height="128" icon="gui/options_ui.png" I18N="Section in the profile menu" text="Overview"/>
- <icon-button id="tab_friends" width="128" height="128" icon="gui/options_players.png" />
- <icon-button id="tab_achievements" width="128" height="128" icon="gui/options_players.png"/>
- <icon-button id="tab_settings" width="128" height="128" icon="gui/main_options.png"/>
- </tabs>
-
- <box proportion="1" width="100%" layout="vertical-row">
- <div x="1%" y="2%" width="98%" height="96%" layout="vertical-row" >
+ <spacer height="25" width="10"/>
- </div>
- </box>
-</div>
+ <tabs id="profile_tabs" height="10%" max_height="110" x="2%" width="98%" align="center">
+ <icon-button id="tab_overview" width="128" height="128" icon="gui/options_ui.png" I18N="Section in the profile menu" text="Overview"/>
+ <icon-button id="tab_friends" width="128" height="128" icon="gui/options_players.png" />
+ <icon-button id="tab_achievements" width="128" height="128" icon="gui/options_players.png"/>
+ <icon-button id="tab_settings" width="128" height="128" icon="gui/main_options.png"/>
+ </tabs>
+ <box proportion="1" width="100%" layout="vertical-row">
+ <div x="1%" y="2%" width="98%" height="96%" layout="vertical-row" >
+
+ </div>
+ </box>
+ </div>
</stkgui>
View
45 data/gui/online/profile_settings.stkgui
@@ -1,29 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
-<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+ <div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
-<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
+ <header id="title" text_align="center" width="80%" align="center" text="..."/>
- <header id="title" text_align="center" width="80%" align="center" text="..."/>
-
- <spacer height="25" width="10"/>
-
- <tabs id="profile_tabs" height="10%" max_height="110" x="2%" width="98%" align="center">
- <icon-button id="tab_overview" width="128" height="128" icon="gui/options_ui.png"/>
- <icon-button id="tab_friends" width="128" height="128" icon="gui/options_players.png" />
- <icon-button id="tab_achievements" width="128" height="128" icon="gui/options_players.png"/>
- <icon-button id="tab_settings" width="128" height="128" icon="gui/main_options.png" I18N="Section in the profile menu" text="Account Settings"/>
- </tabs>
-
- <box proportion="1" width="100%" layout="vertical-row">
- <div x="1%" y="2%" width="98%" height="96%" layout="vertical-row" >
- <div width="fit" height="fit" layout="horizontal-row" >
- <label proportion="1" height="fit" text_align="left" I18N="In the online account settings screen" text="Password :"/>
- <spacer width="20" height="1"/>
- <button id="change_password_button" height="100%" width="fit" text="Change" />
- </div>
- </div>
- </box>
-</div>
+ <spacer height="25" width="10"/>
+
+ <tabs id="profile_tabs" height="10%" max_height="110" x="2%" width="98%" align="center">
+ <icon-button id="tab_overview" width="128" height="128" icon="gui/options_ui.png"/>
+ <icon-button id="tab_friends" width="128" height="128" icon="gui/options_players.png" />
+ <icon-button id="tab_achievements" width="128" height="128" icon="gui/options_players.png"/>
+ <icon-button id="tab_settings" width="128" height="128" icon="gui/main_options.png" I18N="Section in the profile menu" text="Account Settings"/>
+ </tabs>
+ <box proportion="1" width="100%" layout="vertical-row">
+ <div x="1%" y="2%" width="98%" height="96%" layout="vertical-row" >
+ <div width="fit" height="fit" layout="horizontal-row" >
+ <label proportion="1" height="fit" text_align="left" I18N="In the online account settings screen" text="Password :"/>
+ <spacer width="20" height="1"/>
+ <button id="change_password_button" height="100%" width="fit" text="Change" />
+ </div>
+ </div>
+ </box>
+ </div>
</stkgui>
View
23 data/gui/online/recovery_info.stkgui
@@ -1,23 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
-
<div x="2%" y="5%" width="96%" height="90%" layout="vertical-row" >
-
+
<header id="title" width="96%" height="fit" text_align="center" word_wrap="true"
I18N="In the registration dialog' dialog" text="Account Recovery"/>
-
+
<spacer height="20" width="50">
-
- <label id="info" proportion="1" width="90%" align="center" text_align="center" word_wrap="true" I18N="In the registration dialog"
+
+ <label id="info" proportion="1" width="90%" align="center" text_align="center" word_wrap="true" I18N="In the registration dialog"
text="You will receive an email with further instructions on how to reset your password. Please be patient and be sure to check your spam folder."/>
-
- <spacer height="20" width="50">
-
+
+ <spacer height="20" width="50">
+
<buttonbar id="options" width="25%" height="15%" align="center">
- <icon-button id="cancel" width="64" height="64" icon="gui/green_check.png"
- I18N="Registration dialog" text="Close" label_location="none"/>
+ <icon-button id="cancel" width="64" height="64" icon="gui/green_check.png"
+ I18N="Registration dialog" text="Close" label_location="none"/>
</buttonbar>
-
-
</div>
-
</stkgui>
View
40 data/gui/online/recovery_input.stkgui
@@ -1,46 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
-
<div x="2%" y="5%" width="96%" height="90%" layout="vertical-row" >
-
+
<header id="title" width="96%" height="fit" text_align="center" word_wrap="true"
I18N="In the recovery dialog' dialog" text="Account Recovery"/>
-
+
<spacer height="20" width="50">
-
- <label id="message" proportion="2" width="90%" align="center" text_align="left" word_wrap="true"
+
+ <label id="message" proportion="2" width="90%" align="center" text_align="left" word_wrap="true"
text="Fill in the username and email address you supplied at registration to be able to reset your password."/>
-
+
<spacer height="40" width="50">
-
+
<div width="80%" align="center" layout="vertical-row" height="fit">
<div width="100%" height="fit" layout="horizontal-row" >
<label proportion="1" text_align="left" I18N="In the recovery dialog" text="Username"/>
<textbox proportion="2" id="username" I18N="In the recovery dialog"/>
</div>
-
+
<spacer height="20" width="20">
-
+
<div width="100%" height="fit" layout="horizontal-row" >
<label proportion="1" text_align="left" I18N="In the recovery dialog" text="Email"/>
<textbox proportion="2" id="email" I18N="In the recovery dialog"/>
</div>
-
+
</div>
-
- <spacer height="20" width="50">
-
+
+ <spacer height="20" width="50">
+
<label id="info" proportion="1" width="90%" align="center" text_align="center" word_wrap="true"
I18N="In the recovery" text=""/>
-
- <spacer height="20" width="50">
-
+
+ <spacer height="20" width="50">
+
<buttonbar id="options" width="25%" proportion="1" align="center">
- <icon-button id="submit" width="64" height="64" icon="gui/green_check.png"
- I18N="Registration dialog" text="Submit" label_location="none"/>
+ <icon-button id="submit" width="64" height="64" icon="gui/green_check.png"
+ I18N="Registration dialog" text="Submit" label_location="none"/>
<icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
- I18N="Registration dialog" text="Cancel" label_location="none"/>
+ I18N="Registration dialog" text="Cancel" label_location="none"/>
</buttonbar>
-
</div>
-
</stkgui>
View
148 data/gui/online/register.stkgui
@@ -1,82 +1,80 @@
-<?xml version="1.0" encoding="UTF-16"?>
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
+
+ <header align="center" width="80%" text="Create User" text_align="center"
+ I18N="In the registration dialog" />
+ <spacer height="15" width="10"/>
+
+ <box proportion="1" width="100%" layout="vertical-row">
+ <div width="80%" align="center" layout="vertical-row" height="fit">
+ <div width="100%" height="fit" layout="horizontal-row" >
+ <label proportion="1" height="100%" text_align="left"
+ I18N="In the registration dialog" text="Local Username"/>
+ <textbox id="local_username" proportion="2" height="fit" I18N="In the registration dialog"/>
+ </div>
+ <div width="100%" height="fit" layout="horizontal-row" >
+ <label id="label_online" proportion="1" height="100%" text_align="left"
+ I18N="In the login screen" text="Online"/>
+ <checkbox id="online" I18N="In the login screen" text_align="left"/>
+ </div>
+
+ <div width="100%" height="fit" layout="horizontal-row" >
+ <label id="label_username" proportion="1" height="100%" text_align="left"
+ I18N="In the registration dialog" text="Online Username"/>
+ <textbox id="username" proportion="2" height="fit" I18N="In the registration dialog"/>
+ </div>
+
+ <spacer height="20" width="20"/>
+
+ <div width="100%" height="fit" layout="horizontal-row" >
+ <label id="label_password" proportion="1" height="100%" text_align="left"
+ I18N="In the registration dialog" text="Password"/>
+ <textbox id="password" proportion="2" height="fit" I18N="In the registration dialog"/>
+ </div>
+
+ <spacer height="20" width="20"/>
+
+ <div width="100%" height="fit" layout="horizontal-row" >
+ <label id="label_password_confirm" proportion="1" height="100%" text_align="left"
+ I18N="In the registration dialog" text="Confirm"/>
+ <textbox id="password_confirm" proportion="2" height="fit" I18N="In the registration dialog"/>
+ </div>
+
+ <spacer height="20" width="20"/>
+
+ <div width="100%" height="fit" layout="horizontal-row" >
+ <label id="label_email" proportion="1" height="100%" text_align="left"
+ I18N="In the registration dialog" text="Email"/>
+ <textbox id="email" proportion="2" height="fit" I18N="In the registration dialog"/>
+ </div>
+
+ <spacer height="20" width="20"/>
+
+ <div width="100%" height="fit" layout="horizontal-row" >
+ <label id="label_email_confirm" proportion="1" height="100%" text_align="left"
+ I18N="In the registration dialog" text="Confirm"/>
+ <textbox id="email_confirm" proportion="2" height="fit" I18N="In the registration dialog"/>
+ </div>
+ <spacer height="20" width="50"/>
+
+ <label id="info" proportion="1" width="90%" align="center" text_align="center" word_wrap="true"
+ I18N="In the registration dialog" text="You don't need to register if you have a STK Addons account!"/>
+
+ <spacer height="20" width="50"/>
-<div x="1%" y="1%" width="98%" height="98%" layout="vertical-row" >
-
- <header align="center" width="80%" text="Create User" text_align="center"
- I18N="In the registration dialog" />
- <spacer height="15" width="10"/>
-
- <box proportion="1" width="100%" layout="vertical-row">
- <div width="80%" align="center" layout="vertical-row" height="fit">
- <div width="100%" height="fit" layout="horizontal-row" >
- <label proportion="1" height="100%" text_align="left"
- I18N="In the registration dialog" text="Local Username"/>
- <textbox id="local_username" proportion="2" height="fit" I18N="In the registration dialog"/>
- </div>
- <div width="100%" height="fit" layout="horizontal-row" >
- <label id="label_online" proportion="1" height="100%" text_align="left"
- I18N="In the login screen" text="Online"/>
- <checkbox id="online" I18N="In the login screen" text_align="left"/>
- </div>
-
- <div width="100%" height="fit" layout="horizontal-row" >
- <label id="label_username" proportion="1" height="100%" text_align="left"
- I18N="In the registration dialog" text="Online Username"/>
- <textbox id="username" proportion="2" height="fit" I18N="In the registration dialog"/>
- </div>
-
- <spacer height="20" width="20"/>
-
- <div width="100%" height="fit" layout="horizontal-row" >
- <label id="label_password" proportion="1" height="100%" text_align="left"
- I18N="In the registration dialog" text="Password"/>
- <textbox id="password" proportion="2" height="fit" I18N="In the registration dialog"/>
- </div>
-
- <spacer height="20" width="20"/>
-
- <div width="100%" height="fit" layout="horizontal-row" >
- <label id="label_password_confirm" proportion="1" height="100%" text_align="left"
- I18N="In the registration dialog" text="Confirm"/>
- <textbox id="password_confirm" proportion="2" height="fit" I18N="In the registration dialog"/>
</div>
- <spacer height="20" width="20"/>
-
- <div width="100%" height="fit" layout="horizontal-row" >
- <label id="label_email" proportion="1" height="100%" text_align="left"
- I18N="In the registration dialog" text="Email"/>
- <textbox id="email" proportion="2" height="fit" I18N="In the registration dialog"/>
- </div>
-
- <spacer height="20" width="20"/>
-
- <div width="100%" height="fit" layout="horizontal-row" >
- <label id="label_email_confirm" proportion="1" height="100%" text_align="left"
- I18N="In the registration dialog" text="Confirm"/>
- <textbox id="email_confirm" proportion="2" height="fit" I18N="In the registration dialog"/>
- </div>
- <spacer height="20" width="50"/>
-
- <label id="info" proportion="1" width="90%" align="center" text_align="center" word_wrap="true"
- I18N="In the registration dialog" text="You don't need to register if you have a STK Addons account!"/>
-
- <spacer height="20" width="50"/>
-
- </div>
-
- <spacer height="20" width="50"/>
-
- <buttonbar id="options" width="25%" height="14%" align="center">
- <icon-button id="next" width="64" height="64" icon="gui/green_check.png"
- I18N="Registration dialog" text="OK" label_location="none"/>
- <icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
- I18N="Registration dialog" text="Cancel" label_location="none"/>
- </buttonbar>
- </box>
-</div>
+ <spacer height="20" width="50"/>
-<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
+ <buttonbar id="options" width="25%" height="14%" align="center">
+ <icon-button id="next" width="64" height="64" icon="gui/green_check.png"
+ I18N="Registration dialog" text="OK" label_location="none"/>
+ <icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
+ I18N="Registration dialog" text="Cancel" label_location="none"/>
+ </buttonbar>
+ </box>
+ </div>
+ <icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
</stkgui>
View
27 data/gui/online/registration_terms.stkgui
@@ -1,36 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
-
<div x="2%" y="4%" width="96%" height="92%" layout="vertical-row" >
-
+
<header id="title" width="96%" height="fit" text_align="center" word_wrap="true"
I18N="In the registration dialog' dialog" text="Terms and Agreement"/>
-
+
<spacer height="25" width="50">
-
+
<box proportion="5" width="90%" align="center" layout="vertical-row" padding="8">
<list id="terms" x="0" y="0" width="100%" height="100%"/>
</box>
-
+
<div align="center" width="fit" height="fit" layout="horizontal-row" >
<label text_align="center" align="center" I18N="In the registration dialog" word_wrap="true"
text="I agree to the above terms and am 13 years or older. "/>
</div>
-
+
<spacer height="20" width="50">
-
+
<label id="info" proportion="1" width="90%" align="center" text_align="center" word_wrap="true"
I18N="In the registration dialog" text=""/>
-
- <spacer height="20" width="50">
-
+
+ <spacer height="20" width="50">
+
<buttonbar id="options" width="45%" height="14%" align="center">
<icon-button id="accept" width="64" height="64" icon="gui/green_check.png"
- I18N="Registration dialog" text="Accept" label_location="bottom"/>
+ I18N="Registration dialog" text="Accept" label_location="bottom"/>
<icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
- I18N="Registration dialog" text="Cancel" label_location="bottom"/>
+ I18N="Registration dialog" text="Cancel" label_location="bottom"/>
</buttonbar>
-
-
</div>
-
</stkgui>
View
23 data/gui/online/server_info_dialog.stkgui
@@ -1,33 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
-
<div x="2%" y="5%" width="96%" height="85%" layout="vertical-row" >
-
+
<header id="title" width="96%" height="fit" text_align="center" word_wrap="true"
I18N="In the server info dialog' dialog" text="Server Info"/>
-
+
<spacer height="20" width="50">
-
+
<div width="80%" align="center" layout="vertical-row" height="fit" >
<div width="100%" height="fit" layout="horizontal-row" >
<label proportion="1" text_align="left" I18N="In the server info dialog" text="Name"/>
<label id="name" proportion="2" text_align="left" text=""/>
</div>
</div>
-
- <spacer height="20" width="50">
-
+
+ <spacer height="20" width="50">
+
<label id="info" proportion="1" width="90%" align="center" text_align="center" word_wrap="true" text=""/>
-
- <spacer height="20" width="50">
-
+
+ <spacer height="20" width="50">
+
<buttonbar id="options" width="90%" height="20%" align="center">
<icon-button id="join" width="64" height="64" icon="gui/green_check.png"
I18N="Login dialog" text="Join" label_location="bottom"/>
<icon-button id="cancel" width="64" height="64" icon="gui/main_quit.png"
I18N="Login dialog" text="Cancel" label_location="bottom"/>
</buttonbar>
-
-
</div>
-
</stkgui>
View
22 data/gui/online/server_selection.stkgui
@@ -1,17 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
+ <div x="0%" y="0%" width="100%" height="98%" layout="vertical-row" >
-<div x="0%" y="0%" width="100%" height="98%" layout="vertical-row" >
+ <div x="0" y="0" width="100%" layout="horizontal-row" height="8%">
+ <icon-button id="back" height="100%" icon="gui/back.png"/>
+ <header text_align="center" proportion="1" text="Server Selection" align="center"/>
+ <icon-button id="reload" height="90%" icon="gui/restart.png"/>
+ </div>
- <div x="0" y="0" width="100%" layout="horizontal-row" height="8%">
- <icon-button id="back" height="100%" icon="gui/back.png"/>
- <header text_align="center" proportion="1" text="Server Selection" align="center"/>
- <icon-button id="reload" height="90%" icon="gui/restart.png"/>
+ <box proportion="1" width="98%" align="center" layout="vertical-row" padding="6">
+ <list id="server_list" x="0" y="0" width="100%" height="100%"/>
+ </box>
</div>
-
- <box proportion="1" width="98%" align="center" layout="vertical-row" padding="6">
- <list id="server_list" x="0" y="0" width="100%" height="100%"/>
- </box>
-
-</div>
-
</stkgui>
View
30 data/gui/online/user_info_dialog.stkgui
@@ -1,41 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
-
<div x="2%" y="5%" width="96%" height="85%" layout="vertical-row" >
-
<header id="title" width="96%" height="fit" text_align="center" word_wrap="true"
I18N="User info dialog' dialog" text="User Info"/>
-
+
<spacer height="20" width="50">
-
+
<div width="80%" align="center" layout="vertical-row" height="fit" >
<div width="100%" height="fit" layout="horizontal-row" >