summaryrefslogtreecommitdiffstats
path: root/src/Patchage.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-05 22:50:01 +0000
committerDavid Robillard <d@drobilla.net>2008-01-05 22:50:01 +0000
commit22c1636d4f6204f62d2144bd796091dfd879b831 (patch)
tree24c2b4072c28183745adf981bf18822d195e548a /src/Patchage.hpp
parent3581b6a2b1b5d95ea5a79bd3273e694ebef6137b (diff)
downloadpatchage-22c1636d4f6204f62d2144bd796091dfd879b831.tar.gz
patchage-22c1636d4f6204f62d2144bd796091dfd879b831.tar.bz2
patchage-22c1636d4f6204f62d2144bd796091dfd879b831.zip
Replace messages pain (which was being annoying...) with a separate window.
git-svn-id: http://svn.drobilla.net/lad/patchage@1009 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Patchage.hpp')
-rw-r--r--src/Patchage.hpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/Patchage.hpp b/src/Patchage.hpp
index 30ba925..811a05f 100644
--- a/src/Patchage.hpp
+++ b/src/Patchage.hpp
@@ -61,16 +61,14 @@ public:
void update_state();
void store_window_location();
- int max_pane_position() {
- return _main_paned->property_max_position()
- - _messages_expander->get_label_widget()->get_height() - 10;
- }
-
protected:
void connect_widgets();
void on_arrange();
void on_help_about();
+ void on_messages_clear();
+ void on_messages_close();
+ bool on_messages_delete(GdkEventAny*);
void on_quit();
void on_show_messages();
void on_store_positions();
@@ -83,9 +81,6 @@ protected:
void buffer_size_changed();
- void on_pane_position_changed();
- void on_messages_expander_changed();
-
Glib::RefPtr<Gnome::Glade::Xml> xml;
#ifdef HAVE_LASH
@@ -131,7 +126,6 @@ protected:
Widget<Gtk::AboutDialog> _about_win;
Widget<Gtk::ComboBox> _buffer_size_combo;
Widget<Gtk::ToolButton> _clear_load_but;
- Widget<Gtk::Paned> _main_paned;
Widget<Gtk::ScrolledWindow> _main_scrolledwin;
Widget<Gtk::Window> _main_win;
Widget<Gtk::ProgressBar> _main_xrun_progress;
@@ -145,7 +139,9 @@ protected:
Widget<Gtk::CheckMenuItem> _menu_view_messages;
Widget<Gtk::MenuItem> _menu_view_refresh;
Widget<Gtk::CheckMenuItem> _menu_view_toolbar;
- Widget<Gtk::Expander> _messages_expander;
+ Widget<Gtk::Dialog> _messages_win;
+ Widget<Gtk::Button> _messages_clear_but;
+ Widget<Gtk::Button> _messages_close_but;
Widget<Gtk::Button> _play_but;
Widget<Gtk::Button> _rewind_but;
Widget<Gtk::Label> _sample_rate_label;