mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers
This commit is contained in:
parent
d606a37204
commit
b5c9a92a58
24 changed files with 332 additions and 139 deletions
|
|
@ -20,7 +20,7 @@
|
|||
#include "ardour/lxvst_plugin.h"
|
||||
#include "ardour/linux_vst_support.h"
|
||||
#include "lxvst_plugin_ui.h"
|
||||
#include "ardour_ui.h"
|
||||
#include "timers.h"
|
||||
#include <gdk/gdkx.h>
|
||||
|
||||
#define LXVST_H_FIDDLE 40
|
||||
|
|
@ -49,7 +49,7 @@ bool
|
|||
LXVSTPluginUI::start_updating (GdkEventAny*)
|
||||
{
|
||||
_screen_update_connection.disconnect();
|
||||
_screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect (mem_fun(*this, &LXVSTPluginUI::resize_callback));
|
||||
_screen_update_connection = Timers::rapid_connect (mem_fun(*this, &LXVSTPluginUI::resize_callback));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue