Index: screen.c
===================================================================
RCS file: /cvs/plucker/plucker_src/viewer/screen.c,v
retrieving revision 1.46
diff -a -u -r1.46 screen.c
--- a/screen.c	20 Mar 2004 01:57:30 -0000	1.46
+++ b/screen.c	20 Mar 2004 02:32:26 -0000
@@ -260,6 +260,30 @@
 
 
 
+
+void SetBackColorWhite( void )
+{
+    RGBColorType rgb = { 255, 255, 255 };
+
+    if ( Support40() ) {
+        WinSetBackColorRGB( &rgb, NULL );
+    }
+    else if ( Support35() ) {
+        WinSetBackColor( WinRGBToIndex( &rgb ) );
+    }
+}
+
+
+
+void SetBackColorDefault( void )
+{
+    if ( Support35() ) {
+        WinSetBackColor( UIColorGetTableEntryIndex( UIFormFill ) );
+    }
+}
+
+
+
 /* NOP for OS 2.0 */
 void SetForeColor_OS2
     (
Index: screen.h
===================================================================
RCS file: /cvs/plucker/plucker_src/viewer/screen.h,v
retrieving revision 1.26
diff -a -u -r1.26 screen.h
--- a/screen.h	14 Nov 2003 17:26:57 -0000	1.26
+++ b/screen.h	20 Mar 2004 02:32:26 -0000
@@ -96,6 +96,9 @@
 /* Get the size of a bitmap */
 UInt32 PortableBmpSize ( BitmapType* bitmap ) SCREEN_SECTION;
 
+extern void SetBackColorDefault( void ) SCREEN_SECTION;
+
+extern void SetBackColorWhite( void ) SCREEN_SECTION;
 
 PLKR_GLOBAL void (*SetScreenMode)( void );
 PLKR_GLOBAL void (*SetDefaultScreenMode)( Boolean );
Index: image.c
===================================================================
RCS file: /cvs/plucker/plucker_src/viewer/image.c,v
retrieving revision 1.81
diff -a -u -r1.81 image.c
--- a/image.c	17 Feb 2004 01:22:28 -0000	1.81
+++ b/image.c	20 Mar 2004 02:32:28 -0000
@@ -223,8 +223,10 @@
                   image->reference, tContext->cursorX,
                   (Int16)tContext->cursorY - image->height, image->width,
                   image->height ) );
+            SetBackColorWhite();
             RotDrawBitmap( image->bitmap, tContext->cursorX,
                 tContext->cursorY - image->height );
+            SetBackColorDefault();
         }
     }
 
@@ -908,7 +910,9 @@
     }
 
     screenWindow = WinSetDrawWindow( tempWindow );
+    SetBackColorWhite();
     WinDrawBitmap( image->bitmap, 0, 0 );
+    SetBackColorDefault();
     WinSetDrawWindow( screenWindow );
     WinDeleteWindow( tempWindow, false );
     imageHandle = UnlockImage( image );
