summaryrefslogtreecommitdiff
path: root/plugingui/mainwindow.h
diff options
context:
space:
mode:
authorTheMarlboroMan <marlborometal@gmail.com>2020-11-15 16:23:26 +0100
committerTheMarlboroMan <marlborometal@gmail.com>2020-11-15 16:23:26 +0100
commitb0fa70c97c9b4886fb6e063664dc4d10daf12c1c (patch)
treebad875a8fa771783f9086afa4147f46cfe299671 /plugingui/mainwindow.h
parent37e0c7ece76d2fdc23a42f87f9112ec1423dd988 (diff)
Store size of main window centralized in mainwindow.h to reduce redundancy.
Diffstat (limited to 'plugingui/mainwindow.h')
-rw-r--r--plugingui/mainwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugingui/mainwindow.h b/plugingui/mainwindow.h
index ffd0566..219f851 100644
--- a/plugingui/mainwindow.h
+++ b/plugingui/mainwindow.h
@@ -44,6 +44,10 @@ class MainWindow
: public Window
{
public:
+
+ static constexpr std::size_t main_width{750};
+ static constexpr std::size_t main_height{800};
+
MainWindow(Settings& settings, void* native_window);
~MainWindow();