blob: 63d9b6a5e3a3091d5b8588f2a39f3c4e58725d88 (
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
39
40
41
42
43
44
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();
|