From cd5ff302d1b03edb6fe81254c585e0e88c8e71ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 17 Jul 2022 02:30:34 +0200 Subject: Name function arguments in headers. This is obviously a lot less obtuse. --- c/listview.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'c/listview.h') diff --git a/c/listview.h b/c/listview.h index e7cd68b..08511d1 100644 --- a/c/listview.h +++ b/c/listview.h @@ -5,11 +5,11 @@ struct ListView { - ListView(HWND, HMENU, DWORD); - int Height(int = -1); + ListView(HWND hWndParent, HMENU hMenu, DWORD dwStyle); + int Height(int bHeader = -1); HWND Handle(void) const; - virtual void UpdateTheme(BOOL); - virtual LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); + virtual void UpdateTheme(int bThemeActive); + virtual LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); protected: int m_bHeader = 1; WNDPROC m_prevProc; -- cgit v1.2.3