nuklear_sdl.h 442 B

123456789101112131415
  1. #ifndef NK_SDL_H_
  2. #define NK_SDL_H_
  3. #include "../../nuklear.h"
  4. #include <SDL2/SDL.h>
  5. NK_API struct nk_context *nk_sdl_init(SDL_Window *win);
  6. NK_API void nk_sdl_font_stash_begin(struct nk_font_atlas **atlas);
  7. NK_API void nk_sdl_font_stash_end(void);
  8. NK_API void nk_sdl_handle_event(SDL_Event *evt);
  9. NK_API void nk_sdl_render(enum nk_anti_aliasing , int max_vertex_buffer, int max_element_buffer);
  10. NK_API void nk_sdl_shutdown(void);
  11. #endif