CVS: rdesktop/uiports makefile_xxx,NONE,1.1 xxxwin.c,1.3,1.4

Jay Sorg <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop/uiports
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29099

Modified Files:
	xxxwin.c 
Added Files:
	makefile_xxx 
Log Message:
added makefile and new orders

--- NEW FILE: makefile_xxx ---
#
# xxxrdesktop makefile
#
CC = gcc
CFLAGS = -O2 -Wall
RESTOBJ = ../tcp.o ../iso.o ../mcs.o ../secure.o ../rdp.o ../rdp5.o ../orders.o ../cache.o ../mppc.o ../licence.o ../bitmap.o ../channels.o ../pstcache.o
LDFLAGS = -lcrypto

all: xxxrd

xxxrd: $(RESTOBJ) xxxwin.o
	$(CC) -o xxxrdesktop xxxwin.o $(RESTOBJ) $(LDFLAGS)
	strip xxxrdesktop

clean:
	rm -f xxxrdesktop
	rm -f *.o
	rm -f ../*.o

Index: xxxwin.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/uiports/xxxwin.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** xxxwin.c	13 Mar 2005 06:38:42 -0000	1.3
--- xxxwin.c	13 Mar 2005 07:30:31 -0000	1.4
***************
*** 29,33 ****
  int g_server_bpp = 8;
  int g_encryption = 1;
! int g_desktop_save =1;
  int g_bitmap_cache = 1;
  int g_bitmap_cache_persist_enable = False;
--- 29,34 ----
  int g_server_bpp = 8;
  int g_encryption = 1;
! int g_desktop_save = 1;
! int g_polygon_ellipse_orders = 0;
  int g_bitmap_cache = 1;
  int g_bitmap_cache_persist_enable = False;
***************
*** 98,105 ****
  
  /*****************************************************************************/
! void ui_draw_text(uint8 font, uint8 flags, int mixmode,
                    int x, int y,
                    int clipx, int clipy, int clipcx, int clipcy,
!                   int boxx, int boxy, int boxcx, int boxcy,
                    int bgcolour, int fgcolour, uint8* text, uint8 length)
  {
--- 99,106 ----
  
  /*****************************************************************************/
! void ui_draw_text(uint8 font, uint8 flags, uint8 opcode, int mixmode,
                    int x, int y,
                    int clipx, int clipy, int clipcx, int clipcy,
!                   int boxx, int boxy, int boxcx, int boxcy, BRUSH * brush,
                    int bgcolour, int fgcolour, uint8* text, uint8 length)
  {
***************
*** 214,217 ****
--- 215,251 ----
  
  /*****************************************************************************/
+ void ui_polygon(uint8 opcode, uint8 fillmode, POINT * point, int npoints,
+                 BRUSH * brush, int bgcolour, int fgcolour)
+ {
+ }
+ 
+ /*****************************************************************************/
+ /* todo, use qt function for this (QPainter::drawPolyline) */
+ void ui_polyline(uint8 opcode, POINT * points, int npoints, PEN * pen)
+ {
+   int i, x, y, dx, dy;
+   if (npoints > 0)
+   {
+     x = points[0].x;
+     y = points[0].y;
+     for (i = 1; i < npoints; i++)
+     {
+       dx = points[i].x;
+       dy = points[i].y;
+       ui_line(opcode, x, y, x + dx, y + dy, pen);
+       x = x + dx;
+       y = y + dy;
+     }
+   }
+ }
+ 
+ /*****************************************************************************/
+ void ui_ellipse(uint8 opcode, uint8 fillmode,
+                 int x, int y, int cx, int cy,
+                 BRUSH * brush, int bgcolour, int fgcolour)
+ {
+ }
+ 
+ /*****************************************************************************/
  void generate_random(uint8* random)
  {



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.