aboutsummaryrefslogtreecommitdiff
path: root/c/layout.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-17 14:43:52 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-17 14:43:52 +0200
commitc60fdf109150312c1ba5e749aff6196f098b2752 (patch)
tree8452b421ff2b4f2e86d4b11b6b906c6fbbe4a656 /c/layout.cpp
parent1d041ad5b123e4ecbe69dfa621349f6be9b933d6 (diff)
downloadEpisodeBrowser-c60fdf109150312c1ba5e749aff6196f098b2752.tar.gz
Add FileView::Initialized constructor.
Diffstat (limited to 'c/layout.cpp')
-rw-r--r--c/layout.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/layout.cpp b/c/layout.cpp
index 653b675..5b3ff00 100644
--- a/c/layout.cpp
+++ b/c/layout.cpp
@@ -68,14 +68,14 @@ void DlvDragger::Drag(const int, const int y) const
void DlvDragger::Reset() const
{
+ extern CfgA& g_cfg;
g_dlv->SetHeight(0);
- extern FileView<CfgA> g_fvCfg;
- g_fvCfg->heightDlv = 0;
+ g_cfg.heightDlv = 0;
UpdateLayout();
}
void DlvDragger::Done() const
{
- extern FileView<CfgA> g_fvCfg;
- g_fvCfg->heightDlv = g_dlv->Height();
+ extern CfgA& g_cfg;
+ g_cfg.heightDlv = g_dlv->Height();
}