Code Search for Developers
 
 
  

fontdisp.h from The Open2x Project at Krugle


Show fontdisp.h syntax highlighted

/*              
 *  All right reserved.
 *  - godori <ghcstop>, www.aesop-embedded.org
 *             
 *    => Created. 2001.02.11
 */

#ifndef __FONTDISP_H
#define __FONTDISP_H

#include <stdio.h>
#include <stdlib.h>
//#include <mem.h>
#include <string.h>
#include <stdarg.h>

#include "gfxtype.h"

#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif

typedef struct {
    char    *hanname;
    uint16  *hanbitmap;
    uint16  numchars;
    uint16  width;
    uint16  height;
} Hanfont;

typedef struct{
    uint16 *bitmap;         
    uint8  *widths;         
    uint8   imagebytes;     
    uint8   number_of_char; 
    uint8   firstchar;      
    uint8   lastchar;
    uint8   startchar;
    uint8   height;
} Engfont;




#endif





See more files for this project here

The Open2x Project

The Open2x project exists to provide an open source resource for the GP2X handheld console based on the MagicEyes MMSP2 processing platform and MP2520F SoC. The project hosts Linux kernel source for the GP2X, boot loader (U-Boot) source and more.

Project homepage: http://www.distant-earth.com/open2x
Programming language(s): Assembly,C,C++
License: other

  Makefile
  fblin16.c
  fblin24.c
  fblin32.c
  fbs.h
  fontdisp.h
  fontout.c
  gfxdev.h
  gfxfontext.c
  gfxfontload.c
  gfxfontout.c
  gfxtype.h
  gulim_96_10_eng.c
  gulim_96_10_han.c
  main.c
  scr_fb.c