Nuklear+
 All Classes Files Functions Enumerations Enumerator Macros Groups Pages
Functions
Images manipulating functions

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...
 

Detailed Description

Loading from file/memory and finalization.

Function Documentation

NK_API int nkc_get_desktop_size ( struct nkc *  nkcHandle,
int *  width,
int *  height 
)

Gets the desktop size in pixels. In browsers - draw area.

Parameters
width- desktop width, will be 0 if error
height- desktop height, will be 0 if error
Returns
nk_true if correct and nk_false if something wrong