mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 23:46:50 +00:00
tab -> space
svn path=/trunk/; revision=24794
This commit is contained in:
parent
1cae12f9ba
commit
0ecf7d35d0
|
@ -61,16 +61,16 @@ DisplayBlackAndWhite(HWND hwnd,
|
|||
g = GetGValue(Val);
|
||||
r = GetBValue(Val);
|
||||
|
||||
// get the average color value
|
||||
Val = (r+g+b)/3;
|
||||
// get the average color value
|
||||
Val = (r+g+b)/3;
|
||||
|
||||
// assign to RGB color
|
||||
Val = RGB(Val, Val, Val);
|
||||
CopyMemory(&pBits[Count],
|
||||
// assign to RGB color
|
||||
Val = RGB(Val, Val, Val);
|
||||
CopyMemory(&pBits[Count],
|
||||
&Val,
|
||||
4);
|
||||
|
||||
Count+=4;
|
||||
Count+=4;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -153,17 +153,17 @@ DisplayInvertedColors(HWND hwnd,
|
|||
&pBits[Count],
|
||||
4);
|
||||
|
||||
b = 255 - GetRValue(Val);
|
||||
g = 255 - GetGValue(Val);
|
||||
r = 255 - GetBValue(Val);
|
||||
|
||||
Val = RGB(b, g, r);
|
||||
b = 255 - GetRValue(Val);
|
||||
g = 255 - GetGValue(Val);
|
||||
r = 255 - GetBValue(Val);
|
||||
|
||||
Val = RGB(b, g, r);
|
||||
|
||||
CopyMemory(&pBits[Count],
|
||||
CopyMemory(&pBits[Count],
|
||||
&Val,
|
||||
4);
|
||||
|
||||
Count+=4;
|
||||
Count+=4;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -447,7 +447,7 @@ FloatToolbarWndProc(HWND hwnd,
|
|||
break;
|
||||
|
||||
case WM_CLOSE:
|
||||
ShowHideWindow(FltInfo->hSelf);
|
||||
ShowHideWindow(FltInfo->hSelf);
|
||||
break;
|
||||
|
||||
case WM_COMMAND:
|
||||
|
|
Loading…
Reference in a new issue