FB Graphics
FBGraphics (FBG) : Simple C 16, 24, 32 bpp generic graphics library with parallelism support and custom backend.
Data Structures | Functions
fbg_gba.h File Reference
#include "fbgraphics.h"

Go to the source code of this file.

Data Structures

struct  _fbg_gba_context
 fbdev wrapper data structure More...
 

Functions

struct _fbgfbg_gbaSetup (int mode)
 initialize a FB Graphics context More...
 

Data Structure Documentation

◆ _fbg_gba_context

struct _fbg_gba_context

fbdev wrapper data structure

Definition at line 34 of file fbg_gba.h.

Data Fields
unsigned short * buffer
int mode

Function Documentation

◆ fbg_gbaSetup()

struct _fbg* fbg_gbaSetup ( int  mode)

initialize a FB Graphics context

Parameters
modeGBA bitmap modes (3 = 240x160x16, 4 = 240x160x8 page flip, 5 = 160x128x16 page flip)
Returns
_fbg structure pointer to pass to any FBG library functions