mirror of
https://github.com/UzixLS/KernelEx.git
synced 2025-07-19 15:31:19 +03:00
import KernelEx-4.5-Beta1
This commit is contained in:
0
auxiliary/msimg32/makefile
Normal file → Executable file
0
auxiliary/msimg32/makefile
Normal file → Executable file
0
auxiliary/msimg32/makefile.msv
Normal file → Executable file
0
auxiliary/msimg32/makefile.msv
Normal file → Executable file
4
auxiliary/msimg32/msimg32.c
Normal file → Executable file
4
auxiliary/msimg32/msimg32.c
Normal file → Executable file
@ -63,7 +63,7 @@ BOOL WINAPI AlphaBlend_NEW( HDC hdcDest, // handle to destination DC
|
||||
BLENDFUNCTION blendFunction // alpha-blending function
|
||||
)
|
||||
{
|
||||
unsigned int i, srcalpha, dstalpha;
|
||||
unsigned int srcalpha, dstalpha;
|
||||
BITMAPINFO bmi;
|
||||
HBITMAP srcBM, dstBM, dcBM;
|
||||
HDC srcDC, dstDC;
|
||||
@ -102,6 +102,7 @@ BOOL WINAPI AlphaBlend_NEW( HDC hdcDest, // handle to destination DC
|
||||
//workwork
|
||||
if ( !(blendFunction.AlphaFormat & AC_SRC_ALPHA) ) //no alpha channel
|
||||
{
|
||||
int i;
|
||||
srcalpha = blendFunction.SourceConstantAlpha;
|
||||
dstalpha = 255 - srcalpha;
|
||||
for (i = 0; i < (nWidthDest*nHeightDest); i++)
|
||||
@ -116,6 +117,7 @@ BOOL WINAPI AlphaBlend_NEW( HDC hdcDest, // handle to destination DC
|
||||
}
|
||||
else
|
||||
{
|
||||
int i;
|
||||
unsigned int tmp;
|
||||
srcalpha = blendFunction.SourceConstantAlpha;
|
||||
for (i = 0; i < (nWidthDest*nHeightDest); i++)
|
||||
|
0
auxiliary/msimg32/msimg32.def
Normal file → Executable file
0
auxiliary/msimg32/msimg32.def
Normal file → Executable file
0
auxiliary/msimg32/msimgme.rc
Normal file → Executable file
0
auxiliary/msimg32/msimgme.rc
Normal file → Executable file
Reference in New Issue
Block a user