summaryrefslogtreecommitdiff
path: root/plugins/AsSingleWindow/src/WindowsManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AsSingleWindow/src/WindowsManager.h')
-rw-r--r--plugins/AsSingleWindow/src/WindowsManager.h43
1 files changed, 21 insertions, 22 deletions
diff --git a/plugins/AsSingleWindow/src/WindowsManager.h b/plugins/AsSingleWindow/src/WindowsManager.h
index a93f33678c..b3e7e5297f 100644
--- a/plugins/AsSingleWindow/src/WindowsManager.h
+++ b/plugins/AsSingleWindow/src/WindowsManager.h
@@ -2,32 +2,34 @@
#include "stdafx.h"
-enum WindowState {
- WINDOW_STATE_NORMAL,
- WINDOW_STATE_MINIMIZED,
- WINDOW_STATE_MAXIMIZED,
- WINDOW_STATE_HIDDEN,
- WINDOW_STATE_CLOSED, // not used ?
+enum WindowState
+{
+ WINDOW_STATE_NORMAL,
+ WINDOW_STATE_MINIMIZED,
+ WINDOW_STATE_MAXIMIZED,
+ WINDOW_STATE_HIDDEN,
+ WINDOW_STATE_CLOSED, // not used ?
};
-enum eWindowPosition {
- WINDOW_POSITION_LEFT = 1,
- WINDOW_POSITION_RIGHT = 2,
+enum eWindowPosition
+{
+ WINDOW_POSITION_LEFT = 1,
+ WINDOW_POSITION_RIGHT = 2,
};
-struct sWndCoords {
- LONG x, y, width, height;
+struct sWndCoords
+{
+ LONG x, y, width, height;
};
-struct sWindowInfo {
- HWND hWnd;
- WindowState eState;
- WNDPROC pPrevWndProc;
- RECT rLastSavedPosition;
+struct sWindowInfo
+{
+ HWND hWnd;
+ WindowState eState;
+ RECT rLastSavedPosition;
- void saveState();
- void saveRect();
- //void restoreRect();
+ void saveState();
+ void saveRect();
};
// critical section tools
@@ -37,10 +39,7 @@ bool pluginIsAlreadyRunning();
// system
sWindowInfo* windowFind(HWND);
-//windowsList::iterator windowFindItr(HWND);
-//windowsList::reverse_iterator windowFindRevItr(HWND);
void windowAdd(HWND, bool);
-//void windowRemove(HWND);
HWND windowGetRoot(HWND);
void windowListUpdate();
void windowReposition(HWND);