PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::glfw_window_internal::CallbackAdapter Class Reference

Classes

struct  State
 

Public Types

enum class  KeyAction { Press , Release , Repeat }
 
enum class  MouseButtonAction { Press , Release }
 

Static Public Member Functions

static void HandleWindowSize (State state, int width, int height)
 
static void HandleWindowClose (State state)
 
static void HandleKeyAction (State state, input::KeyCode key_code, KeyAction action)
 
static void HandleKeyTyped (State state, input::KeyCode key_code)
 
static void HandleMouseButtonAction (State state, input::MouseCode button, MouseButtonAction action)
 
static void HandleMouseScroll (State state, float x_offset, float y_offset)
 
static void HandleCursorPosition (State state, float x_pos, float y_pos)
 
static void HandleFramebufferSize (State state, int width, int height)
 
static void HandleFocusChanged (State state, bool focused)
 
static void HandleWindowMoved (State state, int x, int y)
 

The documentation for this class was generated from the following files: