FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
gfx_driver_null.c
Go to the documentation of this file.
1
/* null driver for non-displayed gfx handling */
2
3
#include "
fb_gfx.h
"
4
5
static
void
driver_dummy
(
void
);
6
7
8
const
GFXDRIVER
__fb_gfxDriverNull
=
9
{
10
"Null"
,
/* char *name; */
11
NULL
,
/* int (*init)(int w, int h, char *title, int fullscreen); */
12
NULL
,
/* void (*exit)(void); */
13
driver_dummy
,
/* void (*lock)(void); */
14
driver_dummy
,
/* void (*unlock)(void); */
15
NULL
,
/* void (*set_palette)(int index, int r, int g, int b); */
16
NULL
,
/* void (*wait_vsync)(void); */
17
NULL
,
/* int (*get_mouse)(int *x, int *y, int *z, int *buttons); */
18
NULL
,
/* void (*set_mouse)(int x, int y, int cursor); */
19
NULL
,
/* void (*set_window_title)(char *title); */
20
NULL
,
/* int (*set_window_pos)(int x, int y); */
21
NULL
,
/* int *(*fetch_modes)(int depth, int *size); */
22
NULL
/* void (*flip)(void); */
23
};
24
25
26
/*:::::*/
27
static
void
driver_dummy
(
void
)
28
{
29
}
30
gfxlib2
gfx_driver_null.c
Generated on Thu Jan 23 2014 19:40:06 for FreeBASIC by
1.8.4