- Revert 47615. Please fix actual sysreg instead of adding inconsistency between...
[reactos.git] / rosapps / templates / imagesoft / precomp.h
1 #ifndef __IMAGESOFT_PRECOMP_H
2 #define __IMAGESOFT_PRECOMP_H
3
4 //#define WIN32_LEAN_AND_MEAN
5 #include <windows.h>
6 #include <windowsx.h>
7 #include <stdio.h>
8 #include <tchar.h>
9 #include <commctrl.h>
10 #include "resource.h"
11
12 #include "tooldock.h"
13 #include "imgedwnd.h"
14 #include "mainwnd.h"
15 #include "imageprop.h"
16 #include "misc.h"
17
18 #define MAX_KEY_LENGTH 256
19 #define NUM_MAINTB_IMAGES 10
20 #define TB_BMP_WIDTH 16
21 #define TB_BMP_HEIGHT 16
22
23 #define TOOLS 0
24 #define COLORS 1
25 #define HISTORY 2
26
27 extern HINSTANCE hInstance;
28 extern HANDLE ProcessHeap;
29
30 /* about.c */
31 INT_PTR CALLBACK AboutDialogProc(HWND hDlg,
32 UINT message,
33 WPARAM wParam,
34 LPARAM lParam);
35
36 /* opensave.c */
37 VOID FileInitialize(HWND hwnd);
38 BOOL DoOpenFile(HWND hwnd,
39 LPTSTR lpFileName,
40 LPTSTR lpName);
41 BOOL DoSaveFile(HWND hwnd);
42
43 /* floattoolbar.c */
44 typedef struct _FLT_WND
45 {
46 HWND hSelf;
47 LPTSTR lpName;
48 INT x;
49 INT y;
50 INT Width;
51 INT Height;
52 INT Transparancy;
53 BOOL bOpaque;
54 } FLT_WND, *PFLT_WND;
55
56 BOOL FloatToolbarCreateToolsGui(PMAIN_WND_INFO Info);
57 BOOL FloatToolbarCreateColorsGui(PMAIN_WND_INFO Info);
58 BOOL FloatToolbarCreateHistoryGui(PMAIN_WND_INFO Info);
59 BOOL InitFloatWndClass(VOID);
60 VOID UninitFloatWndImpl(VOID);
61 BOOL ShowHideWindow(HWND hwnd);
62
63 /* font.c */
64 VOID FillFontStyleComboList(HWND hwndCombo);
65 VOID FillFontSizeComboList(HWND hwndCombo);
66
67 /* custcombo.c */
68 VOID MakeFlatCombo(HWND hwndCombo);
69
70 #endif /* __IMAGESOFT_PRECOMP_H */