#ifndef RAGNAROK_SOURCE_UI_LAYOUT_WINDOWSNAPPING_H #define RAGNAROK_SOURCE_UI_LAYOUT_WINDOWSNAPPING_H #include "UI/Layout/SnapRectangle.h" #include #include class CSnapMgr; class UIWindow; struct WindowSnapping { CSnapMgr& graph; std::map& rectangles; const std::list& excluded; const bool& enabled; const int& screenWidth; const int& screenHeight; void Store(UIWindow* window); void Constrain(UIWindow* window, int& dx, int& dy, int groupMember); }; #endif