Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers

This commit is contained in:
Tim Mayberry 2014-12-25 22:02:00 +07:00
parent d606a37204
commit b5c9a92a58
24 changed files with 332 additions and 139 deletions

View file

@ -32,6 +32,7 @@
#include "panner2d.h"
#include "gui_thread.h"
#include "stereo_panner.h"
#include "timers.h"
#include "mono_panner.h"
#include "i18n.h"
@ -576,7 +577,7 @@ PannerUI::pan_automation_state_changed ()
pan_watching.disconnect();
if (x) {
pan_watching = ARDOUR_UI::RapidScreenUpdate.connect (sigc::mem_fun (*this, &PannerUI::effective_pan_display));
pan_watching = Timers::rapid_connect (sigc::mem_fun (*this, &PannerUI::effective_pan_display));
}
}