RetroArch
|
#include <streams/file_stream.h>
#include "nk_common.h"
#include "../../menu_driver.h"
#include "../../../gfx/video_driver.h"
Classes | |
struct | nk_vertex |
Macros | |
#define | NK_INCLUDE_FIXED_TYPES |
#define | NK_INCLUDE_STANDARD_IO |
#define | NK_INCLUDE_DEFAULT_ALLOCATOR |
#define | NK_INCLUDE_VERTEX_BUFFER_OUTPUT |
#define | NK_INCLUDE_FONT_BAKING |
#define | NK_INCLUDE_DEFAULT_FONT |
#define | NK_IMPLEMENTATION |
Functions | |
struct nk_image | nk_common_image_load (const char *filename) |
char * | nk_common_file_load (const char *path, size_t *size) |
void | nk_common_device_init (struct nk_device *dev) |
void | nk_upload_atlas (struct nk_device *dev, const void *image, int width, int height) |
void | nk_common_device_shutdown (struct nk_device *dev) |
void | nk_common_device_draw (struct nk_device *dev, struct nk_context *ctx, int width, int height, enum nk_anti_aliasing AA) |
void * | nk_common_mem_alloc (nk_handle a, void *old, nk_size b) |
void | nk_common_mem_free (nk_handle unused, void *ptr) |
Variables | |
struct nk_font * | font |
struct nk_font_atlas | atlas |
struct nk_user_font | usrfnt |
struct nk_allocator | nk_alloc |
struct nk_device | device |
#define NK_IMPLEMENTATION |
#define NK_INCLUDE_DEFAULT_ALLOCATOR |
#define NK_INCLUDE_DEFAULT_FONT |
#define NK_INCLUDE_FIXED_TYPES |
#define NK_INCLUDE_FONT_BAKING |
#define NK_INCLUDE_STANDARD_IO |
#define NK_INCLUDE_VERTEX_BUFFER_OUTPUT |
void nk_common_device_draw | ( | struct nk_device * | dev, |
struct nk_context * | ctx, | ||
int | width, | ||
int | height, | ||
enum nk_anti_aliasing | AA | ||
) |
char* nk_common_file_load | ( | const char * | path, |
size_t * | size | ||
) |
struct nk_font_atlas atlas |
struct nk_device device |
struct nk_font* font |
struct nk_allocator nk_alloc |
struct nk_user_font usrfnt |