Blowbox 2017
A 3D Game Engine by Riko Ophorst using DirectX 12
mouse_button.h
1 #pragma once
2 
3 namespace blowbox
4 {
11  {
12  MouseButton_LEFT,
13  MouseButton_MIDDLE,
14  MouseButton_RIGHT,
15  MouseButton_4,
16  MouseButton_5,
17  MouseButton_6,
18  MouseButton_7,
19  MouseButton_8
20  };
21 
22 
28  MouseButton GlfwMouseButtonToBlowboxMouseButton(int glfw_mouse_button);
29 
36 }
MouseButton
All mouse buttons.
Definition: mouse_button.h:10
MouseButton GlfwMouseButtonToBlowboxMouseButton(int glfw_mouse_button)
Converts a GLFW_MOUSE_BUTTON to a blowbox::MouseButton.
Definition: mouse_button.cc:8
int BlowboxMouseButtonToGlfwMouseButton(MouseButton mouse_button)
Converts a MouseButton_* to a GLFW_MOUSE_BUTTON_*.
Definition: mouse_button.cc:28
The main Blowbox namespace.
Definition: image.cc:8