aboutsummaryrefslogtreecommitdiff
path: root/c/defs.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-11 00:34:44 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-11 00:40:16 +0200
commit8122c83bb3be30325f49d50dbafcd2f14c9b0d2e (patch)
treee0313f5e6fad84c2b5d8517a6efb9e4c82dc953f /c/defs.h
parentca56ce2c32b4479af32bf7fb5d065ee9a3a45d8a (diff)
downloadEpisodeBrowser-8122c83bb3be30325f49d50dbafcd2f14c9b0d2e.tar.gz
Improve ElvSort.
Diffstat (limited to 'c/defs.h')
-rw-r--r--c/defs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/c/defs.h b/c/defs.h
index f36b8ea..2fa2f06 100644
--- a/c/defs.h
+++ b/c/defs.h
@@ -19,17 +19,22 @@ protected:
public:
void Create(HMENU, DWORD);
int Height(int);
- HWND HWnd(void);
+ HWND HWnd(void) const;
virtual void UpdateTheme(BOOL);
virtual LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
};
/* episodelistview.cpp */
class EpisodeListView: public ListView {
+private:
+ int m_iSort;
+ LVITEM m_lviFocus;
public:
void Create(void);
void DoSort(void);
+ void EnsureFocusVisible(void);
LRESULT HandleNotify(LPARAM);
+ int ISort(void) const;
void Redraw(void);
void SaveFocus(void);
void SetTop(int);