mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
comment for _NO_ALPHABLEND in the makefile
svn path=/trunk/; revision=12921
This commit is contained in:
@@ -8,6 +8,7 @@ CC = gcc
|
||||
CXX = g++
|
||||
LINK = g++
|
||||
|
||||
# -D_NO_ALPHABLEND for builds without msimg32.dll dependency
|
||||
CFLAGS = -DWIN32 -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0501 -DWINVER=0x0500 -fexceptions -Wall -I.
|
||||
RCFLAGS = -DWIN32 -D__WINDRES__
|
||||
LFLAGS = -Wl,--subsystem,windows
|
||||
|
||||
@@ -660,10 +660,12 @@ void NotifyArea::Paint()
|
||||
x += NOTIFYICON_DIST;
|
||||
}
|
||||
|
||||
#ifndef _NO_ALPHABLEND
|
||||
MemCanvas mem_dc;
|
||||
SelectedBitmap bmp(mem_dc, CreateCompatibleBitmap(canvas, NOTIFYICON_SIZE, NOTIFYICON_SIZE));
|
||||
RECT rect = {0, 0, NOTIFYICON_SIZE, NOTIFYICON_SIZE};
|
||||
BLENDFUNCTION blend = {AC_SRC_OVER, 0, 128, 0}; // 50 % visible
|
||||
#endif
|
||||
|
||||
for(NotifyIconSet::const_iterator it=_sorted_icons.begin(); it!=_sorted_icons.end(); ++it) {
|
||||
#ifndef _NO_ALPHABLEND
|
||||
|
||||
Reference in New Issue
Block a user