![]() |
RGFW
A multi-platform single-header very simple-to-use framework library for creating GUI Libraries or simple GUI programs.
|
Classes | |
struct | RGFW_debugContext |
Macros | |
#define | RGFW_DEBUG_CTX(win, err) (RGFW_debugContext){win, NULL, err} |
#define | RGFW_DEBUG_CTX_MON(monitor) (RGFW_debugContext){_RGFW->root, &monitor, 0} |
Typedefs | |
typedef struct RGFW_debugContext | RGFW_debugContext |
typedef void(* | RGFW_debugfunc) (RGFW_debugType type, RGFW_errorCode err, RGFW_debugContext ctx, const char *msg) |
Functions | |
typedef | RGFW_ENUM (u8, RGFW_debugType) |
typedef | RGFW_ENUM (u8, RGFW_errorCode) |
RGFWDEF RGFW_debugfunc | RGFW_setDebugCallback (RGFW_debugfunc func) |
RGFWDEF void | RGFW_sendDebugInfo (RGFW_debugType type, RGFW_errorCode err, RGFW_debugContext ctx, const char *msg) |
#define RGFW_DEBUG_CTX | ( | win, | |
err | |||
) | (RGFW_debugContext){win, NULL, err} |
#define RGFW_DEBUG_CTX_MON | ( | monitor | ) | (RGFW_debugContext){_RGFW->root, &monitor, 0} |
typedef struct RGFW_debugContext RGFW_debugContext |
typedef void(* RGFW_debugfunc) (RGFW_debugType type, RGFW_errorCode err, RGFW_debugContext ctx, const char *msg) |
typedef RGFW_ENUM | ( | u8 | , |
RGFW_debugType | |||
) |
typedef RGFW_ENUM | ( | u8 | , |
RGFW_errorCode | |||
) |
< no error
< error with the OpenGL context
RGFWDEF void RGFW_sendDebugInfo | ( | RGFW_debugType | type, |
RGFW_errorCode | err, | ||
RGFW_debugContext | ctx, | ||
const char * | msg | ||
) |
RGFWDEF RGFW_debugfunc RGFW_setDebugCallback | ( | RGFW_debugfunc | func | ) |