From 567da0cb52869c6b0810148162e38b228e1425d6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 31 May 2013 14:45:40 +0000 Subject: Remove zoom toolbar buttons. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5119 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/GraphView.cpp | 8 -------- src/gui/GraphView.hpp | 4 ---- src/gui/ingen_gui.ui | 26 -------------------------- 3 files changed, 38 deletions(-) diff --git a/src/gui/GraphView.cpp b/src/gui/GraphView.cpp index 737b0a3a..7b2e9842 100644 --- a/src/gui/GraphView.cpp +++ b/src/gui/GraphView.cpp @@ -51,8 +51,6 @@ GraphView::GraphView(BaseObjectType* cobject, xml->get_widget("graph_view_poly_spin", _poly_spin); xml->get_widget("graph_view_refresh_but", _refresh_but); xml->get_widget("graph_view_save_but", _save_but); - xml->get_widget("graph_view_zoom_full_but", _zoom_full_but); - xml->get_widget("graph_view_zoom_normal_but", _zoom_normal_but); xml->get_widget("graph_view_scrolledwindow", _canvas_scrolledwindow); _toolbar->set_toolbar_style(Gtk::TOOLBAR_ICONS); @@ -96,12 +94,6 @@ GraphView::set_graph(SPtr graph) _refresh_but->signal_clicked().connect( sigc::mem_fun(this, &GraphView::refresh_clicked)); - _zoom_normal_but->signal_clicked().connect(sigc::bind(sigc::mem_fun( - _canvas.get(), &GraphCanvas::set_zoom), 1.0)); - - _zoom_full_but->signal_clicked().connect( - sigc::mem_fun(_canvas.get(), &GraphCanvas::zoom_full)); - _poly_spin->signal_value_changed().connect( sigc::mem_fun(*this, &GraphView::poly_changed)); diff --git a/src/gui/GraphView.hpp b/src/gui/GraphView.hpp index dbf81eed..b052028c 100644 --- a/src/gui/GraphView.hpp +++ b/src/gui/GraphView.hpp @@ -78,8 +78,6 @@ private: void property_changed(const Raul::URI& predicate, const Atom& value); - void zoom_full(); - App* _app; SPtr _graph; @@ -91,8 +89,6 @@ private: Gtk::SpinButton* _poly_spin; Gtk::ToolButton* _refresh_but; Gtk::ToolButton* _save_but; - Gtk::ToolButton* _zoom_normal_but; - Gtk::ToolButton* _zoom_full_but; Gtk::ToolItem* _breadcrumb_container; bool _enable_signal; diff --git a/src/gui/ingen_gui.ui b/src/gui/ingen_gui.ui index 5fb523bf..774127d4 100644 --- a/src/gui/ingen_gui.ui +++ b/src/gui/ingen_gui.ui @@ -2867,32 +2867,6 @@ Contributors: True - - - False - True - False - True - gtk-zoom-100 - - - False - True - - - - - False - True - False - True - gtk-zoom-fit - - - False - True - - False -- cgit v1.2.1