diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-05 16:45:08 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-05 16:45:08 +0200 |
commit | c0024748e8ff2f46e5d37a054fa349f24ddc497f (patch) | |
tree | 15df0541bb2a6c824c6cad81deecd089b738ee35 /c/layout.h | |
parent | 94119478207034b767c1d0a4fa5d8950f7b07b02 (diff) | |
download | EpisodeBrowser-c0024748e8ff2f46e5d37a054fa349f24ddc497f.tar.gz |
Rename Dragger functions.
Diffstat (limited to 'c/layout.h')
-rw-r--r-- | c/layout.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -12,14 +12,14 @@ void UpdateLayout(int w = 0, int h = 0); /* Dragger objects implement draggable portions of the client area, - * such as the split between two list views. HandleDown and HandleMove - * are called by relevant window procedures upon WM_(NC)LBUTTONDOWN - * and WM_SETCURSOR. */ + * such as the split between two list views. HandleLButtonDown and + * HandleSetCursor are called by relevant window procedures upon + * WM_(NC)LBUTTONDOWN and WM_SETCURSOR. */ struct Dragger { - bool HandleDown(); - bool HandleMove(); + bool HandleLButtonDown(); + bool HandleSetCursor(); protected: bool IsDown(); bool IsDouble(); @@ -63,7 +63,7 @@ inline bool Dragger::IsDown() return GetKeyState(VK_LBUTTON) & 0x8000; } -inline bool Dragger::HandleDown() +inline bool Dragger::HandleLButtonDown() { extern HWND g_hWnd; POINT pt; @@ -79,7 +79,7 @@ inline bool Dragger::HandleDown() return m_bActive; } -inline bool Dragger::HandleMove() +inline bool Dragger::HandleSetCursor() { extern HWND g_hWnd; POINT pt; |