multiplayer kart selection commit 12

This commit is contained in:
Dk 2014-03-03 23:53:15 +05:30
parent 14467e320b
commit 99a19ee739
3 changed files with 3 additions and 5 deletions

View File

@ -184,7 +184,7 @@ void SpinnerWidget::add()
void SpinnerWidget::setBackgroundColor()
{
m_use_background_color=1;
m_use_background_color=true;
}
int SpinnerWidget::getBackgroundColor()
{

View File

@ -97,8 +97,7 @@ namespace GUIEngine
/** Call only if this spinner is graphical. Returns the current texture to display */
irr::video::ITexture* getTexture();
// to set the background image
// irr::video::ITexture* getBackgroundColor();
public:
@ -112,7 +111,7 @@ namespace GUIEngine
void clearLabels();
// next four functions are for background colour behind playername in multikart screen selection
void setBackgroundColor();
int getBackgroundColor();
bool getBackgroundColor();
void setSpinnerWidgetPlayerID(int playerID);
int getSpinnerWidgetPlayerID();

View File

@ -21,7 +21,6 @@
#include <string>
#include "guiengine/screen.hpp"
#include "guiengine/skin.hpp"
#include "guiengine/widgets/dynamic_ribbon_widget.hpp"
#include "guiengine/widgets/label_widget.hpp"
#include "guiengine/widgets/model_view_widget.hpp"