JackUtils 0.5
Provides simplified Jack API for clients :)
|
class of variable. More...
#include <ju_vars.h>
Data Fields | |
void(* | render )(jg_ctx_t *gui, ju_var_t *v) |
function (method) to render this variable, and maybe even process and change it with the user input :) More... | |
int(* | parse )(FILE *f, ju_var_t *v) |
Parses (reads) variable from a file. More... | |
int(* | write )(FILE *f, ju_var_t *v) |
Serializes (writes) variable to the file. More... | |
float | widthratio |
Specifies ratio width/height (optional). | |
class of variable.
Specifies rendering, parsing, and writing functions.
int(* ju_varclass::parse) (FILE *f, ju_var_t *v) |
Parses (reads) variable from a file.
WARINIG: DON'T FORGET TO PROTECT VARIABLE CHANGING WITH MUTEX! ALWAYS use '
' or EOF character as break for reading.
f | stdlib FILE |
v | current variable |
void(* ju_varclass::render) (jg_ctx_t *gui, ju_var_t *v) |
function (method) to render this variable, and maybe even process and change it with the user input :)
WARINIG: DON'T FORGET TO PROTECT VARIABLE CHANGING WITH MUTEX!
gui | JackGui Context |
v | current variable |
int(* ju_varclass::write) (FILE *f, ju_var_t *v) |
Serializes (writes) variable to the file.
WARINIG: DON'T FORGET TO PROTECT VARIABLE CHANGING WITH MUTEX!
WARNING: DO NOT WRITE characters '=' and '
' INTO THE FILE!
f | stdlib FILE |
v | current variable |