summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/MagneticWindows/MagneticWindowsCore.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/!NotAdopted/MagneticWindows/MagneticWindowsCore.h')
-rw-r--r--plugins/!NotAdopted/MagneticWindows/MagneticWindowsCore.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/MagneticWindows/MagneticWindowsCore.h b/plugins/!NotAdopted/MagneticWindows/MagneticWindowsCore.h
new file mode 100644
index 0000000000..63d9b6a5e3
--- /dev/null
+++ b/plugins/!NotAdopted/MagneticWindows/MagneticWindowsCore.h
@@ -0,0 +1,45 @@
+#include <windows.h>
+#include <commctrl.h>
+#include <stdio.h>
+#include "../include/newpluginapi.h"
+#include "../include/m_clist.h"
+#include "../include/m_clui.h"
+#include "../include/m_message.h"
+#include "../include/m_system.h"
+#include "../include/m_options.h"
+#include "../include/m_plugins.h"
+#include "../include/m_database.h"
+#include "../include/m_langpack.h"
+#include "m_MagneticWindows.h"
+#include "SnapToListService.h"
+#include "Options.h"
+#include "resource.h"
+
+
+typedef
+ struct TDockingWindow {
+ HWND hWnd;
+ WNDPROC OldWindowProc;
+ TDockingWindow* Next;
+ } TDockingWindow, *PDockingWindow;
+typedef
+ struct TRectList {
+ RECT Rect;
+ TRectList* Next;
+ } TRectList, *PRectList;
+typedef
+ struct {
+ PDockingWindow WindowList;
+ PRectList Rects;
+ int MouseX, MouseY;
+ bool SnappedX, SnappedY;
+ } TWorkingVariables;
+
+
+
+extern HINSTANCE hInst;
+extern char ModuleName [];
+
+bool WindowOpen(HWND);
+bool WindowClose(HWND);
+bool WindowCloseAll(); \ No newline at end of file