---On Sat, 13 Sep 2003 13:51:57 -0500 (EST), Chris Hawks said
> Alex:
>
> What I'm seeing is that the table is drawn (on screen) except for the
> DrawCellBox of the first cell, and then the first cell's box is shown
> (by itself) and is scrollable. This only occurs when Rotate is active.
> Images appear to be shown correctly, but, not rotated.
Actually, this fixes that problem (save and restore the drawing window).
--- rotate.c.orig Tue Sep 9 09:38:29 2003
+++ rotate.c Sat Sep 13 14:00:45 2003
@@ -315,6 +315,7 @@
Boolean clockwise;
Boolean convertedSrc;
BitmapType* oldSrcBitmap;
+ WinHandle oldWindow;
clockwise = ( Prefs()->rotate == ROTATE_MINUS90 );
@@ -345,7 +346,7 @@
bounds.topLeft.y = 0;
bounds.extent.x = width;
bounds.extent.y = height - charTop;
- WinSetDrawWindow( newWindow );
+ oldWindow = WinSetDrawWindow( newWindow );
PalmSetCoordinateSystem( NATIVE );
WinSetBounds( newWindow, &bounds );
@@ -355,6 +356,7 @@
WinDrawChars( string, length, 0, -charTop );
WinDeleteWindow( newWindow, false );
+ WinSetDrawWindow( oldWindow );
BmpGlueGetDimensions( srcBitmap, NULL, NULL, &srcRowBytes );
BmpGlueGetDimensions( destBitmap, NULL, NULL, &destRowBytes );
--re: Re: Feature freeze
Chris
Christopher R. Hawks Software Engineer
Syscon Plantstar a Division of Syscon International
-------------------------------------------------------------------------
Security and MicroSoft :
"Bringing the world to your desktop - and your desktop to the world"
"The name doesn't go on until the insecurity goes in"
-- Peter Gutmann
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev