diff options
author | David Robillard <d@drobilla.net> | 2011-03-16 05:09:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-16 05:09:19 +0000 |
commit | 36f435cc1497c003be683aaebc4174a6494bbc0a (patch) | |
tree | f0c33ee73bfae3f8bdde9109f9f26a535b18afd1 /src/Patchage.hpp | |
parent | dd344aa9193665249f5da61666d751ae9a6a8af6 (diff) | |
download | patchage-36f435cc1497c003be683aaebc4174a6494bbc0a.tar.gz patchage-36f435cc1497c003be683aaebc4174a6494bbc0a.tar.bz2 patchage-36f435cc1497c003be683aaebc4174a6494bbc0a.zip |
Font-based sizing (implement ticket #374).
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3099 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Patchage.hpp')
-rw-r--r-- | src/Patchage.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Patchage.hpp b/src/Patchage.hpp index 58c4ad9..a8cc362 100644 --- a/src/Patchage.hpp +++ b/src/Patchage.hpp @@ -96,6 +96,10 @@ protected: void on_show_projects(); void on_store_positions(); void on_view_toolbar(); + void on_zoom_in(); + void on_zoom_out(); + void on_zoom_normal(); + bool on_scroll(GdkEventScroll* ev); void zoom(double z); @@ -159,6 +163,9 @@ protected: Widget<Gtk::CheckMenuItem> _menu_view_projects; Widget<Gtk::MenuItem> _menu_view_refresh; Widget<Gtk::CheckMenuItem> _menu_view_toolbar; + Widget<Gtk::ImageMenuItem> _menu_zoom_in; + Widget<Gtk::ImageMenuItem> _menu_zoom_out; + Widget<Gtk::ImageMenuItem> _menu_zoom_normal; Widget<Gtk::Button> _messages_clear_but; Widget<Gtk::Button> _messages_close_but; Widget<Gtk::Dialog> _messages_win; |