/[rdesktop]/sourceforge.net/trunk/rdesktop/types.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /sourceforge.net/trunk/rdesktop/types.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 64 - (hide annotations)
Thu Jul 18 16:38:31 2002 UTC (21 years, 9 months ago) by astrand
File MIME type: text/plain
File size: 1710 byte(s)
Fixed indentation with indent

1 matty 10 /*
2     rdesktop: A Remote Desktop Protocol client.
3     Common data types
4     Copyright (C) Matthew Chapman 1999-2000
5    
6     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10    
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14     GNU General Public License for more details.
15    
16     You should have received a copy of the GNU General Public License
17     along with this program; if not, write to the Free Software
18     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19     */
20    
21     typedef int BOOL;
22    
23     #ifndef True
24     #define True (1)
25     #define False (0)
26     #endif
27    
28     typedef unsigned char uint8;
29     typedef unsigned short uint16;
30     typedef unsigned int uint32;
31    
32     typedef void *HBITMAP;
33     typedef void *HGLYPH;
34     typedef void *HCOLOURMAP;
35 matty 28 typedef void *HCURSOR;
36 matty 10
37     typedef struct _COLOURENTRY
38     {
39     uint8 red;
40     uint8 green;
41     uint8 blue;
42    
43 astrand 64 }
44     COLOURENTRY;
45 matty 10
46     typedef struct _COLOURMAP
47     {
48     uint16 ncolours;
49     COLOURENTRY *colours;
50    
51 astrand 64 }
52     COLOURMAP;
53 matty 10
54     typedef struct _BOUNDS
55     {
56     uint16 left;
57     uint16 top;
58     uint16 right;
59     uint16 bottom;
60    
61 astrand 64 }
62     BOUNDS;
63 matty 10
64     typedef struct _PEN
65     {
66     uint8 style;
67     uint8 width;
68     uint8 colour;
69    
70 astrand 64 }
71     PEN;
72 matty 10
73     typedef struct _BRUSH
74     {
75     uint8 xorigin;
76     uint8 yorigin;
77     uint8 style;
78     uint8 pattern[8];
79    
80 astrand 64 }
81     BRUSH;
82 matty 10
83     typedef struct _FONTGLYPH
84     {
85 matty 20 uint16 offset;
86 matty 10 uint16 baseline;
87     uint16 width;
88     uint16 height;
89     HBITMAP pixmap;
90    
91 astrand 64 }
92     FONTGLYPH;
93 matty 10
94     typedef struct _DATABLOB
95     {
96     void *data;
97     int size;
98    
99 astrand 64 }
100     DATABLOB;

  ViewVC Help
Powered by ViewVC 1.1.26