move definition of selection operations in to ARDOUR namespace

This is a rare commit that I think should be done for GUI and libs at the same time
This commit is contained in:
Paul Davis 2024-08-01 22:58:22 -06:00
parent 0f4fb04344
commit af5c99dd05
18 changed files with 123 additions and 120 deletions

View file

@ -1082,10 +1082,10 @@ LuaInstance::register_classes (lua_State* L, bool sandbox)
.endNamespace ()
.beginNamespace ("SelectionOp")
.addConst ("Toggle", Selection::Operation(Selection::Toggle))
.addConst ("Set", Selection::Operation(Selection::Set))
.addConst ("Extend", Selection::Operation(Selection::Extend))
.addConst ("Add", Selection::Operation(Selection::Add))
.addConst ("Toggle", SelectionOperation(SelectionToggle))
.addConst ("Set", SelectionOperation(SelectionSet))
.addConst ("Extend", SelectionOperation(SelectionExtend))
.addConst ("Add", SelectionOperation(SelectionAdd))
.endNamespace ()
.beginNamespace ("TrackHeightMode")