summaryrefslogtreecommitdiff
path: root/src/gui_main.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-08-09 22:50:26 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-08-09 22:50:26 +0200
commit4013d1a167850bb1649d592b24d03f63e19338ef (patch)
tree4fd38f1b8f1bb63c0d4a22756c0ad7ee4b8009ca /src/gui_main.hh
parent5f760687a4e81edf3dc4011129688a2eddf8b697 (diff)
Remember main window size
Diffstat (limited to 'src/gui_main.hh')
-rw-r--r--src/gui_main.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui_main.hh b/src/gui_main.hh
index ab8499d..ca34dee 100644
--- a/src/gui_main.hh
+++ b/src/gui_main.hh
@@ -24,6 +24,7 @@ public:
virtual ~Listener() {}
virtual bool about_to_exit(GuiMain* main) = 0;
+ virtual void resize(uint32_t width, uint32_t height) = 0;
virtual void selected_row(GuiMain* main, size_t index) = 0;
virtual void lost_selection(GuiMain* main) = 0;
virtual void open(GuiMain* main, std::string const& file) = 0;
@@ -36,6 +37,8 @@ public:
uint32_t width, uint32_t height);
virtual Looper* create_looper() = 0;
+ virtual void resize(uint32_t width, uint32_t height) = 0;
+
virtual void set_menu(GuiMenu* menu) = 0;
virtual GuiMenu* menu() const = 0;