Nuklear+
|
Loading from file/memory and finalization. More...
Functions | |
NK_API struct nk_image | nkc_load_image_file (struct nkc *nkcHandle, const char *filename) |
NK_API struct nk_image | nkc_load_image_memory (struct nkc *nkcHandle, const void *membuf, int membufSize) |
NK_API void | nkc_image_free (struct nk_image *img) |
NK_API int | nkc_get_desktop_size (struct nkc *nkcHandle, int *width, int *height) |
Gets the desktop size in pixels. In browsers - draw area. More... | |
Loading from file/memory and finalization.
NK_API int nkc_get_desktop_size | ( | struct nkc * | nkcHandle, |
int * | width, | ||
int * | height | ||
) |
Gets the desktop size in pixels. In browsers - draw area.
width | - desktop width, will be 0 if error |
height | - desktop height, will be 0 if error |