From b2f36804be0c130a7b574aceb24bcb96d6066878 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 22 Sep 2023 17:40:14 +0200 Subject: [PATCH] Add missing Lua bindings (UIConfig get/set) --- gtk2_ardour/luainstance.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/luainstance.cc b/gtk2_ardour/luainstance.cc index 020497b242..7913c8c652 100644 --- a/gtk2_ardour/luainstance.cc +++ b/gtk2_ardour/luainstance.cc @@ -1120,6 +1120,7 @@ LuaInstance::register_classes (lua_State* L) #undef IMPORTPOSITION #undef IMPORTDISPOSITION #undef TEMPOEDITBEHAVIOR +#undef NOTENAMEDISPLAY #define ZOOMFOCUS(NAME) .addConst (stringify(NAME), (Editing::ZoomFocus)Editing::NAME) #define GRIDTYPE(NAME) .addConst (stringify(NAME), (Editing::GridType)Editing::NAME) @@ -1129,6 +1130,7 @@ LuaInstance::register_classes (lua_State* L) #define IMPORTMODE(NAME) .addConst (stringify(NAME), (Editing::ImportMode)Editing::NAME) #define IMPORTPOSITION(NAME) .addConst (stringify(NAME), (Editing::ImportPosition)Editing::NAME) #define IMPORTDISPOSITION(NAME) .addConst (stringify(NAME), (Editing::ImportDisposition)Editing::NAME) +#define NOTENAMEDISPLAY(NAME) .addConst (stringify(NAME), (Editing::NoteNameDisplay)Editing::NAME) luabridge::getGlobalNamespace (L) .beginNamespace ("Editing") # include "editing_syms.h"