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
MouseButton.hpp
Go to the documentation of this file.
1
7
8
#ifndef GALAXY_INPUT_MOUSEBUTTON_HPP_
9
#define GALAXY_INPUT_MOUSEBUTTON_HPP_
10
11
#include <SDL3/SDL_mouse.h>
12
13
namespace
galaxy
14
{
18
enum class
MouseButton
: SDL_MouseButtonFlags
19
{
20
UNKNOWN
= 0,
21
LEFT
= SDL_BUTTON_LEFT,
22
MIDDLE
= SDL_BUTTON_MIDDLE,
23
RIGHT
= SDL_BUTTON_RIGHT,
24
SIDE_1
= SDL_BUTTON_X1,
25
SIDE_2
= SDL_BUTTON_X2
26
};
27
}
// namespace galaxy
28
29
#endif
galaxy
Animated.cpp galaxy.
Definition
Animated.cpp:16
galaxy::MouseButton
MouseButton
Enum class representing mouse buttons.
Definition
MouseButton.hpp:19
galaxy::MouseButton::RIGHT
@ RIGHT
galaxy::MouseButton::MIDDLE
@ MIDDLE
galaxy::MouseButton::SIDE_1
@ SIDE_1
galaxy::MouseButton::LEFT
@ LEFT
galaxy::MouseButton::UNKNOWN
@ UNKNOWN
galaxy::MouseButton::SIDE_2
@ SIDE_2
galaxy
src
galaxy
input
MouseButton.hpp
Generated on Fri Sep 12 2025 07:29:48 for galaxy by
1.12.0