From b5ee251adb8cbacc4db4db9753cacc101fd13c85 Mon Sep 17 00:00:00 2001 From: joten Date: Sun, 25 Jan 2015 20:39:09 +0100 Subject: [PATCH] Renamed Manager_resetWindowBorder and ... ... Manager_setWindowBorder to Manager_restoreWindowBorders and Manager_setWindowBorders --- src/Main.ahk | 2 +- src/Manager.ahk | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Main.ahk b/src/Main.ahk index 1ac83b6..f9c68aa 100644 --- a/src/Main.ahk +++ b/src/Main.ahk @@ -175,7 +175,7 @@ Main_reload() { Local i, ncm, ncmSize - ;; Reset border color, padding and witdh. + ;; Restore border color, padding and witdh. If Config_selBorderColor DllCall("SetSysColors", "Int", 1, "Int*", 10, "UInt*", Manager_normBorderColor) If (Config_borderWidth > 0) Or (Config_borderPadding >= 0 And A_OSVersion = WIN_VISTA) diff --git a/src/Manager.ahk b/src/Manager.ahk index 5be9672..f7a696a 100644 --- a/src/Manager.ahk +++ b/src/Manager.ahk @@ -17,7 +17,7 @@ Manager_init() { Local doRestore - Manager_setWindowBorder() + Manager_setWindowBorders() Bar_getHeight() ; axes, dimensions, percentage, flipped, gapWidth Manager_layoutDirty := 0 @@ -192,7 +192,7 @@ Manager_cleanup() WinGet, aWndId, ID, A - Manager_resetWindowBorder() + Manager_restoreWindowBorders() ;; Show borders and title bars. StringTrimRight, wndIds, Manager_managedWndIds, 1 @@ -210,7 +210,7 @@ Manager_cleanup() WinShow, ahk_class Shell_TrayWnd Manager_hideShow := False - ;; Reset windows position and size. + ;; Restore window positions and sizes. Manager_showTaskBar := True Loop, % Manager_monitorCount { @@ -701,7 +701,7 @@ Manager_resetMonitorConfiguration() { Debug_logMessage("DEBUG[1] Manager_registerShellHook; hWnd: " . hWnd . ", wndClass: " . wndClass . ", wndTitle: " . wndTitle, 1) } -Manager_resetWindowBorder() +Manager_restoreWindowBorders() { Local ncm, ncmSize @@ -761,7 +761,7 @@ Manager_setViewMonitor(d) } } -Manager_setWindowBorder() +Manager_setWindowBorders() { Local ncm, ncmSize