コード例 #1
0
        public static int PushNewWindowInfo(WindowTilingType windowTilingType,
                                            List <WindowInfoWithHandle> windowInfos, WindowInfoWithHandle windowInfoWithHandle)
        {
            var windowTiler = WindowTiler.CreateWindowTilerInstance(windowTilingType);

            return(windowTiler.PushNewWindowInfo(windowInfos, windowInfoWithHandle));
        }
コード例 #2
0
        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);
        }