aboutsummaryrefslogtreecommitdiff
path: root/c/datalistview.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-18 01:52:32 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-18 01:52:32 +0200
commita9a4938f87cb3ce2a0214d45925bcdb4ba8d2a28 (patch)
treeff48d053aba1b93dc0771ed20b99d7e0211dd101 /c/datalistview.cpp
parent5f92d1e00e12085bedc86c6274b254589053c411 (diff)
downloadEpisodeBrowser-a9a4938f87cb3ce2a0214d45925bcdb4ba8d2a28.tar.gz
Move file views out of EpisodeListView and DataListView.
Diffstat (limited to 'c/datalistview.cpp')
-rw-r--r--c/datalistview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/c/datalistview.cpp b/c/datalistview.cpp
index 3999b40..a71a270 100644
--- a/c/datalistview.cpp
+++ b/c/datalistview.cpp
@@ -12,6 +12,9 @@
#include "layout.h"
#include "wcharptr.h"
+extern CfgA& g_cfg;
+extern FileView<DlvDataA> g_fvDlv;
+
DataListView::DataListView(const HWND hWndParent)
: ListView(hWndParent, reinterpret_cast<HMENU>(IDC_DATALISTVIEW), LVS_NOCOLUMNHEADER)
{
@@ -29,7 +32,6 @@ DataListView::DataListView(const HWND hWndParent)
lvc.cx = 500;
ListView_InsertColumn(hWnd, DLVSIVALUE, &lvc);
- extern CfgA& g_cfg;
m_height = g_cfg.heightDlv;
}