/[rdesktop]/sourceforge.net/trunk/rdesktop/uiports/xxxwin.c
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/trunk/rdesktop/uiports/xxxwin.c

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

revision 851 by jsorg71, Sun Mar 13 06:38:42 2005 UTC revision 852 by jsorg71, Sun Mar 13 07:30:31 2005 UTC
# Line 28  int g_height = 600; Line 28  int g_height = 600;
28  int g_width = 800;  int g_width = 800;
29  int g_server_bpp = 8;  int g_server_bpp = 8;
30  int g_encryption = 1;  int g_encryption = 1;
31  int g_desktop_save =1;  int g_desktop_save = 1;
32    int g_polygon_ellipse_orders = 0;
33  int g_bitmap_cache = 1;  int g_bitmap_cache = 1;
34  int g_bitmap_cache_persist_enable = False;  int g_bitmap_cache_persist_enable = False;
35  int g_bitmap_cache_precache = True;  int g_bitmap_cache_precache = True;
# Line 97  HBITMAP ui_create_bitmap(int width, int Line 98  HBITMAP ui_create_bitmap(int width, int
98  }  }
99    
100  /*****************************************************************************/  /*****************************************************************************/
101  void ui_draw_text(uint8 font, uint8 flags, int mixmode,  void ui_draw_text(uint8 font, uint8 flags, uint8 opcode, int mixmode,
102                    int x, int y,                    int x, int y,
103                    int clipx, int clipy, int clipcx, int clipcy,                    int clipx, int clipy, int clipcx, int clipcy,
104                    int boxx, int boxy, int boxcx, int boxcy,                    int boxx, int boxy, int boxcx, int boxcy, BRUSH * brush,
105                    int bgcolour, int fgcolour, uint8* text, uint8 length)                    int bgcolour, int fgcolour, uint8* text, uint8 length)
106  {  {
107  }  }
# Line 212  void ui_end_update(void) Line 213  void ui_end_update(void)
213  {  {
214  }  }
215    
216    /*****************************************************************************/
217    void ui_polygon(uint8 opcode, uint8 fillmode, POINT * point, int npoints,
218                    BRUSH * brush, int bgcolour, int fgcolour)
219    {
220    }
221    
222    /*****************************************************************************/
223    /* todo, use qt function for this (QPainter::drawPolyline) */
224    void ui_polyline(uint8 opcode, POINT * points, int npoints, PEN * pen)
225    {
226      int i, x, y, dx, dy;
227      if (npoints > 0)
228      {
229        x = points[0].x;
230        y = points[0].y;
231        for (i = 1; i < npoints; i++)
232        {
233          dx = points[i].x;
234          dy = points[i].y;
235          ui_line(opcode, x, y, x + dx, y + dy, pen);
236          x = x + dx;
237          y = y + dy;
238        }
239      }
240    }
241    
242    /*****************************************************************************/
243    void ui_ellipse(uint8 opcode, uint8 fillmode,
244                    int x, int y, int cx, int cy,
245                    BRUSH * brush, int bgcolour, int fgcolour)
246    {
247    }
248    
249  /*****************************************************************************/  /*****************************************************************************/
250  void generate_random(uint8* random)  void generate_random(uint8* random)
251  {  {

Legend:
Removed from v.851  
changed lines
  Added in v.852

  ViewVC Help
Powered by ViewVC 1.1.26