Rev 1090 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1090 | pj | 1 | /* |
2 | * Project: S.Ha.R.K. |
||
3 | * |
||
4 | * Coordinators: |
||
5 | * Giorgio Buttazzo <giorgio@sssup.it> |
||
6 | * Paolo Gai <pj@gandalf.sssup.it> |
||
7 | * |
||
8 | * Authors : |
||
9 | * Paolo Gai <pj@gandalf.sssup.it> |
||
10 | * Massimiliano Giorgi <massy@gandalf.sssup.it> |
||
11 | * Luca Abeni <luca@gandalf.sssup.it> |
||
12 | * (see the web pages for full authors list) |
||
13 | * |
||
14 | * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy) |
||
15 | * |
||
16 | * http://www.sssup.it |
||
17 | * http://retis.sssup.it |
||
18 | * http://shark.sssup.it |
||
19 | */ |
||
20 | |||
21 | /* CVS : $Id: fab_grx.sys,v 1.1 2002-10-01 10:25:02 pj Exp $ */ |
||
22 | |||
23 | /* |
||
24 | * Copyright (C) 2000 Fabio Calabrese <fabiocalabrese77@yahoo.it> |
||
25 | * |
||
26 | * This program is free software; you can redistribute it and/or modify |
||
27 | * it under the terms of the GNU General Public License as published by |
||
28 | * the Free Software Foundation; either version 2 of the License, or |
||
29 | * (at your option) any later version. |
||
30 | * |
||
31 | * This program is distributed in the hope that it will be useful, |
||
32 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
33 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
34 | * GNU General Public License for more details. |
||
35 | * |
||
36 | * You should have received a copy of the GNU General Public License |
||
37 | * along with this program; if not, write to the Free Software |
||
38 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
||
39 | * |
||
40 | */ |
||
41 | |||
42 | // file incluso da FAB_grx.h |
||
43 | // ------------------------- |
||
44 | |||
45 | typedef BYTE COLOR8; |
||
46 | typedef WORD COLOR15; |
||
47 | typedef WORD COLOR16; |
||
48 | typedef DWORD COLOR24; |
||
49 | typedef DWORD COLOR32; |
||
50 | |||
51 | #if defined FAB_GRX_15 |
||
52 | #define __FAB_BPP 15 |
||
53 | #define __FAB_rgb(R24,G24,B24) rgb15((R24),(G24),(B24)) |
||
54 | typedef COLOR15 __FAB_COLOR; |
||
55 | #elif defined FAB_GRX_16 |
||
56 | #define __FAB_BPP 16 |
||
57 | #define __FAB_rgb(R24,G24,B24) rgb16((R24),(G24),(B24)) |
||
58 | typedef COLOR16 __FAB_COLOR; |
||
59 | #elif defined FAB_GRX_24 |
||
60 | #define __FAB_BPP 24 |
||
61 | #define __FAB_rgb(R24,G24,B24) rgb24((R24),(G24),(B24)) |
||
62 | typedef COLOR24 __FAB_COLOR; |
||
63 | #elif defined FAB_GRX_32 |
||
64 | #define __FAB_BPP 32 |
||
65 | #define __FAB_rgb(R24,G24,B24) rgb32((R24),(G24),(B24)) |
||
66 | typedef COLOR32 __FAB_COLOR; |
||
67 | #else |
||
68 | #define __FAB_BPP 16 |
||
69 | #define __FAB_rgb(R24,G24,B24) rgb16((R24),(G24),(B24)) |
||
70 | typedef COLOR16 __FAB_COLOR; |
||
71 | #endif |