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

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

revision 831 by jdmeijer, Tue Mar 8 00:43:10 2005 UTC revision 844 by jdmeijer, Thu Mar 10 22:48:15 2005 UTC
# Line 2263  ui_polygon(uint8 opcode, Line 2263  ui_polygon(uint8 opcode,
2263  }  }
2264    
2265  void  void
2266    ui_polyline(uint8 opcode,
2267                /* dest */ POINT * points, int npoints,
2268                /* pen */ PEN * pen)
2269    {
2270            /* TODO: set join style */
2271            SET_FUNCTION(opcode);
2272            SET_FOREGROUND(pen->colour);
2273            XDrawLines(g_display, g_wnd, g_gc, (XPoint *) points, npoints, CoordModePrevious);
2274            if (g_ownbackstore)
2275                    XDrawLines(g_display, g_backstore, g_gc, (XPoint *) points, npoints,
2276                               CoordModePrevious);
2277            RESET_FUNCTION(opcode);
2278    }
2279    
2280    void
2281  ui_ellipse(uint8 opcode,  ui_ellipse(uint8 opcode,
2282             /* mode */ uint8 fillmode,             /* mode */ uint8 fillmode,
2283             /* dest */ int x, int y, int cx, int cy,             /* dest */ int x, int y, int cx, int cy,
# Line 2376  ui_draw_glyph(int mixmode, Line 2391  ui_draw_glyph(int mixmode,
2391  }  }
2392    
2393  void  void
2394  ui_draw_text(uint8 font, uint8 flags, int mixmode, int x, int y,  ui_draw_text(uint8 font, uint8 flags, uint8 opcode, int mixmode, int x, int y,
2395               int clipx, int clipy, int clipcx, int clipcy,               int clipx, int clipy, int clipcx, int clipcy,
2396               int boxx, int boxy, int boxcx, int boxcy, int bgcolour,               int boxx, int boxy, int boxcx, int boxcy, BRUSH * brush,
2397               int fgcolour, uint8 * text, uint8 length)               int bgcolour, int fgcolour, uint8 * text, uint8 length)
2398  {  {
2399            /* TODO: use brush appropriately */
2400    
2401          FONTGLYPH *glyph;          FONTGLYPH *glyph;
2402          int i, j, xyoffset, x1, y1;          int i, j, xyoffset, x1, y1;
2403          DATABLOB *entry;          DATABLOB *entry;

Legend:
Removed from v.831  
changed lines
  Added in v.844

  ViewVC Help
Powered by ViewVC 1.1.26