summaryrefslogtreecommitdiff
path: root/plugins/MagneticWindows/src/stdafx.h
blob: 1bc81267c0fc9fd8edd2fa3e42959084d5588f07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#include <windows.h>
#include <commctrl.h>
#include <stdio.h>

#include <newpluginapi.h>
#include <m_clistint.h>
#include <m_message.h>
#include <m_system.h>
#include <m_options.h>
#include <m_database.h>
#include <m_langpack.h>
#include <m_MagneticWindows.h>

#include "SnapToListService.h"
#include "Options.h"

#include "resource.h"
#include "Version.h"

struct TWorkingVariables
{
	int MouseX, MouseY;
	bool SnappedX, SnappedY;
};

#define MODULENAME "MagneticWindows"

struct CMPlugin : public PLUGIN<CMPlugin>
{
	CMPlugin();

	int Load() override;
};

void WindowStart();
bool WindowOpen(HWND);
bool WindowClose(HWND);
void WindowCloseAll();