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
11
extern
"C"
{
12
#endif
13
16
struct
nk_context
*
vk2dGuiContext
();
17
19
void
vk2dGuiStartInput
();
20
23
void
vk2dGuiProcessEvent
(SDL_Event *e);
24
26
void
vk2dGuiEndInput
();
27
28
#ifdef __cplusplus
29
}
30
#endif
vk2dGuiEndInput
void vk2dGuiEndInput()
Call this at the end of your SDL event loop.
vk2dGuiStartInput
void vk2dGuiStartInput()
Call this at the beginning of your SDL event loop.
vk2dGuiProcessEvent
void vk2dGuiProcessEvent(SDL_Event *e)
Call this on each SDL event.
vk2dGuiContext
struct nk_context * vk2dGuiContext()
Returns the internal nuklear context for nuklear calls.
Structs.h
Forward declares struct typedefs.
nk_context
Definition
nuklear.h:5927
VK2D
Gui.h
Generated by
1.9.8