swissChili | bb478f1 | 2020-08-07 20:45:07 -0700 | [diff] [blame^] | 1 | #pragma once |
2 | |||||
3 | #include <stdint.h> | ||||
4 | |||||
5 | #undef NK_IMPLEMENTATION | ||||
6 | #define NK_INCLUDE_FIXED_TYPES | ||||
7 | #define NK_INCLUDE_STANDARD_IO | ||||
8 | #define NK_INCLUDE_STANDARD_VARARGS | ||||
9 | #define NK_INCLUDE_DEFAULT_ALLOCATOR | ||||
10 | #define NK_INCLUDE_VERTEX_BUFFER_OUTPUT | ||||
11 | #define NK_INCLUDE_FONT_BAKING | ||||
12 | #define NK_INCLUDE_DEFAULT_FONT | ||||
13 | #include "nuklear/nuklear.h" | ||||
14 | |||||
15 | // draw the CPU screen | ||||
16 | void screen(struct nk_context *ctx, uint8_t *mem, uint8_t size); |