From a6ca085a35fc2b1739fc8d1e6cf064b45279e8ee Mon Sep 17 00:00:00 2001 From: Felix Arends Date: Sat, 27 Apr 2002 15:20:53 +0000 Subject: removed unneeded code from lcd.c and renamed it do lcd-win32.c updated modified constants (LCD_WIDTH, LCD_HEIGHT) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@261 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/win32/uisw32.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'uisimulator/win32/uisw32.cpp') diff --git a/uisimulator/win32/uisw32.cpp b/uisimulator/win32/uisw32.cpp index 6bc1bedb00..529ecbfb4e 100644 --- a/uisimulator/win32/uisw32.cpp +++ b/uisimulator/win32/uisw32.cpp @@ -5,6 +5,7 @@ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ * \/ \/ \/ \/ \/ + * $Id$ * * Copyright (C) 2002 by Felix Arends * @@ -164,8 +165,8 @@ LRESULT GUIWndProc ( // draw lcd screen StretchDIBits (hDc, UI_LCD_POSX * r.right / UI_WIDTH, UI_LCD_POSY * r.bottom / UI_HEIGHT, - DISP_X * r.right / UI_WIDTH, DISP_Y * r.bottom / UI_HEIGHT, - 0, 0, DISP_X, DISP_Y, + LCD_WIDTH * r.right / UI_WIDTH, LCD_HEIGHT * r.bottom / UI_HEIGHT, + 0, 0, LCD_WIDTH, LCD_HEIGHT, bitmap, (BITMAPINFO *) &bmi, DIB_RGB_COLORS, SRCCOPY); EndPaint (hWnd, &ps); -- cgit v1.2.3