Author: cwittich
Date: Fri Apr 28 04:09:33 2006
New Revision: 21748
URL:
http://svn.reactos.ru/svn/reactos?rev=21748&view=rev
Log:
transparent screen picture
Modified:
trunk/reactos/dll/cpl/desk/background.c
trunk/reactos/dll/cpl/desk/desk.rbuild
trunk/reactos/dll/cpl/desk/resources/monitor.bmp
trunk/reactos/dll/cpl/desk/settings.c
Modified: trunk/reactos/dll/cpl/desk/background.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/cpl/desk/background.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/desk/background.c (original)
+++ trunk/reactos/dll/cpl/desk/background.c Fri Apr 28 04:09:33 2006
@@ -592,7 +592,7 @@
hdcMem = CreateCompatibleDC(hdc);
SelectObject(hdcMem, hBitmap);
- BitBlt(hdc, 98, 0, cxSource, cySource, hdcMem, 0, 0, SRCCOPY);
+ TransparentBlt(hdc, 98, 0, cxSource, cySource, hdcMem, 0, 0, cxSource,
cySource, 0xFF80FF);
DeleteDC(hdcMem);
EndPaint(hwndDlg, &ps);
Modified: trunk/reactos/dll/cpl/desk/desk.rbuild
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/cpl/desk/desk.rbuild?re…
==============================================================================
--- trunk/reactos/dll/cpl/desk/desk.rbuild (original)
+++ trunk/reactos/dll/cpl/desk/desk.rbuild Fri Apr 28 04:09:33 2006
@@ -7,6 +7,7 @@
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x600</define>
<define name="_WIN32_WINNT">0x501</define>
+ <define name="WINVER">0x501</define>
<define name="_WIN32" />
<library>kernel32</library>
<library>user32</library>
@@ -17,6 +18,7 @@
<library>setupapi</library>
<library>shell32</library>
<library>ntdll</library>
+ <library>msimg32</library>
<file>classinst.c</file>
<file>desk.c</file>
<file>background.c</file>
Modified: trunk/reactos/dll/cpl/desk/resources/monitor.bmp
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/cpl/desk/resources/moni…
==============================================================================
Binary files - no diff available.
Modified: trunk/reactos/dll/cpl/desk/settings.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/cpl/desk/settings.c?rev…
==============================================================================
--- trunk/reactos/dll/cpl/desk/settings.c (original)
+++ trunk/reactos/dll/cpl/desk/settings.c Fri Apr 28 04:09:33 2006
@@ -582,7 +582,7 @@
hdcMem = CreateCompatibleDC(hdc);
SelectObject(hdcMem, hBitmap);
- BitBlt(hdc, 98, 0, cxSource, cySource, hdcMem, 0, 0, SRCCOPY);
+ TransparentBlt(hdc, 98, 0, cxSource, cySource, hdcMem, 0, 0, cxSource,
cySource, 0xFF80FF);
DeleteDC(hdcMem);
EndPaint(hwndDlg, &ps);