public static int PushNewWindowInfo(WindowTilingType windowTilingType, List <WindowInfoWithHandle> windowInfos, WindowInfoWithHandle windowInfoWithHandle) { var windowTiler = WindowTiler.CreateWindowTilerInstance(windowTilingType); return(windowTiler.PushNewWindowInfo(windowInfos, windowInfoWithHandle)); }
public WindowTiler(WindowTilingType windowTilingType, int windowCount, Monitor.RECT monitorRect) { Logger.WriteLine($"WindowTiler(WindowTilingType={windowTilingType}, int={windowCount}"); this.windowTiler = WindowTiler.CreateWindowTilerInstance(windowTilingType); this.windowTiler.CalcuratePosition(windowCount, monitorRect.top, monitorRect.bottom, monitorRect.left, monitorRect.right); }