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
13namespace 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
Animated.cpp galaxy.
Definition Animated.cpp:16
MouseButton
Enum class representing mouse buttons.