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
MouseWheel.cpp
Go to the documentation of this file.
1
7
8
#include "
MouseWheel.hpp
"
9
10
namespace
galaxy
11
{
12
MouseWheel::MouseWheel
(
const
float
ax,
const
float
ay,
const
SDL_MouseWheelDirection dir,
const
float
mx,
const
float
my,
const
int
tx,
const
int
ty) noexcept
13
:
m_amount_x
{ax}
14
, m_amount_y {ay}
15
, m_direction {dir}
16
, m_mouse_x {mx}
17
, m_mouse_y {my}
18
, m_total_x {tx}
19
, m_total_y {ty}
20
{
21
}
22
}
// namespace galaxy
MouseWheel.hpp
galaxy
Application.hpp galaxy.
Definition
Application.cpp:35
galaxy::MouseWheel::MouseWheel
MouseWheel(const float ax, const float ay, const SDL_MouseWheelDirection dir, const float mx, const float my, const int tx, const int ty) noexcept
Constructor.
Definition
MouseWheel.cpp:12
galaxy::MouseWheel::m_amount_x
float m_amount_x
The amount scrolled horizontally, positive to the right and negative to the left.
Definition
MouseWheel.hpp:37
galaxy
src
galaxy
events
MouseWheel.cpp
Generated on
for galaxy by
1.17.0