OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [net/] [vnc_server/] [current/] [src/] [fonts/] [device.h] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
/*
2
 * Copyright (c) 1999, 2000 Greg Haerr <greg@censoft.com>
3
 *
4
 * Engine-level Screen, Mouse and Keyboard device driver API's and types
5
 *
6
 * Contents of this file are not for general export
7
 */
8
 
9
/* This is a fragment of the device.h file as used by the eCos port */
10
/* of MicroWindows.  This file is required to allow the VNC server  */
11
/* to use the font definition files supplied with microwindows.     */
12
/* This file is only included by the font definition files, other   */
13
/* files, including application files should include the            */
14
/* vnc-server.h file which also contains these 2 typedefs           */
15
 
16
/* Chris Garry <cgarry@sweeneydesign.co.uk> 26-Aug-2003             */
17
 
18
 
19
typedef unsigned short  MWIMAGEBITS;    /* bitmap image unit size*/
20
 
21
typedef struct {
22
    char *      name;       /* font name*/
23
    int     maxwidth;   /* max width in pixels*/
24
    int     height;     /* height in pixels*/
25
    int     ascent;     /* ascent (baseline) height*/
26
    int     firstchar;  /* first character in bitmap*/
27
    int     size;       /* font size in characters*/
28
    MWIMAGEBITS *   bits;       /* 16-bit right-padded bitmap data*/
29
    unsigned short *offset;     /* 256 offsets into bitmap data*/
30
    unsigned char * width;      /* 256 character widths or 0 if fixed*/
31
} MWCFONT;
32
 

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.