1025bfe298
* Add vertical tabs to ribbon widget types * Update GUI engine for vertical tabs * New icons for the help menu The slipstream icon is not great, it's here to have something now. It should be replaced by something better looking and more in STK's visual style. * Updated help GUI The git changelog is a bit misleading here, because the order of the items in the help menu has been revised too. 1)General (same) 2)Game modes (before : 3) 3)Powerups (before : 2) 4)Bananas (before : 5) 5)Story Mode 6)Kart classes 7)Multiplayer * Update help screen code to handle the additional tabs The hugely repetitive structure of one cpp/hpp per tab is kept here. * Optimized version of new icons Except for the slipstreaming one, as it should be replaced by a better one anyway.
61 lines
3.4 KiB
XML
61 lines
3.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<stkgui>
|
|
<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" >
|
|
<header width="80%" height="7%" align="center" text="SuperTuxKart Help" text_align="center"/>
|
|
<spacer height="1%" width="100%"/>
|
|
|
|
<div width="100%" height="92%" layout="horizontal-row" >
|
|
|
|
<vertical-tabs id="category" height="100%" width="18%">
|
|
<icon-button id="page1" width="128" height="128" icon="gui/track_random.png"
|
|
I18N="Tab in help menu" text="General"/>
|
|
<icon-button id="page2" width="128" height="128" icon="gui/mode_ftl.png"
|
|
I18N="Tab in help menu" text="Game Modes"/>
|
|
<icon-button id="page3" width="128" height="128" icon="gui/weapons.png"
|
|
I18N="Tab in help menu" text="Powerups"/>
|
|
<icon-button id="page4" width="128" height="128" icon="gui/banana.png"
|
|
I18N="Tab in help menu" text="Bananas"/>
|
|
<icon-button id="page5" width="128" height="128" icon="gui/story_mode_book.png"
|
|
I18N="Tab in help menu" text="Story Mode"/>
|
|
<icon-button id="page6" width="128" height="128" icon="gui/mass.png"
|
|
I18N="Tab in help menu" text="Kart classes"/>
|
|
<icon-button id="page7" width="128" height="128" icon="gui/options_input.png"
|
|
I18N="Tab in help menu" text="Multi-player"/>
|
|
</vertical-tabs>
|
|
|
|
<spacer width="2%" height="100%"/>
|
|
|
|
<box width="80%" height="100%" layout="vertical-row">
|
|
<spacer height="1%" width="10"/>
|
|
<label align="center" word_wrap="true" text="Hitting a banana can result in one of the following being attached to the kart:"/>
|
|
<spacer height="2%" width="10"/>
|
|
|
|
<div width="100%" proportion="2" layout="horizontal-row">
|
|
<icon align="center" width="64" height="64" icon="models/anchor-icon.png"/>
|
|
<spacer width="25" height="25"/>
|
|
<bubble proportion="1" height="100%"
|
|
I18N="In the help menu"
|
|
text="Anchor - slows down the kart suddenly."/>
|
|
</div>
|
|
|
|
<div width="100%" proportion="2" layout="horizontal-row">
|
|
<icon align="center" width="64" height="64" icon="models/parachute-icon.png"/>
|
|
<spacer width="25" height="25"/>
|
|
<bubble proportion="1" height="100%"
|
|
I18N="In the help menu"
|
|
text="Parachute - slows down the kart, more progressively than the anchor. The faster you go, the stronger it slows you down."/>
|
|
</div>
|
|
|
|
<div width="100%" proportion="2" layout="horizontal-row">
|
|
<icon align="center" width="64" height="64" icon="gui/bomb_icon.png"/>
|
|
<spacer width="25" height="25"/>
|
|
<bubble proportion="1" height="100%"
|
|
I18N="In the help menu"
|
|
text="Bomb - detonates after some amount of time, throwing the kart up in the air. Bump into another kart to transfer the bomb to it."/>
|
|
</div>
|
|
</box>
|
|
</div>
|
|
</div>
|
|
</stkgui>
|