/trunk/uspace/fb/font-8x16.h |
---|
26,10 → 26,10 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
#ifndef __FONT_8X16_H__ |
#define __FONT_8X16_H__ |
#ifndef FB_FONT_8X16_H_ |
#define FB_FONT_8X16_H_ |
#define FONT_GLIPHS 256 |
#define FONT_GLIPHS 256 |
#define FONT_SCANLINES 16 |
extern unsigned char fb_font[FONT_GLIPHS * FONT_SCANLINES]; |
/trunk/uspace/fb/ega.h |
---|
34,10 → 34,10 |
/** @file |
*/ |
#ifndef _EGA_H_ |
#define _EGA_H_ |
#ifndef FB_EGA_H_ |
#define FB_EGA_H_ |
int ega_init(void); |
extern int ega_init(void); |
#endif |
/trunk/uspace/fb/ppm.h |
---|
26,15 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
#ifndef _PPM_H_ |
#define _PPM_H_ |
#ifndef FB_PPM_H_ |
#define FB_PPM_H_ |
#include "fb.h" |
int ppm_draw(unsigned char *data, size_t datasz, unsigned int sx, |
unsigned int sy, |
unsigned int maxwidth, unsigned int maxheight, |
putpixel_cb_t fnc,void *); |
int ppm_get_data(unsigned char *data, size_t dtsz, unsigned int *width, unsigned int *height); |
extern int ppm_draw(unsigned char *, size_t, unsigned int, unsigned int, |
unsigned int, unsigned int, putpixel_cb_t, void *); |
extern int ppm_get_data(unsigned char *, size_t, unsigned int *, unsigned int *); |
#endif |
/trunk/uspace/fb/main.h |
---|
26,9 → 26,9 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
#ifndef __MAIN_H_ |
#define __MAIN_H_ |
#ifndef FB_MAIN_H_ |
#define FB_MAIN_H_ |
void receive_comm_area(ipc_callid_t callid, ipc_call_t *call, void **area); |
extern void receive_comm_area(ipc_callid_t, ipc_call_t *, void **); |
#endif |
/trunk/uspace/fb/sysio.h |
---|
34,13 → 34,12 |
/** @file |
*/ |
#ifndef _SYSIO_H_ |
#define _SYSIO_H_ |
#ifndef FB_SYSIO_H_ |
#define FB_SYSIO_H_ |
void sysio_init(void); |
extern void sysio_init(void); |
#endif |
/** @} |
*/ |
/trunk/uspace/fb/fb.h |
---|
33,15 → 33,14 |
/** @file |
*/ |
#ifndef _FB_H_ |
#define _FB_H_ |
#ifndef FB_FB_H_ |
#define FB_FB_H_ |
typedef void (* putpixel_cb_t)(void *,unsigned int, unsigned int, int); |
typedef void (* putpixel_cb_t)(void *, unsigned int, unsigned int, int); |
int fb_init(void); |
extern int fb_init(void); |
#endif |
/** @} |
*/ |