diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-15 18:50:15 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-15 18:50:15 +0200 |
commit | e2dfdd7d07f54b464a4419dcf102662f1694d4b8 (patch) | |
tree | 7c8ef515847be96cdb12ddc21b8a3104fcce9428 /c/listview.h | |
parent | 450770c00ae724fa8a3dc05fc86bf414cfa34e2f (diff) | |
download | EpisodeBrowser-e2dfdd7d07f54b464a4419dcf102662f1694d4b8.tar.gz |
Split defs.h into separate header files.
This is feasible now that the makedeps script exists to automatically
manage build dependencies (see 6034fe2, d00f8b3).
Diffstat (limited to 'c/listview.h')
-rw-r--r-- | c/listview.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/c/listview.h b/c/listview.h new file mode 100644 index 0000000..369c4ec --- /dev/null +++ b/c/listview.h @@ -0,0 +1,19 @@ +#ifndef LISTVIEW_H +#define LISTVIEW_H + +#include <windows.h> + +struct ListView +{ + ListView(HMENU, DWORD); + int Height(int = -1); + HWND HWnd(void) const; + virtual void UpdateTheme(BOOL); + virtual LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); +protected: + int m_bHeader = 1; + WNDPROC m_prevProc; + HWND m_hWnd; +}; + +#endif |