Add the GUI to update server config in lobby
This commit is contained in:
44
data/gui/dialogs/online/server_configuration_dialog.stkgui
Normal file
44
data/gui/dialogs/online/server_configuration_dialog.stkgui
Normal file
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<stkgui>
|
||||
<div x="0" y="0" width="100%" height="100%" layout="vertical-row" >
|
||||
<header id="title" text_align="center" width="80%" align="center" I18N="In the server configuration screen" text="Server Configuration"/>
|
||||
<box proportion="1" width="90%" layout="vertical-row" align="center">
|
||||
|
||||
<label width="100%" height="fit" text_align="left" I18N="In the server configuration screen" text="Difficulty"/>
|
||||
<ribbon id="difficulty" height="15%" width="90%" align="center">
|
||||
<icon-button id="novice" width="128" height="128" icon="gui/icons/difficulty_easy.png"
|
||||
I18N="Difficulty" text="Novice"/>
|
||||
<icon-button id="intermediate" width="128" height="128" icon="gui/icons/difficulty_medium.png"
|
||||
I18N="Difficulty" text="Intermediate"/>
|
||||
<icon-button id="expert" width="128" height="128" icon="gui/icons/difficulty_hard.png"
|
||||
I18N="Difficulty" text="Expert"/>
|
||||
<icon-button id="best" width="128" height="128" icon="gui/icons/difficulty_best.png"
|
||||
I18N="Difficulty" text="SuperTux"/>
|
||||
</ribbon>
|
||||
<label width="100%" height="fit" text_align="left" I18N="In the server configuration screen" text="Game mode"/>
|
||||
<ribbon id="gamemode" height="15%" width="90%" align="center">
|
||||
<icon-button id="normal" width="128" height="128" icon="gui/icons/mode_normal.png"
|
||||
I18N="Multiplayer game mode" text="Normal Race"/>
|
||||
<icon-button id="timetrial" width="128" height="128" icon="gui/icons/mode_tt.png"
|
||||
I18N="Multiplayer game mode" text="Time Trial"/>
|
||||
<icon-button id="3strikes" width="128" height="128" icon="gui/icons/weapons.png"
|
||||
I18N="Multiplayer game mode" text="Battle"/>
|
||||
<icon-button id="soccer" width="128" height="128" icon="gui/icons/mode_soccer.png"
|
||||
I18N="Multiplayer game mode" text="Soccer"/>
|
||||
</ribbon>
|
||||
|
||||
<spacer height="10" width="20"/>
|
||||
<div width="100%" height="fit" layout="horizontal-row" >
|
||||
<label id="more-options" proportion="1" text_align="left"/>
|
||||
<spinner id="more-options-spinner" proportion="1" wrap_around="true"/>
|
||||
</div>
|
||||
<spacer width="10" height="20"/>
|
||||
<buttonbar id="options" x="0" y="0" width="25%" height="12%" align="center">
|
||||
<icon-button id="ok" width="64" height="64" icon="gui/icons/green_check.png"
|
||||
I18N="In the server configuration screen" text="OK" label_location="bottom"/>
|
||||
<icon-button id="cancel" width="64" height="64" icon="gui/icons/main_quit.png"
|
||||
I18N="In the server configuration screen" text="Cancel" label_location="bottom"/>
|
||||
</buttonbar>
|
||||
</box>
|
||||
</div>
|
||||
</stkgui>
|
||||
Reference in New Issue
Block a user