mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-25 14:26:36 +00:00
Fix clang warnings
This commit is contained in:
parent
f453ce27a0
commit
d49a6a119b
1 changed files with 8 additions and 2 deletions
|
|
@ -49,7 +49,8 @@ namespace MWGui
|
||||||
Button mButton;
|
Button mButton;
|
||||||
std::string mName;
|
std::string mName;
|
||||||
InputType mInputType;
|
InputType mInputType;
|
||||||
union {
|
union
|
||||||
|
{
|
||||||
SDL_GameControllerButton mButton;
|
SDL_GameControllerButton mButton;
|
||||||
SDL_GameControllerAxis mAxis;
|
SDL_GameControllerAxis mAxis;
|
||||||
} mId;
|
} mId;
|
||||||
|
|
@ -63,7 +64,12 @@ namespace MWGui
|
||||||
MyGUI::TextBox* mText;
|
MyGUI::TextBox* mText;
|
||||||
Gui::HBox* mHBox;
|
Gui::HBox* mHBox;
|
||||||
|
|
||||||
ButtonWidgets() : mImage(nullptr), mText(nullptr), mHBox(nullptr) {}
|
ButtonWidgets()
|
||||||
|
: mImage(nullptr)
|
||||||
|
, mText(nullptr)
|
||||||
|
, mHBox(nullptr)
|
||||||
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
std::array<ButtonWidgets, Button::Button_Max> mButtons;
|
std::array<ButtonWidgets, Button::Button_Max> mButtons;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue