Add Lua TempoMap Changed signal

This commit is contained in:
Robin Gareus 2023-09-11 00:48:47 +02:00
parent e45fcad607
commit fbcf281425
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 4 additions and 1 deletions

View File

@ -94,6 +94,9 @@ STATIC(SetSession, &LuaInstance::SetSession, 0)
// Editor Selection Changed
STATIC(SelectionChanged, &LuaInstance::SelectionChanged, 0)
// Tempo Map Changed (old_map, new_map, from_undo)
STATIC(TempoMapChanged, &Temporal::TempoMap::MapChanged, 3)
// TODO per track/route signals,
// TODO per plugin actions / controllables
// TODO per region actions

View File

@ -234,7 +234,7 @@ CLASSINFO(UIConfiguration);
/* this needs to match gtk2_ardour/luasignal.h */
CLASSKEYS(std::bitset<50ul>); // LuaSignal::LAST_SIGNAL
CLASSKEYS(std::bitset<51ul>); // LuaSignal::LAST_SIGNAL
CLASSKEYS(void);
CLASSKEYS(float);