aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-19 14:50:00 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-19 14:50:00 +0200
commitbc6d9cdf289af9167912329f1c5f4e39bd6bac29 (patch)
tree27c5c0f75bd631f0ddf32feddb13d14ad8bf1b1d /c/episodelistview.h
parent2ffbd7fcc178e68e7132d2f8f649d131c5a5d3af (diff)
downloadEpisodeBrowser-bc6d9cdf289af9167912329f1c5f4e39bd6bac29.tar.gz
Use static member function instead of friend function.
Diffstat (limited to 'c/episodelistview.h')
-rw-r--r--c/episodelistview.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/c/episodelistview.h b/c/episodelistview.h
index 1f23959..48e7194 100644
--- a/c/episodelistview.h
+++ b/c/episodelistview.h
@@ -13,22 +13,22 @@
struct EpisodeListView : public ListView
{
EpisodeListView(HWND hWndParent);
- void DoSort();
void EnsureFocusVisible();
LRESULT HandleNotify(LPARAM lParam);
void Redraw();
+ void RestoreFocus();
void SaveFocus();
void SetTop(int iItem);
- void RestoreFocus();
void SelectUnwatched(int iDir);
void ShowFocus();
+ void Sort();
void Update();
void UpdateItem(const LVITEM* pLvi);
LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) override;
private:
int m_iSort;
LVITEM m_lviFocus;
- friend int CALLBACK ElvSort(LPARAM lParam1, LPARAM lParam2, LPARAM lExtra);
+ static int CALLBACK SortProc(LPARAM lParam1, LPARAM lParam2, LPARAM lExtra);
};
#endif