summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorNick Mainsbridge <beatroute@iprimus.com.au>2006-09-10 17:49:03 +0000
committerNick Mainsbridge <beatroute@iprimus.com.au>2006-09-10 17:49:03 +0000
commitdc9484d1449d04923849316a3ac7c74c4c49ec23 (patch)
treec9cf1a22cdfeba67abf8f26f8f5467dee3b18d78 /gtk2_ardour/editor.h
parent3c45ab08468e552b1c6f2b5bd6dff2b74204a0b9 (diff)
more fiddling about with placing bits of the scroll/zoom operation in the idle callback. fix some ruler bugs. overall this should be smoother.
git-svn-id: svn://localhost/ardour2/trunk@912 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 81bbbdaaab..226cdfb532 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -229,6 +229,7 @@ class Editor : public PublicEditor
void set_show_measures (bool yn);
bool show_measures () const { return _show_measures; }
+ bool initial_ruler_update_required;
#ifdef FFT_ANALYSIS
/* analysis window */
@@ -679,7 +680,6 @@ class Editor : public PublicEditor
void tie_vertical_scrolling ();
void canvas_horizontally_scrolled ();
- bool lazy_canvas_horizontally_scrolled ();
void reposition_and_zoom (jack_nframes_t sample, double fpu);
gint deferred_reposition_and_zoom (jack_nframes_t sample, double fpu);
@@ -1191,7 +1191,8 @@ class Editor : public PublicEditor
ArdourCanvas::Group* time_line_group;
ArdourCanvas::SimpleLine* get_time_line ();
void hide_measures ();
- bool draw_measures ();
+ void draw_measures ();
+ bool lazy_hide_and_draw_measures ();
void new_tempo_section ();