aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-30 19:13:22 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-30 19:13:22 +0200
commit019fad8bdbda5599e5f19bc50cd8ebac6be899e4 (patch)
tree855e06cfa5b6bd90c7261270350fa50dc6570bba /c/episodelistview.h
parent9003b747e6d330bac33c30018b4575e2ecfd95eb (diff)
downloadEpisodeBrowser-019fad8bdbda5599e5f19bc50cd8ebac6be899e4.tar.gz
Simplify EpisodeListView::UpdateItem, remove m_lviFocus.
Diffstat (limited to 'c/episodelistview.h')
-rw-r--r--c/episodelistview.h3
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);
};