[MAGNIFY] Minor whitespace / formatting fixes; use the new file headers + some code...
[reactos.git] / base / applications / magnify / magnifier.h
index 1181c9c..2552823 100644 (file)
@@ -1,32 +1,29 @@
 /*
- * WineCalc (magnifier.h)
- *
- * Copyright 2007 Marc Piulachs
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ * PROJECT:     ReactOS Magnify
+ * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
+ * PURPOSE:     Magnification of parts of the screen.
+ * COPYRIGHT:   Copyright 2007-2019 Marc Piulachs <marc.piulachs@codexchange.net>
+ *              Copyright 2015-2019 David Quintana <gigaherz@gmail.com>
  */
 
-//////////////////////////////////////////////////////////////////
+#ifndef _MAGNIFIER_H_
+#define _MAGNIFIER_H_
 
-#include <windows.h>
-#include <commctrl.h>
-#include <tchar.h>
-#include <shellapi.h>
-#include "resource.h"
+#include <stdarg.h>
+#include <windef.h>
 
-extern int iZoom;
+extern UINT uiZoom;
+
+struct _AppBarConfig_t
+{
+    DWORD cbSize;
+    INT   uEdge;
+    DWORD value3;
+    DWORD value4;
+    RECT appBarSizes;
+    RECT rcFloating;
+};
+extern struct _AppBarConfig_t AppBarConfig;
 
 extern BOOL bShowWarning;
 
@@ -40,3 +37,5 @@ extern BOOL bShowMagnifier;
 
 void LoadSettings(void);
 void SaveSettings(void);
+
+#endif /* _MAGNIFIER_H_ */