diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-30 19:13:22 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-30 19:13:22 +0200 |
commit | 019fad8bdbda5599e5f19bc50cd8ebac6be899e4 (patch) | |
tree | 855e06cfa5b6bd90c7261270350fa50dc6570bba /c/episodelistview.h | |
parent | 9003b747e6d330bac33c30018b4575e2ecfd95eb (diff) | |
download | EpisodeBrowser-019fad8bdbda5599e5f19bc50cd8ebac6be899e4.tar.gz |
Simplify EpisodeListView::UpdateItem, remove m_lviFocus.
Diffstat (limited to 'c/episodelistview.h')
-rw-r--r-- | c/episodelistview.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/c/episodelistview.h b/c/episodelistview.h index 8747f6b..8a96096 100644 --- a/c/episodelistview.h +++ b/c/episodelistview.h @@ -24,11 +24,10 @@ struct EpisodeListView : public ListView void ShowFocus(); void Sort(); void Update(); - void UpdateItem(const LVITEM* pLvi); + void UpdateItem(int iItem, LPARAM lParam); LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) override; private: int m_iSort; - LVITEM m_lviFocus; static int CALLBACK SortProc(LPARAM lParam1, LPARAM lParam2, LPARAM lExtra); }; |