FreeBASIC
0.91.0
|
#include "fb_gfx.h"
Go to the source code of this file.
Macros | |
#define | CURSOR_W 13 |
#define | CURSOR_H 22 |
#define | BIT_ENCODE(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12) ((p0)|(p1<<2)|(p2<<4)|(p3<<6)|(p4<<8)|(p5<<10)|(p6<<12)|(p7<<14)|(p8<<16)|(p9<<18)|(p10<<20)|(p11<<22)|(p12<<24)) |
Functions | |
void | fb_hSoftCursor_code_start (void) |
static void | copy_cursor_area (int x, int y, int from_area) |
int | fb_hColorDistance (int index, int r, int g, int b) |
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) |
void | fb_hSoftCursor_code_end (void) |
Variables | |
char | fb_hSoftCursor_data_start |
static const unsigned int | cursor_data [] |
static unsigned char * | cursor_area |
static unsigned int | white |
static unsigned int | black |
char | fb_hSoftCursor_data_end |
#define BIT_ENCODE | ( | p0, | |
p1, | |||
p2, | |||
p3, | |||
p4, | |||
p5, | |||
p6, | |||
p7, | |||
p8, | |||
p9, | |||
p10, | |||
p11, | |||
p12 | |||
) | ((p0)|(p1<<2)|(p2<<4)|(p3<<6)|(p4<<8)|(p5<<10)|(p6<<12)|(p7<<14)|(p8<<16)|(p9<<18)|(p10<<20)|(p11<<22)|(p12<<24)) |
Definition at line 8 of file gfx_softcursor.c.
#define CURSOR_H 22 |
Definition at line 6 of file gfx_softcursor.c.
#define CURSOR_W 13 |
Definition at line 5 of file gfx_softcursor.c.
|
static |
int fb_hColorDistance | ( | int | index, |
int | r, | ||
int | g, | ||
int | b | ||
) |
void fb_hSoftCursor_code_end | ( | void | ) |
void fb_hSoftCursor_code_start | ( | void | ) |
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.
|
static |
Definition at line 39 of file gfx_softcursor.c.
|
static |
Definition at line 38 of file gfx_softcursor.c.
|
static |
Definition at line 13 of file gfx_softcursor.c.
char fb_hSoftCursor_data_end |
Definition at line 41 of file gfx_softcursor.c.
char fb_hSoftCursor_data_start |
Definition at line 11 of file gfx_softcursor.c.
|
static |
Definition at line 39 of file gfx_softcursor.c.