summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-09-26 14:36:49 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-09-26 14:36:49 +0000
commitaf895ef50d80bae4f5bb63ee563604804eeb2fb2 (patch)
tree1ee2e2f0529d95283db11a89cb8f721c0a458e6c /gtk2_ardour/option_editor.h
parent555cbaf613f1aca0654ca173dce4162ef7e122f3 (diff)
GUI control over saved and in-memory history depth
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2486 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/option_editor.h')
-rw-r--r--gtk2_ardour/option_editor.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/gtk2_ardour/option_editor.h b/gtk2_ardour/option_editor.h
index 3881687d5c..82bb4db79b 100644
--- a/gtk2_ardour/option_editor.h
+++ b/gtk2_ardour/option_editor.h
@@ -78,18 +78,32 @@ class OptionEditor : public ArdourDialog
void remove_session_paths ();
void raid_path_changed ();
- /* fades */
+ /* misc */
+
+ Gtk::VBox misc_packer;
- Gtk::VBox fade_packer;
Gtk::Adjustment short_xfade_adjustment;
Gtk::HScale short_xfade_slider;
Gtk::Adjustment destructo_xfade_adjustment;
Gtk::HScale destructo_xfade_slider;
- void setup_fade_options();
+ void setup_misc_options();
+
void short_xfade_adjustment_changed ();
void destructo_xfade_adjustment_changed ();
+ Gtk::Adjustment history_depth;
+ Gtk::Adjustment saved_history_depth;
+ Gtk::SpinButton history_depth_spinner;
+ Gtk::SpinButton saved_history_depth_spinner;
+ Gtk::CheckButton limit_history_button;
+ Gtk::CheckButton save_history_button;
+
+ void history_depth_changed();
+ void saved_history_depth_changed();
+ void save_history_toggled ();
+ void limit_history_toggled ();
+
/* Sync */
Gtk::VBox sync_packer;