RGFW
A multi-platform single-header very simple-to-use framework library for creating GUI Libraries or simple GUI programs.
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
handling

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)
 

Detailed Description

Macro Definition Documentation

◆ RGFW_DEBUG_CTX

#define RGFW_DEBUG_CTX (   win,
  err 
)    (RGFW_debugContext){win, NULL, err}

◆ RGFW_DEBUG_CTX_MON

#define RGFW_DEBUG_CTX_MON (   monitor)    (RGFW_debugContext){_RGFW->root, &monitor, 0}

Typedef Documentation

◆ RGFW_debugContext

◆ RGFW_debugfunc

typedef void(* RGFW_debugfunc) (RGFW_debugType type, RGFW_errorCode err, RGFW_debugContext ctx, const char *msg)

Function Documentation

◆ RGFW_ENUM() [1/2]

typedef RGFW_ENUM ( u8  ,
RGFW_debugType   
)

◆ RGFW_ENUM() [2/2]

typedef RGFW_ENUM ( u8  ,
RGFW_errorCode   
)

< no error

< error with the OpenGL context

◆ RGFW_sendDebugInfo()

RGFWDEF void RGFW_sendDebugInfo ( RGFW_debugType  type,
RGFW_errorCode  err,
RGFW_debugContext  ctx,
const char *  msg 
)

◆ RGFW_setDebugCallback()

RGFWDEF RGFW_debugfunc RGFW_setDebugCallback ( RGFW_debugfunc  func)