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

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

revision 792 by jsorg71, Wed Nov 3 03:27:53 2004 UTC revision 850 by jsorg71, Sun Mar 13 06:00:56 2005 UTC
# Line 48  int g_width = 800; Line 48  int g_width = 800;
48  int g_server_bpp = 8;  int g_server_bpp = 8;
49  int g_encryption = 1;  int g_encryption = 1;
50  int g_desktop_save = 1;  int g_desktop_save = 1;
51    int g_polygon_ellipse_orders = 0;
52  int g_bitmap_cache = 1;  int g_bitmap_cache = 1;
53  int g_bitmap_cache_persist_enable = False;  int g_bitmap_cache_persist_enable = False;
54  int g_bitmap_cache_precache = True;  int g_bitmap_cache_precache = True;
# Line 764  void bitBltClip(QPaintDevice* dst1, QPai Line 765  void bitBltClip(QPaintDevice* dst1, QPai
765  }  }
766    
767  //*****************************************************************************  //*****************************************************************************
768  void ui_draw_text(uint8 font, uint8 flags, int mixmode,  void ui_draw_text(uint8 font, uint8 flags, uint8 opcode, int mixmode,
769                    int x, int y, int clipx, int clipy,                    int x, int y, int clipx, int clipy,
770                    int clipcx, int clipcy, int boxx,                    int clipcx, int clipcy, int boxx,
771                    int boxy, int boxcx, int boxcy, int bgcolour,                    int boxy, int boxcx, int boxcy, BRUSH * brush,
772                    int fgcolour, uint8 * text, uint8 length)                    int bgcolour, int fgcolour, uint8 * text, uint8 length)
773  {  {
774    FONTGLYPH *glyph;    FONTGLYPH *glyph;
775    int i, j, xyoffset;    int i, j, xyoffset;
# Line 1174  void ui_resize_window(void) Line 1175  void ui_resize_window(void)
1175  {  {
1176  }  }
1177    
1178    /*****************************************************************************/
1179    void ui_polygon(uint8 opcode, uint8 fillmode, POINT * point, int npoints,
1180                    BRUSH * brush, int bgcolour, int fgcolour)
1181    {
1182    }
1183    
1184    /*****************************************************************************/
1185    /* todo, use qt function for this (QPainter::drawPolyline) */
1186    void ui_polyline(uint8 opcode, POINT * points, int npoints, PEN * pen)
1187    {
1188      int i, x, y, dx, dy;
1189      if (npoints > 0)
1190      {
1191        x = points[0].x;
1192        y = points[0].y;
1193        for (i = 1; i < npoints; i++)
1194        {
1195          dx = points[i].x;
1196          dy = points[i].y;
1197          ui_line(opcode, x, y, x + dx, y + dy, pen);
1198          x = x + dx;
1199          y = y + dy;
1200        }
1201      }
1202    }
1203    
1204    /*****************************************************************************/
1205    void ui_ellipse(uint8 opcode, uint8 fillmode,
1206                    int x, int y, int cx, int cy,
1207                    BRUSH * brush, int bgcolour, int fgcolour)
1208    {
1209    }
1210    
1211  /*****************************************************************************/  /*****************************************************************************/
1212  void generate_random(uint8* random)  void generate_random(uint8* random)
1213  {  {

Legend:
Removed from v.792  
changed lines
  Added in v.850

  ViewVC Help
Powered by ViewVC 1.1.26