36#include <ext/nuklear.h>
38typedef struct nk_context jg_ctx_t;
49JG_API jg_ctx_t*
jg_init(
const char* title,
int w,
int h);
69JG_API
int jg_begin(jg_ctx_t* u,
int fullscreen);
80JG_API
void jg_end(jg_ctx_t* u,
int mul);
96JG_API
void jg_set_visibility(jg_ctx_t* u,
int s);
163float jg_whell_float(jg_ctx_t* ctx,
float value,
float min,
float max);
JG_API void jg_sync_visibility(jg_ctx_t *gui, ju_ctx_t *ctx)
Synchronize window visibility with Session Manager (if has one, else do nothing).
Definition: jackgui.c:276
JG_API jg_ctx_t * jg_init(const char *title, int w, int h)
Initializes GUI context.
Definition: jackgui.c:58
JG_API void jg_show_message(jg_ctx_t *u, ju_cstr_t msg)
Notifies user with message.
Definition: jackgui.c:263
JG_API int jg_begin(jg_ctx_t *u, int fullscreen)
Starts GUI objects enumeration.
Definition: jackgui.c:107
JG_API void jg_request_redraw(jg_ctx_t *u)
Sends redraw event to internal event pool.
Definition: jackgui.c:298
JG_API void jg_end(jg_ctx_t *u, int mul)
Ends GUI objects enumeration.
Definition: jackgui.c:250
JG_API void jg_uninit(jg_ctx_t *u)
Destroys GUI context.
Definition: jackgui.c:98
JG_API void jg_show_about(jg_ctx_t *u)
Shows about subwindow with information about your program.
Definition: jackgui.c:272
const char * ju_cstr_t
Informative type definition.
Definition: jackutils.h:64
JG_API void jg_image_free(struct nk_image img)
Frees nuklear image.
JG_API struct nk_image jg_image_load_from_memory(const unsigned char *ptr, int w, int h, int channels)
Nuklear Image load function.
JG_API struct nk_image jg_jackutils_icon(void)
Definition: jackgui.c:54
Internal JackUtils context structure.
Definition: ju_bits_ctx.h:39