Fix gui warnings

This commit is contained in:
Benau 2019-11-08 16:24:58 +08:00
parent bbbfe43120
commit f4da9718c5
3 changed files with 6 additions and 5 deletions

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<stkgui> <stkgui>
<div x="1%" y="0" width="98%" layout="horizontal-row" height="9%"> <div x="1%" y="0" width="98%" layout="horizontal-row" height="9%">
<icon-button id="back" height="100%" align="left" icon="gui/icons/back.png"/> <icon-button id="back" height="100%" x="0%" icon="gui/icons/back.png"/>
<spacer proportion="1" height="5"/> <spacer proportion="1" height="5"/>
<icon-button id="reload" y="5%" height="90%" align="right" icon="gui/icons/restart.png"/> <icon-button id="reload" y="5%" height="90%" x="0%" icon="gui/icons/restart.png"/>
</div> </div>
<div x="0%" y="1%" width="100%" height="98%" layout="vertical-row" > <div x="0%" y="1%" width="100%" height="98%" layout="vertical-row" >

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<stkgui> <stkgui>
<div x="1%" y="0" width="98%" layout="horizontal-row" height="9%"> <div x="1%" y="0" width="98%" layout="horizontal-row" height="9%">
<icon-button id="back" height="100%" align="left" icon="gui/icons/back.png"/> <icon-button id="back" height="100%" x="0%" icon="gui/icons/back.png"/>
<spacer proportion="1" height="1"/> <spacer proportion="1" height="5"/>
<icon-button id="reload" y="5%" height="90%" align="right" icon="gui/icons/restart.png"/> <icon-button id="reload" y="5%" height="90%" x="0%" icon="gui/icons/restart.png"/>
</div> </div>
<div x="0%" y="1%" width="100%" height="98%" layout="vertical-row" > <div x="0%" y="1%" width="100%" height="98%" layout="vertical-row" >

View File

@ -22,6 +22,7 @@
#include "io/file_manager.hpp" #include "io/file_manager.hpp"
#include "graphics/irr_driver.hpp" #include "graphics/irr_driver.hpp"
#include "race/grand_prix_manager.hpp" #include "race/grand_prix_manager.hpp"
#include "replay/replay_play.hpp"
#include "tracks/track_manager.hpp" #include "tracks/track_manager.hpp"
#include "utils/constants.hpp" #include "utils/constants.hpp"
#include "utils/log.hpp" #include "utils/log.hpp"