summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/gtkmm2ext/auto_spin.h
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2005-09-25 17:29:50 +0000
committerTaybin Rutkin <taybin@taybin.com>2005-09-25 17:29:50 +0000
commite4b9aed743fc765219ac775905a221c017c88fba (patch)
tree721b4a17061cfbb11a314976c5bb7104729a6d29 /libs/gtkmm2ext/gtkmm2ext/auto_spin.h
parentdf74b4a5919ae43ffd7488105fac52747cd77ecc (diff)
Re-synced and fixed doi.h.
git-svn-id: svn://localhost/trunk/ardour2@23 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2ext/gtkmm2ext/auto_spin.h')
-rw-r--r--libs/gtkmm2ext/gtkmm2ext/auto_spin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/auto_spin.h b/libs/gtkmm2ext/gtkmm2ext/auto_spin.h
index 41d83373ce..68da2249a0 100644
--- a/libs/gtkmm2ext/gtkmm2ext/auto_spin.h
+++ b/libs/gtkmm2ext/gtkmm2ext/auto_spin.h
@@ -29,7 +29,7 @@ class AutoSpin
{
public:
- AutoSpin (Gtk::Adjustment &adj, gfloat cr = 0);
+ AutoSpin (Gtk::Adjustment &adj, gfloat cr = 0, bool round_to_steps_yn = false);
Gtk::Adjustment &get_adjustment() { return adjustment; }
@@ -54,6 +54,7 @@ class AutoSpin
bool wrap;
gint timeout_tag;
bool left_is_decrement;
+ bool round_to_steps;
static const unsigned int initial_timer_interval;
static const unsigned int timer_interval;