|
From: Henri A. <has...@us...> - 2004-10-29 00:11:07
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16335 Modified Files: quickdraw.c Log Message: Warnings fixes. Index: quickdraw.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/quickdraw.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** quickdraw.c 23 Oct 2004 22:49:57 -0000 1.2 --- quickdraw.c 29 Oct 2004 00:10:58 -0000 1.3 *************** *** 70,73 **** --- 70,75 ---- RGBColor blackcolor = {0, 0, 0}; + RGBColor greencolor = {0, 32767, 0}; + RGBColor lightbluecolor = {52428, 52428, 65535}; *************** *** 406,410 **** CGrafPtr thePort; #if TARGET_API_MAC_CARBON == 1 ! thePort = GetWindowPort(scratchport); #else thePort = (CGrafPtr)scratchport; --- 408,412 ---- CGrafPtr thePort; #if TARGET_API_MAC_CARBON == 1 ! thePort = scratchport; /* hra: scratchport is already a CGrafPtr, not a WindowPtr */ #else thePort = (CGrafPtr)scratchport; *************** *** 1399,1403 **** (*r).right++; } ! } /*evenrectangle*/ --- 1401,1405 ---- (*r).right++; } ! } %*evenrectangle*/ *************** *** 1420,1424 **** (*r).right++; } ! } /*oddrectangle*/ --- 1422,1426 ---- (*r).right++; } ! } %*oddrectangle*/ *************** *** 2561,2565 **** (*rconstrain).top += doctitlebarheight; ! /* titleheight = (**(*wpeek).contRgn).rgnBBox.top - (**(*wpeek).strucRgn).rgnBBox.top; --- 2563,2567 ---- (*rconstrain).top += doctitlebarheight; ! %* titleheight = (**(*wpeek).contRgn).rgnBBox.top - (**(*wpeek).strucRgn).rgnBBox.top; *************** *** 2624,2628 **** accountfortitlebar (w, &rscreen); ! /***insetrect (&rscreen, 3, 3); /*an aesthetic border of desktop*/ return (constraintorect (rparam, rscreen, false)); /*4.1b7 dmb: flcenter parm was true*/ --- 2626,2630 ---- accountfortitlebar (w, &rscreen); ! /***insetrect (&rscreen, 3, 3); %*an aesthetic border of desktop*/ return (constraintorect (rparam, rscreen, false)); /*4.1b7 dmb: flcenter parm was true*/ *************** *** 2784,2788 **** ! boolean colorenabled () { /* --- 2786,2790 ---- ! boolean colorenabled (void) { /* *************** *** 2872,2876 **** return (true); ! } /*getclut*/ /* --- 2874,2878 ---- return (true); ! } %*getclut*/ /* *************** *** 2884,2888 **** return (false); ! /* if (!getclut (128, &hctab)) return (false); --- 2886,2890 ---- return (false); ! %* if (!getclut (128, &hctab)) return (false); *************** *** 2892,2896 **** return (true); ! } /*getcolorfromindex*/ #endif /*flruntime*/ --- 2894,2898 ---- return (true); ! } %*getcolorfromindex*/ #endif /*flruntime*/ |