8 #ifndef GLFW_CALLBACK_HPP 9 #define GLFW_CALLBACK_HPP 11 #include "SimpleGL_Export.h" 15 #include <GLFW/glfw3.h> 53 static void dispatch(
int error,
const char* description);
67 virtual void invoke(
int error, std::string description);
105 static void dispatch(GLFWwindow* window,
int key,
int scancode,
int action,
int mods);
122 virtual void invoke(GLFWwindow* window,
Key key,
int scancode,
Action action,
Modifier mods);
159 static void dispatch(GLFWwindow* window,
int button,
int action,
int mods);
MouseButton
This enum wraps the GLFW mouse buttons.
Key
This enum wraps the GLFW keys.
This class wraps a GLFW error callback.
Modifier
This enum wraps the GLFW modifier bits.
Generic namespace for the SimpleGL framework.
This class wraps a GLFW key callback.
Action
This enum wraps the GLFW actions.
static KeyCallback * current
Stores the current instance of the key callback.
static ErrorCallback * current
Stores the current instance of the error callback.