galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
MouseMoved.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_EVENTS_MOUSEMOVED_HPP_
9#define GALAXY_EVENTS_MOUSEMOVED_HPP_
10
12
13namespace galaxy
14{
18 struct MouseMoved final : public HandleableEvent
19 {
23 float m_xpos = 0.0f;
24
28 float m_ypos = 0.0f;
29
33 float m_xrel = 0.0f;
34
38 float m_yrel = 0.0f;
39 };
40} // namespace galaxy
41
42#endif
Animated.cpp galaxy.
Definition Animated.cpp:16
This allows an event to be marked as being "handled" so events lower in the stack can no longer consu...
Contains data relating to a mouse moved event.
float m_yrel
The relative motion in the Y direction.
float m_ypos
Y coordinate, relative to window.
float m_xpos
X coordinate, relative to window.
float m_xrel
The relative motion in the X direction.