diff options
author | Felix Arends <edx@rockbox.org> | 2002-04-27 15:20:53 +0000 |
---|---|---|
committer | Felix Arends <edx@rockbox.org> | 2002-04-27 15:20:53 +0000 |
commit | a6ca085a35fc2b1739fc8d1e6cf064b45279e8ee (patch) | |
tree | 558e54de047a1cde0ac61ab110e54a4bda69d343 /uisimulator/win32/uisw32.cpp | |
parent | 49ea8fb28140f9297a1d470e56761702a389e5b3 (diff) | |
download | rockbox-a6ca085a35fc2b1739fc8d1e6cf064b45279e8ee.tar.gz rockbox-a6ca085a35fc2b1739fc8d1e6cf064b45279e8ee.zip |
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
Diffstat (limited to 'uisimulator/win32/uisw32.cpp')
-rw-r--r-- | uisimulator/win32/uisw32.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ | |||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
7 | * \/ \/ \/ \/ \/ | 7 | * \/ \/ \/ \/ \/ |
8 | * $Id$ | ||
8 | * | 9 | * |
9 | * Copyright (C) 2002 by Felix Arends | 10 | * Copyright (C) 2002 by Felix Arends |
10 | * | 11 | * |
@@ -164,8 +165,8 @@ LRESULT GUIWndProc ( | |||
164 | // draw lcd screen | 165 | // draw lcd screen |
165 | StretchDIBits (hDc, | 166 | StretchDIBits (hDc, |
166 | UI_LCD_POSX * r.right / UI_WIDTH, UI_LCD_POSY * r.bottom / UI_HEIGHT, | 167 | UI_LCD_POSX * r.right / UI_WIDTH, UI_LCD_POSY * r.bottom / UI_HEIGHT, |
167 | DISP_X * r.right / UI_WIDTH, DISP_Y * r.bottom / UI_HEIGHT, | 168 | LCD_WIDTH * r.right / UI_WIDTH, LCD_HEIGHT * r.bottom / UI_HEIGHT, |
168 | 0, 0, DISP_X, DISP_Y, | 169 | 0, 0, LCD_WIDTH, LCD_HEIGHT, |
169 | bitmap, (BITMAPINFO *) &bmi, DIB_RGB_COLORS, SRCCOPY); | 170 | bitmap, (BITMAPINFO *) &bmi, DIB_RGB_COLORS, SRCCOPY); |
170 | 171 | ||
171 | EndPaint (hWnd, &ps); | 172 | EndPaint (hWnd, &ps); |