|
From: Karsten W. <kar...@us...> - 2006-03-22 09:11:32
|
Update of /cvsroot/frontierkernel/Frontier/Common/IowaRuntime/Source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16359/Common/IowaRuntime/Source Modified Files: Tag: pre_int64_branch iowacore.c iowaruntime.c Log Message: update before switch Index: iowaruntime.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/IowaRuntime/Source/iowaruntime.c,v retrieving revision 1.5.4.1 retrieving revision 1.5.4.2 diff -C2 -d -r1.5.4.1 -r1.5.4.2 *** iowaruntime.c 14 Feb 2006 11:35:56 -0000 1.5.4.1 --- iowaruntime.c 22 Mar 2006 09:11:28 -0000 1.5.4.2 *************** *** 338,345 **** #if ACCESSOR_CALLS_ARE_FUNCTIONS == 1 { ! CGrafPtr thePort; RgnHandle visRgn = NewRgn(); ! thePort = GetWindowPort(w); ! visRgn = GetPortVisibleRegion(thePort, visRgn); GetRegionBounds(visRgn, &(**hc).updaterect); DisposeRgn(visRgn); --- 338,345 ---- #if ACCESSOR_CALLS_ARE_FUNCTIONS == 1 { ! CGrafPtr lthePort; RgnHandle visRgn = NewRgn(); ! lthePort = GetWindowPort(w); ! visRgn = GetPortVisibleRegion(lthePort, visRgn); GetRegionBounds(visRgn, &(**hc).updaterect); DisposeRgn(visRgn); *************** *** 361,367 **** #if TARGET_API_MAC_CARBON == 1 { ! CGrafPtr thePort; ! thePort = GetWindowPort(w); ! QDFlushPortBuffer(thePort, nil); } #endif --- 361,367 ---- #if TARGET_API_MAC_CARBON == 1 { ! CGrafPtr lthePort; ! lthePort = GetWindowPort(w); ! QDFlushPortBuffer(lthePort, nil); } #endif *************** *** 2356,2367 **** if ((flcallback) && (pCallback != nil)) { ! hdlcard oldiowadata = iowadata; ! hdlruntimerecord oldruntimedata = runtimedata; (*pCallback) (&ev); ! iowadata = oldiowadata; ! runtimedata = oldruntimedata; thePort = getmacwindowport(modalwindow); --- 2356,2367 ---- if ((flcallback) && (pCallback != nil)) { ! hdlcard loldiowadata = iowadata; ! hdlruntimerecord loldruntimedata = runtimedata; (*pCallback) (&ev); ! iowadata = loldiowadata; ! runtimedata = loldruntimedata; thePort = getmacwindowport(modalwindow); Index: iowacore.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/IowaRuntime/Source/iowacore.c,v retrieving revision 1.4 retrieving revision 1.4.6.1 diff -C2 -d -r1.4 -r1.4.6.1 *** iowacore.c 11 Jan 2005 22:47:40 -0000 1.4 --- iowacore.c 22 Mar 2006 09:11:28 -0000 1.4.6.1 *************** *** 909,919 **** if ((**h).objecthasframe) { ! Rect robject; ! robject = (**h).objectrect; ! if (!EmptyRect (&robject)) { /*user has changed its rect, it takes precedence*/ ! rgroup = robject; goto exit; --- 909,919 ---- if ((**h).objecthasframe) { ! Rect lrobject; ! lrobject = (**h).objectrect; ! if (!EmptyRect (&lrobject)) { /*user has changed its rect, it takes precedence*/ ! rgroup = lrobject; goto exit; |