Initial commit
This commit is contained in:
1030
lib/minifb/upstream/src/wayland/WaylandMiniFB.c
Normal file
1030
lib/minifb/upstream/src/wayland/WaylandMiniFB.c
Normal file
File diff suppressed because it is too large
Load Diff
46
lib/minifb/upstream/src/wayland/WindowData_Way.h
Normal file
46
lib/minifb/upstream/src/wayland/WindowData_Way.h
Normal file
@ -0,0 +1,46 @@
|
||||
#pragma once
|
||||
|
||||
#include <MiniFB_enums.h>
|
||||
#include <stdint.h>
|
||||
|
||||
struct wl_display;
|
||||
struct wl_registry;
|
||||
struct wl_compositor;
|
||||
struct wl_shell;
|
||||
struct wl_seat;
|
||||
struct wl_keyboard;
|
||||
struct wl_pointer;
|
||||
struct wl_callback;
|
||||
struct wl_shm;
|
||||
struct wl_shm_pool;
|
||||
struct wl_surface;
|
||||
struct wl_shell_surface;
|
||||
struct wl_buffer;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
struct wl_display *display;
|
||||
struct wl_registry *registry;
|
||||
struct wl_compositor *compositor;
|
||||
struct wl_shell *shell;
|
||||
struct wl_seat *seat;
|
||||
struct wl_keyboard *keyboard;
|
||||
|
||||
struct wl_pointer *pointer;
|
||||
struct wl_cursor_theme *cursor_theme;
|
||||
struct wl_cursor *default_cursor;
|
||||
struct wl_surface *cursor_surface;
|
||||
|
||||
struct wl_shm *shm;
|
||||
struct wl_shm_pool *shm_pool;
|
||||
struct wl_surface *surface;
|
||||
struct wl_shell_surface *shell_surface;
|
||||
|
||||
uint32_t seat_version;
|
||||
uint32_t shm_format;
|
||||
uint32_t *shm_ptr;
|
||||
|
||||
int fd;
|
||||
|
||||
struct mfb_timer *timer;
|
||||
} SWindowData_Way;
|
Reference in New Issue
Block a user