Vulkan2D
2D renderer written in C using Vulkan and SDL2
Loading...
Searching...
No Matches
Gui.h
Go to the documentation of this file.
1
4
5#pragma once
6
7#include "VK2D/nuklear_defs.h"
8#include "VK2D/Structs.h"
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
17
20
23void vk2dGuiProcessEvent(SDL_Event *e);
24
27
28#ifdef __cplusplus
29}
30#endif
void vk2dGuiEndInput()
Call this at the end of your SDL event loop.
void vk2dGuiStartInput()
Call this at the beginning of your SDL event loop.
void vk2dGuiProcessEvent(SDL_Event *e)
Call this on each SDL event.
struct nk_context * vk2dGuiContext()
Returns the internal nuklear context for nuklear calls.
Forward declares struct typedefs.
Definition nuklear.h:5927