FreeBASIC
0.91.0
|
#include "../rtlib/fb.h"
Go to the source code of this file.
Data Structures | |
struct | _GFX_CHAR_CELL |
struct | _EVENT |
struct | FB_GFXCTX |
struct | FBGFX |
struct | GFXDRIVER |
struct | PALETTE |
struct | FONT |
struct | _PUT_HEADER |
Macros | |
#define | PI 3.1415926535897932384626 |
#define | BYTES_PER_PIXEL(d) (((d) + 7) / 8) |
#define | BPP_MASK(b) ((int)((1LL << ((b) << 3)) - 1)) |
#define | DRIVER_LOCK() do { fb_GfxLock(); } while (0) |
#define | DRIVER_UNLOCK() do { fb_GfxUnlock(1, 0); } while (0) /* start_line > end_line so dirty is not modified */ |
#define | SET_DIRTY(c, y, h) { if (__fb_gfx->framebuffer == (c)->line[0]) fb_hMemSet(__fb_gfx->dirty + (y), TRUE, (h)); } |
#define | EVENT_LOCK() { fb_MutexLock(__fb_gfx->event_mutex); } |
#define | EVENT_UNLOCK() { fb_MutexUnlock(__fb_gfx->event_mutex); } |
#define | DRIVER_NULL -1 |
#define | DRIVER_FULLSCREEN 0x00000001 |
#define | DRIVER_OPENGL 0x00000002 |
#define | DRIVER_NO_SWITCH 0x00000004 |
#define | DRIVER_NO_FRAME 0x00000008 |
#define | DRIVER_SHAPED_WINDOW 0x00000010 |
#define | DRIVER_ALWAYS_ON_TOP 0x00000020 |
#define | DRIVER_ALPHA_PRIMITIVES 0x00000040 |
#define | DRIVER_HIGH_PRIORITY 0x00000080 |
#define | DRIVER_OPENGL_OPTIONS 0x000F0000 |
#define | HAS_STENCIL_BUFFER 0x00010000 |
#define | HAS_ACCUMULATION_BUFFER 0x00020000 |
#define | HAS_MULTISAMPLE 0x00040000 |
#define | HAS_MMX 0x01000000 |
#define | SCREEN_EXIT 0x80000000 |
#define | PRINT_SCROLL_WAS_OFF 0x00000004 |
#define | ALPHA_PRIMITIVES 0x00000008 |
#define | OPENGL_PRIMITIVES 0x00000010 |
#define | HIGH_PRIORITY 0x00000020 |
#define | QB_COMPATIBILITY 0x10000000 |
#define | OPENGL_SUPPORT 0x20000000 |
#define | CTX_BUFFER_INIT 0x00000001 |
#define | CTX_BUFFER_SET 0x00000002 |
#define | CTX_WINDOW_ACTIVE 0x00000004 |
#define | CTX_WINDOW_SCREEN 0x00000008 |
#define | CTX_VIEWPORT_SET 0x00000010 |
#define | CTX_VIEW_SCREEN 0x00000020 |
#define | COORD_TYPE_AA 0 |
#define | COORD_TYPE_AR 1 |
#define | COORD_TYPE_RA 2 |
#define | COORD_TYPE_RR 3 |
#define | COORD_TYPE_A 4 |
#define | COORD_TYPE_R 5 |
#define | COORD_TYPE_MASK 0x00000007 |
#define | DEFAULT_COLOR_1 0x80000000 |
#define | DEFAULT_COLOR_2 0x40000000 |
#define | VIEW_SCREEN 0x00000001 |
#define | LINE_TYPE_LINE 0 |
#define | LINE_TYPE_B 1 |
#define | LINE_TYPE_BF 2 |
#define | PAINT_TYPE_FILL 0 |
#define | PAINT_TYPE_PATTERN 1 |
#define | MASK_COLOR_32 0xFF00FF |
#define | MASK_COLOR_16 0xF81F |
#define | MASK_RB_32 0x00FF00FF |
#define | MASK_G_32 0x0000FF00 |
#define | MASK_GA_32 0xFF00FF00 |
#define | MASK_A_32 0xFF000000 |
#define | MASK_RB_16 0xF81F |
#define | MASK_R_16 0xF800 |
#define | MASK_G_16 0x07E0 |
#define | MASK_B_16 0x001F |
#define | PUT_HEADER_NEW 0x7 |
#define | PUT_MODE_TRANS 0 |
#define | PUT_MODE_PSET 1 |
#define | PUT_MODE_PRESET 2 |
#define | PUT_MODE_AND 3 |
#define | PUT_MODE_OR 4 |
#define | PUT_MODE_XOR 5 |
#define | PUT_MODE_ALPHA 6 |
#define | PUT_MODE_ADD 7 |
#define | PUT_MODE_CUSTOM 8 |
#define | PUT_MODE_BLEND 9 |
#define | PUT_MODES 10 |
#define | WINDOW_TITLE_SIZE 128 |
#define | EVENT_KEY_PRESS 1 |
#define | EVENT_KEY_RELEASE 2 |
#define | EVENT_KEY_REPEAT 3 |
#define | EVENT_MOUSE_MOVE 4 |
#define | EVENT_MOUSE_BUTTON_PRESS 5 |
#define | EVENT_MOUSE_BUTTON_RELEASE 6 |
#define | EVENT_MOUSE_DOUBLE_CLICK 7 |
#define | EVENT_MOUSE_WHEEL 8 |
#define | EVENT_MOUSE_ENTER 9 |
#define | EVENT_MOUSE_EXIT 10 |
#define | EVENT_WINDOW_GOT_FOCUS 11 |
#define | EVENT_WINDOW_LOST_FOCUS 12 |
#define | EVENT_WINDOW_CLOSE 13 |
#define | EVENT_MOUSE_HWHEEL 14 |
#define | MAX_EVENTS 128 |
#define | BUTTON_LEFT 0x1 |
#define | BUTTON_RIGHT 0x2 |
#define | BUTTON_MIDDLE 0x4 |
#define | BUTTON_X1 0x8 |
#define | BUTTON_X2 0x10 |
#define | GET_WINDOW_POS 0 |
#define | GET_WINDOW_TITLE 1 |
#define | GET_WINDOW_HANDLE 2 |
#define | GET_DESKTOP_SIZE 3 |
#define | GET_SCREEN_SIZE 4 |
#define | GET_SCREEN_DEPTH 5 |
#define | GET_SCREEN_BPP 6 |
#define | GET_SCREEN_PITCH 7 |
#define | GET_SCREEN_REFRESH 8 |
#define | GET_DRIVER_NAME 9 |
#define | GET_TRANSPARENT_COLOR 10 |
#define | GET_VIEWPORT 11 |
#define | GET_PEN_POS 12 |
#define | GET_COLOR 13 |
#define | GET_ALPHA_PRIMITIVES 14 |
#define | GET_GL_EXTENSIONS 15 |
#define | GET_HIGH_PRIORITY 16 |
#define | SET_FIRST_SETTER 100 |
#define | SET_WINDOW_POS 100 |
#define | SET_WINDOW_TITLE 101 |
#define | SET_PEN_POS 102 |
#define | SET_DRIVER_NAME 103 |
#define | SET_ALPHA_PRIMITIVES 104 |
#define | SET_GL_COLOR_BITS 105 |
#define | SET_GL_COLOR_RED_BITS 106 |
#define | SET_GL_COLOR_GREEN_BITS 107 |
#define | SET_GL_COLOR_BLUE_BITS 108 |
#define | SET_GL_COLOR_ALPHA_BITS 109 |
#define | SET_GL_DEPTH_BITS 110 |
#define | SET_GL_STENCIL_BITS 111 |
#define | SET_GL_ACCUM_BITS 112 |
#define | SET_GL_ACCUM_RED_BITS 113 |
#define | SET_GL_ACCUM_GREEN_BITS 114 |
#define | SET_GL_ACCUM_BLUE_BITS 115 |
#define | SET_GL_ACCUM_ALPHA_BITS 116 |
#define | SET_GL_NUM_SAMPLES 117 |
#define | POLL_EVENTS 200 |
#define | FB_GFX_ACTIVE() (__fb_gfx!=NULL) |
Returns TRUE if application is in graphics mode. More... | |
#define | FB_GFX_GET_CODEPAGE() 437 |
Returns the code page as integral value. More... | |
#define | FB_GFX_GET_CHARSET() "CP437" |
Returns the character set as a string. More... | |
Typedefs | |
typedef void( | BLITTER )(unsigned char *, int) |
typedef FBCALL unsigned int( | BLENDER )(unsigned int, unsigned int, void *) |
typedef void( | PUTTER )(unsigned char *, unsigned char *, int, int, int, int, int, BLENDER *, void *) |
typedef struct _GFX_CHAR_CELL | GFX_CHAR_CELL |
typedef struct _EVENT | EVENT |
typedef struct FB_GFXCTX | FB_GFXCTX |
typedef struct FBGFX | FBGFX |
typedef struct GFXDRIVER | GFXDRIVER |
typedef struct PALETTE | PALETTE |
typedef struct FONT | FONT |
typedef struct _PUT_HEADER | PUT_HEADER |
typedef void(* | FBGFX_IMAGE_CONVERT )(const unsigned char *, unsigned char *, int) |
Enumerations | |
enum | { FB_FONT_8 = 0, FB_FONT_14, FB_FONT_16, FB_FONT_COUNT } |
enum | { FB_PALETTE_2 = 0, FB_PALETTE_16, FB_PALETTE_64, FB_PALETTE_256, FB_PALETTE_COUNT } |
Functions | |
FB_GFXCTX * | fb_hGetContext (void) |
void | fb_hSetupFuncs (int bpp) |
void | fb_hSetupData (void) |
FBCALL int | fb_hEncode (const unsigned char *in_buffer, ssize_t in_size, unsigned char *out_buffer, ssize_t *out_size) |
FBCALL int | fb_hDecode (const unsigned char *in_buffer, ssize_t in_size, unsigned char *out_buffer, ssize_t *out_size) |
void | fb_hPostEvent (EVENT *e) |
void | fb_hPostKey (int key) |
BLITTER * | fb_hGetBlitter (int device_depth, int is_rgb) |
unsigned int | fb_hMakeColor (int bpp, unsigned int index, int r, int g, int b) |
unsigned int | fb_hFixColor (int bpp, unsigned int color) |
void | fb_hRestorePalette (void) |
void | fb_hSetPaletteColorRgb (int index, int r, int g, int b) |
void | fb_hSetPaletteColor (int index, unsigned int color) |
void | fb_hPrepareTarget (FB_GFXCTX *ctx, void *target) |
void | fb_hSetPixelTransfer (FB_GFXCTX *ctx, unsigned int color) |
void | fb_hTranslateCoord (FB_GFXCTX *ctx, float fx, float fy, int *x, int *y) |
void | fb_hFixRelative (FB_GFXCTX *ctx, int coord_type, float *x1, float *y1, float *x2, float *y2) |
void | fb_hFixCoordsOrder (int *x1, int *y1, int *x2, int *y2) |
void | fb_hGfxBox (int x1, int y1, int x2, int y2, unsigned int color, int full, unsigned int style) |
void | fb_hScreenInfo (ssize_t *width, ssize_t *height, ssize_t *depth, ssize_t *refresh) |
void * | fb_hMemCpyMMX (void *dest, const void *src, size_t size) |
void * | fb_hMemSetMMX (void *dest, int value, size_t size) |
void | fb_hResetCharCells (FB_GFXCTX *context, int do_alloc) |
void | fb_hClearCharCells (int x1, int y1, int x2, int y2, int page, FB_WCHAR ch, unsigned fg, unsigned bg) |
void | fb_hSoftCursorInit (void) |
void | fb_hSoftCursorExit (void) |
void | fb_hSoftCursorPut (int x, int y) |
void | fb_hSoftCursorUnput (int x, int y) |
void | fb_hSoftCursorPaletteChanged (void) |
int | fb_hColorDistance (int index, int r, int g, int b) |
void * | fb_hPixelSetAlpha4 (void *dest, int color, size_t size) |
ssize_t | fb_hGetWindowHandle (void) |
FBCALL int | fb_GfxScreen (int mode, int depth, int num_pages, int flags, int refresh_rate) |
FBCALL int | fb_GfxScreenQB (int mode, int visible, int active) |
FBCALL int | fb_GfxScreenRes (int width, int height, int depth, int num_pages, int flags, int refresh_rate) |
FBCALL void | fb_GfxScreenInfo (ssize_t *width, ssize_t *height, ssize_t *depth, ssize_t *bpp, ssize_t *pitch, ssize_t *refresh_rate, FBSTRING *driver) |
FBCALL int | fb_GfxScreenList (int depth) |
FBCALL void * | fb_GfxImageCreate (int width, int height, unsigned int color, int depth, int flags) |
FBCALL void * | fb_GfxImageCreateQB (int width, int height, unsigned int color, int depth, int flags) |
FBCALL void | fb_GfxImageDestroy (void *image) |
FBCALL int | fb_GfxImageInfo (void *img, int *width, int *height, int *bpp, int *pitch, void **imgdata, int *size) |
FBCALL void | fb_GfxPalette (int index, int r, int g, int b) |
FBCALL void | fb_GfxPaletteUsing (int *data) |
FBCALL void | fb_GfxPaletteUsing64 (long long *data) |
FBCALL void | fb_GfxPaletteGet (int index, int *r, int *g, int *b) |
FBCALL void | fb_GfxPaletteGet64 (int index, long long *r, long long *g, long long *b) |
FBCALL void | fb_GfxPaletteGetUsing (int *data) |
FBCALL void | fb_GfxPaletteGetUsing64 (long long *data) |
FBCALL void | fb_GfxPset (void *target, float x, float y, unsigned int color, int coord_type, int ispreset) |
FBCALL int | fb_GfxPoint (void *target, float x, float y) |
FBCALL float | fb_GfxPMap (float coord, int func) |
FBCALL float | fb_GfxCursor (int func) |
FBCALL void | fb_GfxView (int x1, int y1, int x2, int y2, unsigned int fill_color, unsigned int border_color, int screen) |
FBCALL void | fb_GfxWindow (float x1, float y1, float x2, float y2, int screen) |
FBCALL void | fb_GfxLine (void *target, float x1, float y1, float x2, float y2, unsigned int color, int type, unsigned int style, int coord_type) |
FBCALL void | fb_GfxEllipse (void *target, float x, float y, float radius, unsigned int color, float aspect, float start, float end, int fill, int coord_type) |
FBCALL int | fb_GfxGet (void *target, float x1, float y1, float x2, float y2, unsigned char *dest, int coord_type, FBARRAY *array) |
FBCALL int | fb_GfxGetQB (void *target, float x1, float y1, float x2, float y2, unsigned char *dest, int coord_type, FBARRAY *array) |
FBCALL int | fb_GfxPut (void *target, float x, float y, unsigned char *src, int x1, int y1, int x2, int y2, int coord_type, int mode, PUTTER *putter, int alpha, BLENDER *blender, void *param) |
FBCALL int | fb_GfxWaitVSync (void) |
FBCALL void | fb_GfxPaint (void *target, float fx, float fy, unsigned int color, unsigned int border_color, FBSTRING *pattern, int mode, int coord_type) |
FBCALL void | fb_GfxDraw (void *target, FBSTRING *command) |
FBCALL int | fb_GfxDrawString (void *target, float fx, float fy, int coord_type, FBSTRING *string, unsigned int color, void *font, int mode, PUTTER *putter, BLENDER *blender, void *param) |
FBCALL int | fb_GfxFlip (int from_page, int to_page) |
FBCALL void | fb_GfxLock (void) |
FBCALL void | fb_GfxUnlock (int start_line, int end_line) |
FBCALL void * | fb_GfxScreenPtr (void) |
FBCALL void | fb_GfxSetWindowTitle (FBSTRING *title) |
FBCALL int | fb_GfxGetJoystick (int id, ssize_t *buttons, float *a1, float *a2, float *a3, float *a4, float *a5, float *a6, float *a7, float *a8) |
FBCALL int | fb_GfxEvent (EVENT *event) |
FBCALL void | fb_GfxControl_s (int what, FBSTRING *param) |
FBCALL void | fb_GfxControl_i (int what, ssize_t *param1, ssize_t *param2, ssize_t *param3, ssize_t *param4) |
FBCALL int | fb_GfxBload (FBSTRING *filename, void *dest, void *pal) |
FBCALL int | fb_GfxBloadQB (FBSTRING *filename, void *dest, void *pal) |
FBCALL int | fb_GfxBsave (FBSTRING *filename, void *src, unsigned int size, void *pal) |
FBCALL int | fb_GfxBsaveEx (FBSTRING *filename, void *src, unsigned int size, void *pal, int bitsperpixel) |
FBCALL void * | fb_GfxGetGLProcAddress (const char *proc) |
FBCALL int | fb_GfxStickQB (int n) |
FBCALL int | fb_GfxStrigQB (int n) |
int | fb_GfxGetkey (void) |
FBSTRING * | fb_GfxInkey (void) |
int | fb_GfxKeyHit (void) |
int | fb_GfxColor (int fg_color, int bg_color, int flags) |
void | fb_GfxClear (int mode) |
int | fb_GfxWidth (int w, int h) |
int | fb_GfxLocateRaw (int y, int x, int cursor) |
int | fb_GfxLocate (int y, int x, int cursor) |
int | fb_GfxGetX (void) |
int | fb_GfxGetY (void) |
void | fb_GfxGetXY (int *col, int *row) |
void | fb_GfxGetSize (int *cols, int *rows) |
void | fb_GfxPrintBuffer (const char *buffer, int mask) |
void | fb_GfxPrintBufferWstr (const FB_WCHAR *buffer, int mask) |
void | fb_GfxPrintBufferEx (const void *buffer, size_t len, int mask) |
void | fb_GfxPrintBufferWstrEx (const FB_WCHAR *buffer, size_t len, int mask) |
char * | fb_GfxReadStr (char *buffer, ssize_t maxlen) |
int | fb_GfxMultikey (int scancode) |
int | fb_GfxGetMouse (int *x, int *y, int *z, int *buttons, int *clip) |
int | fb_GfxSetMouse (int x, int y, int cursor, int clip) |
int | fb_GfxOut (unsigned short port, unsigned char value) |
int | fb_GfxIn (unsigned short port) |
int | fb_GfxLineInput (FBSTRING *text, void *dst, ssize_t dst_len, int fillrem, int addquestion, int addnewline) |
int | fb_GfxLineInputWstr (const FB_WCHAR *text, FB_WCHAR *dst, ssize_t max_chars, int addquestion, int addnewline) |
unsigned int | fb_GfxReadXY (int col, int row, int colorflag) |
void | fb_GfxSleep (int msecs) |
int | fb_GfxIsRedir (int is_input) |
int | fb_GfxPageCopy (int from_page, int to_page) |
int | fb_GfxPageSet (int work_page, int visible_page) |
void | fb_image_convert_8to8 (const unsigned char *src, unsigned char *dest, int w) |
void | fb_image_convert_8to16 (const unsigned char *src, unsigned char *dest, int w) |
void | fb_image_convert_8to32 (const unsigned char *src, unsigned char *dest, int w) |
void | fb_image_convert_24to16 (const unsigned char *src, unsigned char *dest, int w) |
void | fb_image_convert_24to32 (const unsigned char *src, unsigned char *dest, int w) |
void | fb_image_convert_32to16 (const unsigned char *src, unsigned char *dest, int w) |
void | fb_image_convert_32to32 (const unsigned char *src, unsigned char *dest, int w) |
void | fb_image_convert_24bgrto16 (const unsigned char *src, unsigned char *dest, int w) |
void | fb_image_convert_24bgrto32 (const unsigned char *src, unsigned char *dest, int w) |
void | fb_image_convert_32bgrto16 (const unsigned char *src, unsigned char *dest, int w) |
void | fb_image_convert_32bgrto32 (const unsigned char *src, unsigned char *dest, int w) |
FBCALL void | fb_GfxImageConvertRow (const unsigned char *src, int src_bpp, unsigned char *dest, int dst_bpp, int width, int isrgb) |
void | fb_hPutTrans (unsigned char *src, unsigned char *dest, int w, int h, int src_pitch, int dest_pitch, int alpha, BLENDER *blender, void *param) |
void | fb_hPutPSet (unsigned char *src, unsigned char *dest, int w, int h, int src_pitch, int dest_pitch, int alpha, BLENDER *blender, void *param) |
void | fb_hPutPReset (unsigned char *src, unsigned char *dest, int w, int h, int src_pitch, int dest_pitch, int alpha, BLENDER *blender, void *param) |
void | fb_hPutAnd (unsigned char *src, unsigned char *dest, int w, int h, int src_pitch, int dest_pitch, int alpha, BLENDER *blender, void *param) |
void | fb_hPutOr (unsigned char *src, unsigned char *dest, int w, int h, int src_pitch, int dest_pitch, int alpha, BLENDER *blender, void *param) |
void | fb_hPutXor (unsigned char *src, unsigned char *dest, int w, int h, int src_pitch, int dest_pitch, int alpha, BLENDER *blender, void *param) |
void | fb_hPutAlpha (unsigned char *src, unsigned char *dest, int w, int h, int src_pitch, int dest_pitch, int alpha, BLENDER *blender, void *param) |
void | fb_hPutBlend (unsigned char *src, unsigned char *dest, int w, int h, int src_pitch, int dest_pitch, int alpha, BLENDER *blender, void *param) |
void | fb_hPutAdd (unsigned char *src, unsigned char *dest, int w, int h, int src_pitch, int dest_pitch, int alpha, BLENDER *blender, void *param) |
void | fb_hPutCustom (unsigned char *src, unsigned char *dest, int w, int h, int src_pitch, int dest_pitch, int alpha, BLENDER *blender, void *param) |
Variables | |
struct _EVENT | FBPACKED |
FBGFX * | __fb_gfx |
char * | __fb_gfx_driver_name |
const GFXDRIVER * | __fb_gfx_drivers_list [] |
const GFXDRIVER | __fb_gfxDriverNull |
void *(* | fb_hMemCpy )(void *dest, const void *src, size_t size) |
void *(* | fb_hMemSet )(void *dest, int value, size_t size) |
void *(* | fb_hPixelCpy )(void *dest, const void *src, size_t size) |
void *(* | fb_hPixelSet )(void *dest, int color, size_t size) |
unsigned int * | __fb_color_conv_16to32 |
char * | __fb_window_title |
const FONT | __fb_font [FB_FONT_COUNT] |
const PALETTE | __fb_palette [FB_PALETTE_COUNT] |
#define DRIVER_LOCK | ( | ) | do { fb_GfxLock(); } while (0) |
#define DRIVER_UNLOCK | ( | ) | do { fb_GfxUnlock(1, 0); } while (0) /* start_line > end_line so dirty is not modified */ |
#define EVENT_LOCK | ( | ) | { fb_MutexLock(__fb_gfx->event_mutex); } |
#define EVENT_UNLOCK | ( | ) | { fb_MutexUnlock(__fb_gfx->event_mutex); } |
#define FB_GFX_ACTIVE | ( | ) | (__fb_gfx!=NULL) |
#define FB_GFX_GET_CHARSET | ( | ) | "CP437" |
#define FB_GFX_GET_CODEPAGE | ( | ) | 437 |
#define SET_DIRTY | ( | c, | |
y, | |||
h | |||
) | { if (__fb_gfx->framebuffer == (c)->line[0]) fb_hMemSet(__fb_gfx->dirty + (y), TRUE, (h)); } |
typedef FBCALL unsigned int( BLENDER)(unsigned int, unsigned int, void *) |
typedef void(* FBGFX_IMAGE_CONVERT)(const unsigned char *, unsigned char *, int) |
typedef struct _GFX_CHAR_CELL GFX_CHAR_CELL |
typedef struct _PUT_HEADER PUT_HEADER |
typedef void( PUTTER)(unsigned char *, unsigned char *, int, int, int, int, int, BLENDER *, void *) |
anonymous enum |
anonymous enum |
FBCALL int fb_GfxBsaveEx | ( | FBSTRING * | filename, |
void * | src, | ||
unsigned int | size, | ||
void * | pal, | ||
int | bitsperpixel | ||
) |
Definition at line 218 of file gfx_bsave.c.
void fb_GfxClear | ( | int | mode) |
int fb_GfxColor | ( | int | fg_color, |
int | bg_color, | ||
int | flags | ||
) |
Definition at line 7 of file gfx_color.c.
FBCALL void fb_GfxControl_i | ( | int | what, |
ssize_t * | param1, | ||
ssize_t * | param2, | ||
ssize_t * | param3, | ||
ssize_t * | param4 | ||
) |
FBCALL float fb_GfxCursor | ( | int | func) |
Definition at line 50 of file gfx_pmap.c.
Definition at line 37 of file gfx_draw.c.
FBCALL void fb_GfxEllipse | ( | void * | target, |
float | x, | ||
float | y, | ||
float | radius, | ||
unsigned int | color, | ||
float | aspect, | ||
float | start, | ||
float | end, | ||
int | fill, | ||
int | coord_type | ||
) |
Definition at line 7 of file gfx_event.c.
FBCALL int fb_GfxFlip | ( | int | from_page, |
int | to_page | ||
) |
Definition at line 7 of file gfx_page.c.
FBCALL void* fb_GfxGetGLProcAddress | ( | const char * | proc) |
FBCALL int fb_GfxGetJoystick | ( | int | id, |
ssize_t * | buttons, | ||
float * | a1, | ||
float * | a2, | ||
float * | a3, | ||
float * | a4, | ||
float * | a5, | ||
float * | a6, | ||
float * | a7, | ||
float * | a8 | ||
) |
Definition at line 24 of file gfx_joystick.c.
int fb_GfxGetkey | ( | void | ) |
Definition at line 60 of file gfx_inkey.c.
int fb_GfxGetMouse | ( | int * | x, |
int * | y, | ||
int * | z, | ||
int * | buttons, | ||
int * | clip | ||
) |
Definition at line 7 of file gfx_getmouse.c.
void fb_GfxGetSize | ( | int * | cols, |
int * | rows | ||
) |
int fb_GfxGetX | ( | void | ) |
void fb_GfxGetXY | ( | int * | col, |
int * | row | ||
) |
Definition at line 303 of file gfx_print.c.
int fb_GfxGetY | ( | void | ) |
FBCALL void fb_GfxImageConvertRow | ( | const unsigned char * | src, |
int | src_bpp, | ||
unsigned char * | dest, | ||
int | dst_bpp, | ||
int | width, | ||
int | isrgb | ||
) |
FBCALL void* fb_GfxImageCreate | ( | int | width, |
int | height, | ||
unsigned int | color, | ||
int | depth, | ||
int | flags | ||
) |
FBCALL void* fb_GfxImageCreateQB | ( | int | width, |
int | height, | ||
unsigned int | color, | ||
int | depth, | ||
int | flags | ||
) |
FBCALL void fb_GfxImageDestroy | ( | void * | image) |
Definition at line 89 of file gfx_image.c.
FBCALL int fb_GfxImageInfo | ( | void * | img, |
int * | width, | ||
int * | height, | ||
int * | bpp, | ||
int * | pitch, | ||
void ** | imgdata, | ||
int * | size | ||
) |
int fb_GfxIn | ( | unsigned short | port) |
FBSTRING* fb_GfxInkey | ( | void | ) |
Definition at line 87 of file gfx_inkey.c.
int fb_GfxIsRedir | ( | int | is_input) |
int fb_GfxKeyHit | ( | void | ) |
FBCALL void fb_GfxLine | ( | void * | target, |
float | x1, | ||
float | y1, | ||
float | x2, | ||
float | y2, | ||
unsigned int | color, | ||
int | type, | ||
unsigned int | style, | ||
int | coord_type | ||
) |
Definition at line 92 of file gfx_line.c.
int fb_GfxLineInput | ( | FBSTRING * | text, |
void * | dst, | ||
ssize_t | dst_len, | ||
int | fillrem, | ||
int | addquestion, | ||
int | addnewline | ||
) |
Definition at line 8 of file gfx_lineinp.c.
int fb_GfxLineInputWstr | ( | const FB_WCHAR * | text, |
FB_WCHAR * | dst, | ||
ssize_t | max_chars, | ||
int | addquestion, | ||
int | addnewline | ||
) |
Definition at line 6 of file gfx_lineinp_wstr.c.
int fb_GfxLocate | ( | int | y, |
int | x, | ||
int | cursor | ||
) |
Definition at line 284 of file gfx_print.c.
int fb_GfxLocateRaw | ( | int | y, |
int | x, | ||
int | cursor | ||
) |
FBCALL void fb_GfxLock | ( | void | ) |
Definition at line 7 of file gfx_access.c.
int fb_GfxMultikey | ( | int | scancode) |
int fb_GfxOut | ( | unsigned short | port, |
unsigned char | value | ||
) |
Definition at line 38 of file gfx_vgaemu.c.
int fb_GfxPageCopy | ( | int | from_page, |
int | to_page | ||
) |
Definition at line 77 of file gfx_page.c.
int fb_GfxPageSet | ( | int | work_page, |
int | visible_page | ||
) |
Definition at line 83 of file gfx_page.c.
FBCALL void fb_GfxPaint | ( | void * | target, |
float | fx, | ||
float | fy, | ||
unsigned int | color, | ||
unsigned int | border_color, | ||
FBSTRING * | pattern, | ||
int | mode, | ||
int | coord_type | ||
) |
Definition at line 43 of file gfx_paint.c.
FBCALL void fb_GfxPalette | ( | int | index, |
int | r, | ||
int | g, | ||
int | b | ||
) |
Definition at line 75 of file gfx_palette.c.
FBCALL void fb_GfxPaletteGet | ( | int | index, |
int * | r, | ||
int * | g, | ||
int * | b | ||
) |
Definition at line 5 of file gfx_paletteget.c.
FBCALL void fb_GfxPaletteGet64 | ( | int | index, |
long long * | r, | ||
long long * | g, | ||
long long * | b | ||
) |
Definition at line 5 of file gfx_paletteget64.c.
FBCALL void fb_GfxPaletteGetUsing | ( | int * | data) |
Definition at line 5 of file gfx_palettegetusing.c.
FBCALL void fb_GfxPaletteGetUsing64 | ( | long long * | data) |
Definition at line 5 of file gfx_palettegetusing64.c.
FBCALL void fb_GfxPaletteUsing | ( | int * | data) |
FBCALL void fb_GfxPaletteUsing64 | ( | long long * | data) |
FBCALL float fb_GfxPMap | ( | float | coord, |
int | func | ||
) |
Definition at line 7 of file gfx_pmap.c.
FBCALL int fb_GfxPoint | ( | void * | target, |
float | x, | ||
float | y | ||
) |
void fb_GfxPrintBuffer | ( | const char * | buffer, |
int | mask | ||
) |
Definition at line 270 of file gfx_print.c.
void fb_GfxPrintBufferEx | ( | const void * | buffer, |
size_t | len, | ||
int | mask | ||
) |
Definition at line 201 of file gfx_print.c.
void fb_GfxPrintBufferWstr | ( | const FB_WCHAR * | buffer, |
int | mask | ||
) |
void fb_GfxPrintBufferWstrEx | ( | const FB_WCHAR * | buffer, |
size_t | len, | ||
int | mask | ||
) |
Definition at line 5 of file gfx_print_wstr.c.
FBCALL void fb_GfxPset | ( | void * | target, |
float | x, | ||
float | y, | ||
unsigned int | color, | ||
int | coord_type, | ||
int | ispreset | ||
) |
char* fb_GfxReadStr | ( | char * | buffer, |
ssize_t | maxlen | ||
) |
Definition at line 16 of file gfx_readstr.c.
unsigned int fb_GfxReadXY | ( | int | col, |
int | row, | ||
int | colorflag | ||
) |
Definition at line 7 of file gfx_readxy.c.
FBCALL int fb_GfxScreen | ( | int | mode, |
int | depth, | ||
int | num_pages, | ||
int | flags, | ||
int | refresh_rate | ||
) |
Definition at line 370 of file gfx_screen.c.
FBCALL int fb_GfxScreenList | ( | int | depth) |
FBCALL void* fb_GfxScreenPtr | ( | void | ) |
FBCALL int fb_GfxScreenQB | ( | int | mode, |
int | visible, | ||
int | active | ||
) |
FBCALL int fb_GfxScreenRes | ( | int | width, |
int | height, | ||
int | depth, | ||
int | num_pages, | ||
int | flags, | ||
int | refresh_rate | ||
) |
int fb_GfxSetMouse | ( | int | x, |
int | y, | ||
int | cursor, | ||
int | clip | ||
) |
Definition at line 7 of file gfx_setmouse.c.
Definition at line 473 of file gfx_screen.c.
void fb_GfxSleep | ( | int | msecs) |
Definition at line 8 of file gfx_sleep.c.
FBCALL int fb_GfxStickQB | ( | int | n) |
FBCALL int fb_GfxStrigQB | ( | int | n) |
FBCALL void fb_GfxUnlock | ( | int | start_line, |
int | end_line | ||
) |
FBCALL void fb_GfxView | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2, | ||
unsigned int | fill_color, | ||
unsigned int | border_color, | ||
int | screen | ||
) |
Definition at line 7 of file gfx_view.c.
FBCALL int fb_GfxWaitVSync | ( | void | ) |
int fb_GfxWidth | ( | int | w, |
int | h | ||
) |
Definition at line 5 of file gfx_width.c.
FBCALL void fb_GfxWindow | ( | float | x1, |
float | y1, | ||
float | x2, | ||
float | y2, | ||
int | screen | ||
) |
void fb_hClearCharCells | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2, | ||
int | page, | ||
FB_WCHAR | ch, | ||
unsigned | fg, | ||
unsigned | bg | ||
) |
int fb_hColorDistance | ( | int | index, |
int | r, | ||
int | g, | ||
int | b | ||
) |
FBCALL int fb_hDecode | ( | const unsigned char * | in_buffer, |
ssize_t | in_size, | ||
unsigned char * | out_buffer, | ||
ssize_t * | out_size | ||
) |
FBCALL int fb_hEncode | ( | const unsigned char * | in_buffer, |
ssize_t | in_size, | ||
unsigned char * | out_buffer, | ||
ssize_t * | out_size | ||
) |
unsigned int fb_hFixColor | ( | int | bpp, |
unsigned int | color | ||
) |
Definition at line 25 of file gfx_palette.c.
void fb_hFixCoordsOrder | ( | int * | x1, |
int * | y1, | ||
int * | x2, | ||
int * | y2 | ||
) |
void fb_hFixRelative | ( | FB_GFXCTX * | ctx, |
int | coord_type, | ||
float * | x1, | ||
float * | y1, | ||
float * | x2, | ||
float * | y2 | ||
) |
BLITTER* fb_hGetBlitter | ( | int | device_depth, |
int | is_rgb | ||
) |
Definition at line 782 of file gfx_blitter.c.
FB_GFXCTX* fb_hGetContext | ( | void | ) |
Definition at line 40 of file gfx_core.c.
ssize_t fb_hGetWindowHandle | ( | void | ) |
void fb_hGfxBox | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2, | ||
unsigned int | color, | ||
int | full, | ||
unsigned int | style | ||
) |
unsigned int fb_hMakeColor | ( | int | bpp, |
unsigned int | index, | ||
int | r, | ||
int | g, | ||
int | b | ||
) |
void* fb_hMemCpyMMX | ( | void * | dest, |
const void * | src, | ||
size_t | size | ||
) |
void* fb_hMemSetMMX | ( | void * | dest, |
int | value, | ||
size_t | size | ||
) |
void* fb_hPixelSetAlpha4 | ( | void * | dest, |
int | color, | ||
size_t | size | ||
) |
void fb_hPostEvent | ( | EVENT * | e) |
void fb_hPostKey | ( | int | key) |
void fb_hPrepareTarget | ( | FB_GFXCTX * | ctx, |
void * | target | ||
) |
Definition at line 69 of file gfx_core.c.
void fb_hPutAdd | ( | unsigned char * | src, |
unsigned char * | dest, | ||
int | w, | ||
int | h, | ||
int | src_pitch, | ||
int | dest_pitch, | ||
int | alpha, | ||
BLENDER * | blender, | ||
void * | param | ||
) |
void fb_hPutAlpha | ( | unsigned char * | src, |
unsigned char * | dest, | ||
int | w, | ||
int | h, | ||
int | src_pitch, | ||
int | dest_pitch, | ||
int | alpha, | ||
BLENDER * | blender, | ||
void * | param | ||
) |
void fb_hPutAnd | ( | unsigned char * | src, |
unsigned char * | dest, | ||
int | w, | ||
int | h, | ||
int | src_pitch, | ||
int | dest_pitch, | ||
int | alpha, | ||
BLENDER * | blender, | ||
void * | param | ||
) |
void fb_hPutBlend | ( | unsigned char * | src, |
unsigned char * | dest, | ||
int | w, | ||
int | h, | ||
int | src_pitch, | ||
int | dest_pitch, | ||
int | alpha, | ||
BLENDER * | blender, | ||
void * | param | ||
) |
void fb_hPutCustom | ( | unsigned char * | src, |
unsigned char * | dest, | ||
int | w, | ||
int | h, | ||
int | src_pitch, | ||
int | dest_pitch, | ||
int | alpha, | ||
BLENDER * | blender, | ||
void * | param | ||
) |
void fb_hPutOr | ( | unsigned char * | src, |
unsigned char * | dest, | ||
int | w, | ||
int | h, | ||
int | src_pitch, | ||
int | dest_pitch, | ||
int | alpha, | ||
BLENDER * | blender, | ||
void * | param | ||
) |
void fb_hPutPReset | ( | unsigned char * | src, |
unsigned char * | dest, | ||
int | w, | ||
int | h, | ||
int | src_pitch, | ||
int | dest_pitch, | ||
int | alpha, | ||
BLENDER * | blender, | ||
void * | param | ||
) |
void fb_hPutPSet | ( | unsigned char * | src, |
unsigned char * | dest, | ||
int | w, | ||
int | h, | ||
int | src_pitch, | ||
int | dest_pitch, | ||
int | alpha, | ||
BLENDER * | blender, | ||
void * | param | ||
) |
void fb_hPutTrans | ( | unsigned char * | src, |
unsigned char * | dest, | ||
int | w, | ||
int | h, | ||
int | src_pitch, | ||
int | dest_pitch, | ||
int | alpha, | ||
BLENDER * | blender, | ||
void * | param | ||
) |
Definition at line 85 of file gfx_put_trans.c.
void fb_hPutXor | ( | unsigned char * | src, |
unsigned char * | dest, | ||
int | w, | ||
int | h, | ||
int | src_pitch, | ||
int | dest_pitch, | ||
int | alpha, | ||
BLENDER * | blender, | ||
void * | param | ||
) |
void fb_hResetCharCells | ( | FB_GFXCTX * | context, |
int | do_alloc | ||
) |
Definition at line 109 of file gfx_screen.c.
void fb_hRestorePalette | ( | void | ) |
void fb_hScreenInfo | ( | ssize_t * | width, |
ssize_t * | height, | ||
ssize_t * | depth, | ||
ssize_t * | refresh | ||
) |
void fb_hSetPaletteColor | ( | int | index, |
unsigned int | color | ||
) |
Definition at line 54 of file gfx_palette.c.
void fb_hSetPaletteColorRgb | ( | int | index, |
int | r, | ||
int | g, | ||
int | b | ||
) |
void fb_hSetPixelTransfer | ( | FB_GFXCTX * | ctx, |
unsigned int | color | ||
) |
void fb_hSetupData | ( | void | ) |
Definition at line 26 of file gfx_data.c.
void fb_hSetupFuncs | ( | int | bpp) |
Definition at line 321 of file gfx_core.c.
void fb_hSoftCursorExit | ( | void | ) |
Definition at line 106 of file gfx_softcursor.c.
void fb_hSoftCursorInit | ( | void | ) |
Definition at line 86 of file gfx_softcursor.c.
void fb_hSoftCursorPaletteChanged | ( | void | ) |
Definition at line 161 of file gfx_softcursor.c.
void fb_hSoftCursorPut | ( | int | x, |
int | y | ||
) |
Definition at line 116 of file gfx_softcursor.c.
void fb_hSoftCursorUnput | ( | int | x, |
int | y | ||
) |
Definition at line 153 of file gfx_softcursor.c.
void fb_hTranslateCoord | ( | FB_GFXCTX * | ctx, |
float | fx, | ||
float | fy, | ||
int * | x, | ||
int * | y | ||
) |
void fb_image_convert_24bgrto16 | ( | const unsigned char * | src, |
unsigned char * | dest, | ||
int | w | ||
) |
void fb_image_convert_24bgrto32 | ( | const unsigned char * | src, |
unsigned char * | dest, | ||
int | w | ||
) |
void fb_image_convert_24to16 | ( | const unsigned char * | src, |
unsigned char * | dest, | ||
int | w | ||
) |
void fb_image_convert_24to32 | ( | const unsigned char * | src, |
unsigned char * | dest, | ||
int | w | ||
) |
void fb_image_convert_32bgrto16 | ( | const unsigned char * | src, |
unsigned char * | dest, | ||
int | w | ||
) |
void fb_image_convert_32bgrto32 | ( | const unsigned char * | src, |
unsigned char * | dest, | ||
int | w | ||
) |
void fb_image_convert_32to16 | ( | const unsigned char * | src, |
unsigned char * | dest, | ||
int | w | ||
) |
void fb_image_convert_32to32 | ( | const unsigned char * | src, |
unsigned char * | dest, | ||
int | w | ||
) |
void fb_image_convert_8to16 | ( | const unsigned char * | src, |
unsigned char * | dest, | ||
int | w | ||
) |
void fb_image_convert_8to32 | ( | const unsigned char * | src, |
unsigned char * | dest, | ||
int | w | ||
) |
void fb_image_convert_8to8 | ( | const unsigned char * | src, |
unsigned char * | dest, | ||
int | w | ||
) |
unsigned int* __fb_color_conv_16to32 |
Definition at line 10 of file gfx_vars.c.
const FONT __fb_font[FB_FONT_COUNT] |
Definition at line 10 of file gfx_data.c.
FBGFX* __fb_gfx |
Definition at line 5 of file gfx_vars.c.
char* __fb_gfx_driver_name |
Definition at line 12 of file gfx_vars.c.
const GFXDRIVER __fb_gfxDriverNull |
Definition at line 8 of file gfx_driver_null.c.
const PALETTE __fb_palette[FB_PALETTE_COUNT] |
Definition at line 18 of file gfx_data.c.
char* __fb_window_title |
Definition at line 11 of file gfx_vars.c.
void*(* fb_hMemCpy)(void *dest, const void *src, size_t size) |
Definition at line 6 of file gfx_vars.c.
void*(* fb_hMemSet)(void *dest, int value, size_t size) |
Definition at line 7 of file gfx_vars.c.
void*(* fb_hPixelCpy)(void *dest, const void *src, size_t size) |
Definition at line 8 of file gfx_vars.c.
Definition at line 9 of file gfx_vars.c.
struct _PUT_HEADER FBPACKED |