mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 11:35:58 +00:00
50 lines
1.5 KiB
C
50 lines
1.5 KiB
C
|
|
||
|
typedef struct _IMAGEADJUST
|
||
|
{
|
||
|
PMAIN_WND_INFO Info;
|
||
|
HWND hPicPrev;
|
||
|
HBITMAP hBitmap;
|
||
|
HBITMAP hPreviewBitmap;
|
||
|
RECT ImageRect;
|
||
|
INT RedVal;
|
||
|
INT GreenVal;
|
||
|
INT BlueVal;
|
||
|
} IMAGEADJUST, *PIMAGEADJUST;
|
||
|
|
||
|
|
||
|
INT_PTR CALLBACK ImagePropDialogProc(HWND hDlg,
|
||
|
UINT message,
|
||
|
WPARAM wParam,
|
||
|
LPARAM lParam);
|
||
|
|
||
|
INT_PTR CALLBACK BrightnessProc(HWND hDlg,
|
||
|
UINT message,
|
||
|
WPARAM wParam,
|
||
|
LPARAM lParam);
|
||
|
|
||
|
INT_PTR CALLBACK ContrastProc(HWND hDlg,
|
||
|
UINT message,
|
||
|
WPARAM wParam,
|
||
|
LPARAM lParam);
|
||
|
|
||
|
VOID AdjustBrightness(HBITMAP hOrigBitmap,
|
||
|
HBITMAP hNewBitmap,
|
||
|
HWND hwnd,
|
||
|
HDC hdcMem,
|
||
|
INT RedVal,
|
||
|
INT GreenVal,
|
||
|
INT BlueVal);
|
||
|
|
||
|
BOOL DisplayBlackAndWhite(HWND hwnd,
|
||
|
HDC hdcMem,
|
||
|
HBITMAP hBitmap);
|
||
|
BOOL DisplayInvertedColors(HWND hwnd,
|
||
|
HDC hdcMem,
|
||
|
HBITMAP hBitmap);
|
||
|
BOOL DisplayBlur(HWND hwnd,
|
||
|
HDC hdcMem,
|
||
|
HBITMAP hBitmap);
|
||
|
BOOL DisplaySharpness(HWND hwnd,
|
||
|
HDC hdcMem,
|
||
|
HBITMAP hBitmap);
|