PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
callback_registration.h
1#pragma once
2
3#include "callback_state.h"
4
5#include <glm/glm.hpp>
6
7struct GLFWwindow;
8
9namespace pixelbullet
10{
11class Window;
12}
13
14namespace pixelbullet::glfw_window_internal
15{
17{
18 [[nodiscard]] static Window& GetWindow(GLFWwindow* window);
19 [[nodiscard]] static CallbackStateRef GetCallbackState(Window& window);
20 [[nodiscard]] static glm::vec2& GetContentScale(Window& window);
21};
22
23void RegisterCallbacks(GLFWwindow* window);
24} // namespace pixelbullet::glfw_window_internal
Definition window.h:34
Definition callback_registration.h:17