summaryrefslogtreecommitdiff
path: root/uisimulator/win32/uisw32.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/uisw32.c')
-rw-r--r--uisimulator/win32/uisw32.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/uisimulator/win32/uisw32.c b/uisimulator/win32/uisw32.c
index fb581c0cf1..02697be443 100644
--- a/uisimulator/win32/uisw32.c
+++ b/uisimulator/win32/uisw32.c
@@ -182,7 +182,16 @@ LRESULT CALLBACK GUIWndProc (
182 0, 0, LCD_WIDTH, LCD_HEIGHT, 182 0, 0, LCD_WIDTH, LCD_HEIGHT,
183 bitmap, (BITMAPINFO *) &bmi, DIB_RGB_COLORS, 183 bitmap, (BITMAPINFO *) &bmi, DIB_RGB_COLORS,
184 SRCCOPY); 184 SRCCOPY);
185 185#ifdef HAVE_REMOTE_LCD
186 StretchDIBits (hDc,
187 UI_REMOTE_POSX * r.right / UI_WIDTH,
188 UI_REMOTE_POSY * r.bottom / UI_HEIGHT,
189 UI_REMOTE_WIDTH * r.right / UI_WIDTH,
190 UI_REMOTE_HEIGHT * r.bottom / UI_HEIGHT,
191 0, 0, LCD_REMOTE_WIDTH, LCD_REMOTE_HEIGHT,
192 remote_bitmap, (BITMAPINFO *) &remote_bmi,
193 DIB_RGB_COLORS, SRCCOPY);
194#endif
186 EndPaint (hWnd, &ps); 195 EndPaint (hWnd, &ps);
187 return TRUE; 196 return TRUE;
188 } 197 }
@@ -240,7 +249,7 @@ BOOL GUIStartup ()
240 if (hGUIWnd == NULL) 249 if (hGUIWnd == NULL)
241 return FALSE; 250 return FALSE;
242 251
243 simlcdinit(); 252 simlcdinit();
244 253
245 return TRUE; 254 return TRUE;
246} 255}