Support for different platforms. Platform_desktop_sdl.

This commit is contained in:
jussi
2023-11-23 00:00:49 +02:00
parent 85a48cf093
commit 1ab9722875
20 changed files with 775 additions and 733 deletions

View File

@@ -0,0 +1,16 @@
#pragma once
enum EventType {
GLFW_WINDOW_SIZE_EVENT,
GLFW_WINDOW_MAXIMIZE_EVENT,
GLFW_WINDOW_ICONYFY_EVENT,
GLFW_WINDOW_FOCUS_EVENT,
GLFW_WINDOW_DROP_EVENT,
GLFW_KEY_EVENT,
GLFW_CHAR_EVENT,
GLFW_MOUSE_BUTTON_EVENT,
GLFW_MOUSE_CURSOR_POS_EVENT,
GLFW_MOUSE_SCROLL_EVENT,
GLFW_CURSOR_ENTER_EVENT,
GLFW_JOYSTICK_EVENT
};