/[rdesktop]/sourceforge.net/branches/seamlessrdp-branch/rdesktop/orders.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

Diff of /sourceforge.net/branches/seamlessrdp-branch/rdesktop/orders.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

sourceforge.net/trunk/rdesktop/orders.h revision 738 by astrand, Mon Jul 12 21:07:39 2004 UTC sourceforge.net/branches/seamlessrdp-branch/rdesktop/orders.h revision 1058, Tue Mar 7 08:17:41 2006 UTC
# Line 1  Line 1 
1  /*  /*
2     rdesktop: A Remote Desktop Protocol client.     rdesktop: A Remote Desktop Protocol client.
3     RDP order processing     RDP order processing
4     Copyright (C) Matthew Chapman 1999-2002     Copyright (C) Matthew Chapman 1999-2005
5        
6     This program is free software; you can redistribute it and/or modify     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     it under the terms of the GNU General Public License as published by
# Line 37  enum RDP_ORDER_TYPE Line 37  enum RDP_ORDER_TYPE
37          RDP_ORDER_DESKSAVE = 11,          RDP_ORDER_DESKSAVE = 11,
38          RDP_ORDER_MEMBLT = 13,          RDP_ORDER_MEMBLT = 13,
39          RDP_ORDER_TRIBLT = 14,          RDP_ORDER_TRIBLT = 14,
40            RDP_ORDER_POLYGON = 20,
41            RDP_ORDER_POLYGON2 = 21,
42          RDP_ORDER_POLYLINE = 22,          RDP_ORDER_POLYLINE = 22,
43            RDP_ORDER_ELLIPSE = 25,
44            RDP_ORDER_ELLIPSE2 = 26,
45          RDP_ORDER_TEXT2 = 27          RDP_ORDER_TEXT2 = 27
46  };  };
47    
# Line 48  enum RDP_SECONDARY_ORDER_TYPE Line 52  enum RDP_SECONDARY_ORDER_TYPE
52          RDP_ORDER_BMPCACHE = 2,          RDP_ORDER_BMPCACHE = 2,
53          RDP_ORDER_FONTCACHE = 3,          RDP_ORDER_FONTCACHE = 3,
54          RDP_ORDER_RAW_BMPCACHE2 = 4,          RDP_ORDER_RAW_BMPCACHE2 = 4,
55          RDP_ORDER_BMPCACHE2 = 5          RDP_ORDER_BMPCACHE2 = 5,
56            RDP_ORDER_BRUSHCACHE = 7
57  };  };
58    
59  typedef struct _DESTBLT_ORDER  typedef struct _DESTBLT_ORDER
# Line 164  MEMBLT_ORDER; Line 169  MEMBLT_ORDER;
169    
170  #define MAX_DATA 256  #define MAX_DATA 256
171    
172    typedef struct _POLYGON_ORDER
173    {
174            sint16 x;
175            sint16 y;
176            uint8 opcode;
177            uint8 fillmode;
178            uint32 fgcolour;
179            uint8 npoints;
180            uint8 datasize;
181            uint8 data[MAX_DATA];
182    
183    }
184    POLYGON_ORDER;
185    
186    typedef struct _POLYGON2_ORDER
187    {
188            sint16 x;
189            sint16 y;
190            uint8 opcode;
191            uint8 fillmode;
192            uint32 bgcolour;
193            uint32 fgcolour;
194            BRUSH brush;
195            uint8 npoints;
196            uint8 datasize;
197            uint8 data[MAX_DATA];
198    
199    }
200    POLYGON2_ORDER;
201    
202  typedef struct _POLYLINE_ORDER  typedef struct _POLYLINE_ORDER
203  {  {
204          sint16 x;          sint16 x;
# Line 177  typedef struct _POLYLINE_ORDER Line 212  typedef struct _POLYLINE_ORDER
212  }  }
213  POLYLINE_ORDER;  POLYLINE_ORDER;
214    
215    typedef struct _ELLIPSE_ORDER
216    {
217            sint16 left;
218            sint16 top;
219            sint16 right;
220            sint16 bottom;
221            uint8 opcode;
222            uint8 fillmode;
223            uint32 fgcolour;
224    
225    }
226    ELLIPSE_ORDER;
227    
228    typedef struct _ELLIPSE2_ORDER
229    {
230            sint16 left;
231            sint16 top;
232            sint16 right;
233            sint16 bottom;
234            uint8 opcode;
235            uint8 fillmode;
236            BRUSH brush;
237            uint32 bgcolour;
238            uint32 fgcolour;
239    
240    }
241    ELLIPSE2_ORDER;
242    
243  #define MAX_TEXT 256  #define MAX_TEXT 256
244    
245  typedef struct _TEXT2_ORDER  typedef struct _TEXT2_ORDER
246  {  {
247          uint8 font;          uint8 font;
248          uint8 flags;          uint8 flags;
249            uint8 opcode;
250          uint8 mixmode;          uint8 mixmode;
         uint8 unknown;  
         uint32 fgcolour;  
251          uint32 bgcolour;          uint32 bgcolour;
252            uint32 fgcolour;
253          sint16 clipleft;          sint16 clipleft;
254          sint16 cliptop;          sint16 cliptop;
255          sint16 clipright;          sint16 clipright;
# Line 195  typedef struct _TEXT2_ORDER Line 258  typedef struct _TEXT2_ORDER
258          sint16 boxtop;          sint16 boxtop;
259          sint16 boxright;          sint16 boxright;
260          sint16 boxbottom;          sint16 boxbottom;
261            BRUSH brush;
262          sint16 x;          sint16 x;
263          sint16 y;          sint16 y;
264          uint8 length;          uint8 length;
# Line 216  typedef struct _RDP_ORDER_STATE Line 280  typedef struct _RDP_ORDER_STATE
280          DESKSAVE_ORDER desksave;          DESKSAVE_ORDER desksave;
281          MEMBLT_ORDER memblt;          MEMBLT_ORDER memblt;
282          TRIBLT_ORDER triblt;          TRIBLT_ORDER triblt;
283            POLYGON_ORDER polygon;
284            POLYGON2_ORDER polygon2;
285          POLYLINE_ORDER polyline;          POLYLINE_ORDER polyline;
286            ELLIPSE_ORDER ellipse;
287            ELLIPSE2_ORDER ellipse2;
288          TEXT2_ORDER text2;          TEXT2_ORDER text2;
289    
290  }  }

Legend:
Removed from v.738  
changed lines
  Added in v.1058

  ViewVC Help
Powered by ViewVC 1.1.26