From b848bb01414440ab15111dd70598df9587030e09 Mon Sep 17 00:00:00 2001 From: User Date: Fri, 17 May 2024 08:13:14 +0000 Subject: [PATCH] added nk_sdl_handle_grab declarations to demo/sdl_*/ headers --- demo/sdl_opengl2/nuklear_sdl_gl2.h | 1 + demo/sdl_opengl3/nuklear_sdl_gl3.h | 1 + demo/sdl_opengles2/nuklear_sdl_gles2.h | 1 + demo/sdl_renderer/nuklear_sdl_renderer.h | 1 + 4 files changed, 4 insertions(+) diff --git a/demo/sdl_opengl2/nuklear_sdl_gl2.h b/demo/sdl_opengl2/nuklear_sdl_gl2.h index fbc7ec736..16e11c030 100644 --- a/demo/sdl_opengl2/nuklear_sdl_gl2.h +++ b/demo/sdl_opengl2/nuklear_sdl_gl2.h @@ -20,6 +20,7 @@ NK_API void nk_sdl_font_stash_end(void); NK_API int nk_sdl_handle_event(SDL_Event *evt); NK_API void nk_sdl_render(enum nk_anti_aliasing); NK_API void nk_sdl_shutdown(void); +NK_API void nk_sdl_handle_grab(void); #endif /* diff --git a/demo/sdl_opengl3/nuklear_sdl_gl3.h b/demo/sdl_opengl3/nuklear_sdl_gl3.h index 6c9d4b174..41653697f 100644 --- a/demo/sdl_opengl3/nuklear_sdl_gl3.h +++ b/demo/sdl_opengl3/nuklear_sdl_gl3.h @@ -24,6 +24,7 @@ NK_API void nk_sdl_render(enum nk_anti_aliasing , int max_vertex NK_API void nk_sdl_shutdown(void); NK_API void nk_sdl_device_destroy(void); NK_API void nk_sdl_device_create(void); +NK_API void nk_sdl_handle_grab(void); #endif diff --git a/demo/sdl_opengles2/nuklear_sdl_gles2.h b/demo/sdl_opengles2/nuklear_sdl_gles2.h index 6f46d5200..404d48aab 100644 --- a/demo/sdl_opengles2/nuklear_sdl_gles2.h +++ b/demo/sdl_opengles2/nuklear_sdl_gles2.h @@ -27,6 +27,7 @@ NK_API void nk_sdl_render(enum nk_anti_aliasing , int max_vertex NK_API void nk_sdl_shutdown(void); NK_API void nk_sdl_device_destroy(void); NK_API void nk_sdl_device_create(void); +NK_API void nk_sdl_handle_grab(void); #endif diff --git a/demo/sdl_renderer/nuklear_sdl_renderer.h b/demo/sdl_renderer/nuklear_sdl_renderer.h index fb8596f7a..810991e95 100644 --- a/demo/sdl_renderer/nuklear_sdl_renderer.h +++ b/demo/sdl_renderer/nuklear_sdl_renderer.h @@ -18,6 +18,7 @@ NK_API void nk_sdl_font_stash_end(void); NK_API int nk_sdl_handle_event(SDL_Event *evt); NK_API void nk_sdl_render(enum nk_anti_aliasing); NK_API void nk_sdl_shutdown(void); +NK_API void nk_sdl_handle_grab(void); #if SDL_COMPILEDVERSION < SDL_VERSIONNUM(2, 0, 22) /* Metal API does not support cliprects with negative coordinates or large