PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::window_internal::WindowCallbackAdapter 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, pixelbullet::input::KeyCode key_code, KeyAction action)
static void HandleTextInput (State state, char32_t codepoint)
static void HandleMouseButtonAction (State state, pixelbullet::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 HandleContentScale (State state, float x_scale, float y_scale)
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: