7dbfc151bf
in GPInfoScreen from a pointer to be an object, while this adds some coping of this object, it removes potential memory leaks.
70 lines
3.2 KiB
XML
70 lines
3.2 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 id="name" width="100%" text_align="center"/>
|
|
|
|
<spacer width="1" height="5%"/>
|
|
|
|
<box width="95%" height="40%" padding="10" layout="horizontal-row">
|
|
<spacer width="10" height="100%"/>
|
|
<!-- Left pane -->
|
|
<div width="45%" height="95%" align="center" layout="vertical-row">
|
|
<placeholder proportion="1" width="100%" height="100%" id="screenshot_div">
|
|
</placeholder>
|
|
</div>
|
|
|
|
<spacer width="5%" height="100%"/>
|
|
|
|
<!-- Right pane -->
|
|
<div width="45%" height="95%" align="center" layout="vertical-row">
|
|
<list id="tracks" width="100%" height="100%"/>
|
|
</div>
|
|
|
|
</box>
|
|
<spacer width="1" height="3%"/>
|
|
<box width="95%" height="30%" padding="10" layout="horizontal-row">
|
|
<spacer width="1" height="5%"/>
|
|
<div width="50%" height="100%" layout="vertical-row">
|
|
|
|
<div width="100%" height="fit" layout="horizontal-row" >
|
|
<label id="ai-text" height="100%" width="50%" I18N="Number of AI karts" text="AI karts"/>
|
|
<spinner id="ai-spinner" width="50%" min_value="1" max_value="20" align="center"
|
|
wrap_around="true" />
|
|
</div>
|
|
<spacer height="5%" />
|
|
<div width="100%" height="fit" layout="horizontal-row" >
|
|
<label id="reverse-text" width="50%" height="100%" I18N="Drive the track reverse" text="Reverse"/>
|
|
<spinner id="reverse-spinner" width="50%" align="center" wrap_around="true" />
|
|
</div>
|
|
<spacer height="5%" />
|
|
<div width="100%" height="fit" layout="horizontal-row">
|
|
<label id="track-text" width="50%" height="100%" text="Tracks"
|
|
I18N="Number of tracks to pick in a random Grand Prix."/>
|
|
<spinner id="track-spinner" width="50%" min_value="1" max_value="20" align="center"
|
|
wrap_around="true" />
|
|
<spacer height="1%" />
|
|
</div>
|
|
<spacer height="5%" />
|
|
<div width="100%" height="fit" layout="horizontal-row" >
|
|
<label id="group-text" width="50%" height="100%" I18N="Number of AI karts" text="Track group"/>
|
|
<spinner id="group-spinner" width="50%" align="center" wrap_around="true" />
|
|
<spacer proportion="1" height="2" />
|
|
</div>
|
|
</div>
|
|
</box>
|
|
<spacer width="1" height="2%"/>
|
|
<buttonbar id="buttons" height="15%" width="100%" align="center">
|
|
|
|
<icon-button id="start" width="64" height="64" icon="gui/green_check.png"
|
|
I18N="Start race" text="Start Race"/>
|
|
|
|
<icon-button id="continue" width="64" height="64" icon="gui/green_check.png"
|
|
I18N="Continue race" text="Continue Race"/>
|
|
</buttonbar>
|
|
|
|
</div>
|
|
</stkgui>
|