include/Spectre/Input/InputEvent.h: Move MouseButton::Type to Mouse class.
This commit is contained in:
parent
b2ca926a00
commit
762d26f368
5 changed files with 35 additions and 37 deletions
|
|
@ -17,7 +17,7 @@ public :
|
|||
// Get mouse position
|
||||
virtual Vector2f getPosition() const;
|
||||
|
||||
virtual bool isButtonDown(MouseButton::Type button) const;
|
||||
virtual bool isButtonDown(Mouse::Button button) const;
|
||||
|
||||
static bool handleMessage(MSG message);
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ protected :
|
|||
protected :
|
||||
Vector2f m_position;
|
||||
|
||||
bool m_state[MouseButton::NUM_MBUTTONS];
|
||||
bool m_state[Mouse::Button::NUM_MBUTTONS];
|
||||
|
||||
bool m_tracked;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue