mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-13 23:13:05 +00:00
Fix compiler warnings
This commit is contained in:
parent
ba9d85dc30
commit
81720892f9
2 changed files with 3 additions and 3 deletions
|
|
@ -390,7 +390,7 @@ namespace MWBase
|
||||||
/// Cycle to the next window to receive controller events
|
/// Cycle to the next window to receive controller events
|
||||||
virtual void cycleActiveControllerWindow(bool next) = 0;
|
virtual void cycleActiveControllerWindow(bool next) = 0;
|
||||||
virtual void setActiveControllerWindow(MWGui::GuiMode mode, int activeIndex) = 0;
|
virtual void setActiveControllerWindow(MWGui::GuiMode mode, int activeIndex) = 0;
|
||||||
virtual const bool getControllerTooltip() const = 0;
|
virtual bool getControllerTooltip() const = 0;
|
||||||
virtual void setControllerTooltip(bool enabled) = 0;
|
virtual void setControllerTooltip(bool enabled) = 0;
|
||||||
virtual void updateControllerButtonsOverlay() = 0;
|
virtual void updateControllerButtonsOverlay() = 0;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -80,8 +80,8 @@ namespace MWGui
|
||||||
virtual ControllerButtonStr* getControllerButtons() { return &mControllerButtons; }
|
virtual ControllerButtonStr* getControllerButtons() { return &mControllerButtons; }
|
||||||
MyGUI::Widget* getControllerScrollWidget() { return mControllerScrollWidget; }
|
MyGUI::Widget* getControllerScrollWidget() { return mControllerScrollWidget; }
|
||||||
bool isGamepadCursorAllowed() { return !mDisableGamepadCursor; }
|
bool isGamepadCursorAllowed() { return !mDisableGamepadCursor; }
|
||||||
virtual bool onControllerButtonEvent(const SDL_ControllerButtonEvent& arg) { return true; };
|
virtual bool onControllerButtonEvent(const SDL_ControllerButtonEvent& arg) { return true; }
|
||||||
virtual bool onControllerThumbstickEvent(const SDL_ControllerAxisEvent& arg) { return true; };
|
virtual bool onControllerThumbstickEvent(const SDL_ControllerAxisEvent& arg) { return true; }
|
||||||
virtual void setActiveControllerWindow(bool active) { mActiveControllerWindow = active; }
|
virtual void setActiveControllerWindow(bool active) { mActiveControllerWindow = active; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue