- Revert 47615. Please fix actual sysreg instead of adding inconsistency between...
[reactos.git] / rosapps / templates / imagesoft / imageprop.h
1
2 typedef struct _IMAGEADJUST
3 {
4 PMAIN_WND_INFO Info;
5 HWND hPicPrev;
6 HBITMAP hBitmap;
7 HBITMAP hPreviewBitmap;
8 RECT ImageRect;
9 INT RedVal;
10 INT GreenVal;
11 INT BlueVal;
12 } IMAGEADJUST, *PIMAGEADJUST;
13
14
15 INT_PTR CALLBACK ImagePropDialogProc(HWND hDlg,
16 UINT message,
17 WPARAM wParam,
18 LPARAM lParam);
19
20 INT_PTR CALLBACK BrightnessProc(HWND hDlg,
21 UINT message,
22 WPARAM wParam,
23 LPARAM lParam);
24
25 INT_PTR CALLBACK ContrastProc(HWND hDlg,
26 UINT message,
27 WPARAM wParam,
28 LPARAM lParam);
29
30 VOID AdjustBrightness(HBITMAP hOrigBitmap,
31 HBITMAP hNewBitmap,
32 HWND hwnd,
33 HDC hdcMem,
34 INT RedVal,
35 INT GreenVal,
36 INT BlueVal);
37
38 BOOL DisplayBlackAndWhite(HWND hwnd,
39 HDC hdcMem,
40 HBITMAP hBitmap);
41 BOOL DisplayInvertedColors(HWND hwnd,
42 HDC hdcMem,
43 HBITMAP hBitmap);
44 BOOL DisplayBlur(HWND hwnd,
45 HDC hdcMem,
46 HBITMAP hBitmap);
47 BOOL DisplaySharpness(HWND hwnd,
48 HDC hdcMem,
49 HBITMAP hBitmap);