FreeBASIC  0.91.0
gfx_driver_gdi.c File Reference
#include "../fb_gfx.h"
#include "fb_gfx_win32.h"
Include dependency graph for gfx_driver_gdi.c:

Go to the source code of this file.

Macros

#define SCREENLIST(w, h)   ((h) | (w) << 16)
 
#define LWA_COLORKEY   0x00000001
 

Functions

static int driver_init (char *title, int w, int h, int depth, int refresh_rate, int flags)
 
static int * driver_fetch_modes (int depth, int *size)
 
static void alpha_remover_blitter (unsigned char *dest, int pitch)
 
static void gdi_paint (void)
 
static int gdi_init (void)
 
static void gdi_exit (void)
 
static DWORD WINAPI gdi_thread (LPVOID param)
 

Variables

GFXDRIVER fb_gfxDriverGDI
 
static BITMAPINFO * bitmap_info
 
static HPALETTE palette
 
static unsigned char * buffer
 

Macro Definition Documentation

#define LWA_COLORKEY   0x00000001

Definition at line 8 of file gfx_driver_gdi.c.

#define SCREENLIST (   w,
 
)    ((h) | (w) << 16)

Definition at line 6 of file gfx_driver_gdi.c.

Function Documentation

static void alpha_remover_blitter ( unsigned char *  dest,
int  pitch 
)
static

Definition at line 36 of file gfx_driver_gdi.c.

Here is the caller graph for this function:

static int * driver_fetch_modes ( int  depth,
int *  size 
)
static

Definition at line 322 of file gfx_driver_gdi.c.

static int driver_init ( char *  title,
int  w,
int  h,
int  depth,
int  refresh_rate,
int  flags 
)
static

Definition at line 308 of file gfx_driver_gdi.c.

Here is the call graph for this function:

static void gdi_exit ( void  )
static

Definition at line 204 of file gfx_driver_gdi.c.

Here is the caller graph for this function:

static int gdi_init ( void  )
static

Definition at line 76 of file gfx_driver_gdi.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void gdi_paint ( void  )
static

Definition at line 58 of file gfx_driver_gdi.c.

Here is the caller graph for this function:

static DWORD WINAPI gdi_thread ( LPVOID  param)
static

Definition at line 222 of file gfx_driver_gdi.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

BITMAPINFO* bitmap_info
static

Definition at line 32 of file gfx_driver_gdi.c.

unsigned char* buffer
static

Definition at line 34 of file gfx_driver_gdi.c.

HPALETTE palette
static

Definition at line 33 of file gfx_driver_gdi.c.