19 lines
524 B
C
19 lines
524 B
C
|
#ifndef NK_SDL_H_
|
||
|
#define NK_SDL_H_
|
||
|
|
||
|
#include "../../nuklear.h"
|
||
|
|
||
|
#include <SDL2/SDL.h>
|
||
|
|
||
|
NK_API struct nk_context *nk_sdl_init(SDL_Window *win);
|
||
|
NK_API void nk_sdl_font_stash_begin(struct nk_font_atlas **atlas);
|
||
|
NK_API void nk_sdl_font_stash_end(void);
|
||
|
NK_API void nk_sdl_handle_event(SDL_Event *evt);
|
||
|
NK_API void nk_sdl_render(enum nk_anti_aliasing , int max_vertex_buffer, int max_element_buffer);
|
||
|
NK_API void nk_sdl_shutdown(void);
|
||
|
|
||
|
NK_API void nk_sdl_device_destroy(void);
|
||
|
NK_API void nk_sdl_device_create(void);
|
||
|
|
||
|
#endif
|