1 /*
2  * WineCalc (magnifier.h)
3  *
4  * Copyright 2007 Marc Piulachs
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19  */
20 
21 #ifndef _MAGNIFIER_H_
22 #define _MAGNIFIER_H_
23 
24 #include <stdarg.h>
25 #include <windef.h>
26 
27 extern int iZoom;
28 
29 struct _AppBarConfig_t {
30     DWORD cbSize;
31     INT   uEdge;
32     DWORD value3;
33     DWORD value4;
34     RECT appBarSizes;
35     RECT rcFloating;
36 };
37 extern struct _AppBarConfig_t AppBarConfig;
38 
39 extern BOOL bShowWarning;
40 
41 extern BOOL bFollowMouse;
42 extern BOOL bFollowFocus;
43 extern BOOL bFollowCaret;
44 
45 extern BOOL bInvertColors;
46 extern BOOL bStartMinimized;
47 extern BOOL bShowMagnifier;
48 
49 void LoadSettings(void);
50 void SaveSettings(void);
51 
52 #endif /* _MAGNIFIER_H_ */
53