mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
comment for _NO_ALPHABLEND in the makefile
svn path=/trunk/; revision=12921
This commit is contained in:
parent
2ab1b0f2e1
commit
0afc3c7bef
2 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,7 @@ CC = gcc
|
||||||
CXX = g++
|
CXX = g++
|
||||||
LINK = 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.
|
CFLAGS = -DWIN32 -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0501 -DWINVER=0x0500 -fexceptions -Wall -I.
|
||||||
RCFLAGS = -DWIN32 -D__WINDRES__
|
RCFLAGS = -DWIN32 -D__WINDRES__
|
||||||
LFLAGS = -Wl,--subsystem,windows
|
LFLAGS = -Wl,--subsystem,windows
|
||||||
|
|
|
@ -660,10 +660,12 @@ void NotifyArea::Paint()
|
||||||
x += NOTIFYICON_DIST;
|
x += NOTIFYICON_DIST;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _NO_ALPHABLEND
|
||||||
MemCanvas mem_dc;
|
MemCanvas mem_dc;
|
||||||
SelectedBitmap bmp(mem_dc, CreateCompatibleBitmap(canvas, NOTIFYICON_SIZE, NOTIFYICON_SIZE));
|
SelectedBitmap bmp(mem_dc, CreateCompatibleBitmap(canvas, NOTIFYICON_SIZE, NOTIFYICON_SIZE));
|
||||||
RECT rect = {0, 0, NOTIFYICON_SIZE, NOTIFYICON_SIZE};
|
RECT rect = {0, 0, NOTIFYICON_SIZE, NOTIFYICON_SIZE};
|
||||||
BLENDFUNCTION blend = {AC_SRC_OVER, 0, 128, 0}; // 50 % visible
|
BLENDFUNCTION blend = {AC_SRC_OVER, 0, 128, 0}; // 50 % visible
|
||||||
|
#endif
|
||||||
|
|
||||||
for(NotifyIconSet::const_iterator it=_sorted_icons.begin(); it!=_sorted_icons.end(); ++it) {
|
for(NotifyIconSet::const_iterator it=_sorted_icons.begin(); it!=_sorted_icons.end(); ++it) {
|
||||||
#ifndef _NO_ALPHABLEND
|
#ifndef _NO_ALPHABLEND
|
||||||
|
|
Loading…
Reference in a new issue