2010-05-07 04:47:10 -05:00
|
|
|
/*
|
2011-12-03 16:38:03 -06:00
|
|
|
* Copyright 2009-2011, Andrea Anzani. All rights reserved.
|
2010-05-07 04:47:10 -05:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _WINDOWS_MANAGER_H_
|
|
|
|
#define _WINDOWS_MANAGER_H_
|
|
|
|
|
|
|
|
#include <Window.h>
|
|
|
|
#include <Point.h>
|
|
|
|
|
|
|
|
class WindowsManager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static WindowsManager* Get();
|
|
|
|
|
|
|
|
void RelocateWindow(BWindow* window);
|
|
|
|
|
|
|
|
private:
|
|
|
|
WindowsManager();
|
|
|
|
|
|
|
|
static WindowsManager* fInstance;
|
|
|
|
BPoint fCurrentPoint;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WINDOWS_MANAGER_H_
|