Nikolaus Gullotta
4a085b91f5
add PromotedSnapshot signal to manager, and subscribe to this this in the global MixerSnapshotList
2020-03-23 13:53:37 -05:00
Nikolaus Gullotta
132e895b18
fix GPL info
2020-03-23 13:53:30 -05:00
Nikolaus Gullotta
5e8e26713c
template picker window and template list are now only constructed once and updated as needed
2020-03-23 13:53:30 -05:00
Nikolaus Gullotta
c91870ee3f
NO-OP: cleanup code slightly
2020-03-23 13:53:23 -05:00
Nikolaus Gullotta
9b9e5b3da7
allow the user to set all selected to the same state... this code is ugly but it works for now
2020-03-23 13:53:23 -05:00
Nikolaus Gullotta
60a8a5178c
Change 'open session' with new 'external' language
2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
9cfa021544
NO-OP: remove now defunct and commented out code
2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
ff02990080
get substitutions into a working state
2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
85ec750c70
fix button packer sizing issues, and change 'from session' to 'from external'
2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
388aa3ab44
notify the user this is about to be overwritten
2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
74160dbb0a
no-op whitespace
2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
f33a841f54
prepare for signal handling and remove rows that have the same name of rows you're renaming (also have the manager manage culling of pointers)
2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
344bf2e553
add popup confirmation for promote_snapshot
2020-03-23 13:53:04 -05:00
Nikolaus Gullotta
66ea7d69c6
small changes to dialog and widgets
2020-03-23 13:53:04 -05:00
Nikolaus Gullotta
650193995a
more work on 'Apply Template'
2020-03-23 13:52:52 -05:00
Nikolaus Gullotta
ae873ae32a
rough in "Apply Template" dialog for global mixer templates
2020-03-23 13:52:41 -05:00
Nikolaus Gullotta
4974333227
oops, this needs to default to false
2020-03-23 13:52:26 -05:00
Nikolaus Gullotta
3d0a362ccd
mixer snapshot list can be local *or* global. This will be controlled by it's constructor
2020-03-23 13:52:26 -05:00
Nikolaus Gullotta
e0ce2c00e5
SnapshotList belongs in ARDOUR namespace
2020-03-23 13:52:26 -05:00
Nikolaus Gullotta
59d8397c6b
general cleanup of code
2020-03-23 13:52:26 -05:00
Nikolaus Gullotta
85e9b8d91d
allow user to prevent removal confirmation popup
2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
42fc3a2703
MixerSnapshotManager::create_snapshot needs to correctly set the path when it creates the snapshot
2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
90b2249f97
fix button: the term is actually snapshots when local and template when global
2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
de9fe2ec9a
mixer_snapshots now use the manager's functions
2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
4a658632b0
promoting twice may overwrite a current set member adn thus needs to be erased and re-inserted
2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
4342159c30
implement rename, remove and promote right-click functions for local snapshots
2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
e64b1368e0
optimize create_snapshot to delete the item from the set and insert the new one rather than tossing out the whole set and starting from scratch
2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
86ef6a96dd
if the RouteList passed to create_snapshot is empty it will use the method (whcih I will eventualyl collapse into one method) that captures all the tracks in the session.
...
snapshots now create normally again
2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
5a3017153e
add ensure snapshot dir to SnapshotManager class... creating new snapshots with create_snapshot is broken as of this commit, will fix later
2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
8411fd17db
rough in snapshot promotion menu entry
2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
0c9a00476b
whitespace and rough in remove and rename right click stuff
2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
86bc853788
MixerSnapshots now have a path (the source from which it derived) and MixerSnapshotManager will correctly set this
2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
51632104fa
creat snapshot can take a routelist OR a path
2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
0fbda6e5bc
implement mixer_snapshot's new_snapshot and new_snapshot_from_session methods, and begin work on right click
2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
122f19e6b0
Better vbox handling for mixer_snapshots_list
2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
f2ee9d9937
add buttons to mixer_snapshot_list window, crude implementation for now
2020-03-23 13:52:23 -05:00
Nikolaus Gullotta
838750727b
mixer_snapshots display now works off the mixer_snapshot_manager
2020-03-23 13:52:23 -05:00
Nikolaus Gullotta
a432539122
mixer_snapshot_manager now collects local templates as well with sort-of hacky work around
2020-03-23 13:52:23 -05:00
Nikolaus Gullotta
cbb468df39
fix some header file verbosity
2020-03-23 13:52:23 -05:00
Nikolaus Gullotta
9d817bf762
typo and set label to basename
2020-03-23 13:52:23 -05:00
Nikolaus Gullotta
16a6116d0a
begin work on mixer_snapshot_manager to handle creation, discovery, and deletion of snapshots
2020-03-23 13:52:23 -05:00
Ben Loftis
5ed5e698cd
Remove rogue comment
2020-03-23 13:51:48 -05:00
Ben Loftis
5142e0cc3d
Rough-in the Mixer Snapshot List
...
TODO:
* Create a Route Template Manager in libardour, to populate the lists
* Implement right-click operations to rename and remove items in list
* Add a button to create new snapshot, or Import a snapshot from other session
* Probably: turn the mixer-list into a set of tabs, like the editor list
2020-03-23 13:51:48 -05:00
Nikolaus Gullotta
4ac66cd534
use class suffix as write information
2020-03-23 13:50:52 -05:00
Nikolaus Gullotta
f701be65a2
find_route_templates will now correctly identify snapshot file names
2020-03-23 13:50:52 -05:00
Nikolaus Gullotta
6239828e57
modify mixer_snapshot_dialog to reflect new snasphot changes... this is purely for testing because we will eventually abandon this mode of creating new templates.
2020-03-23 13:50:36 -05:00
Nikolaus Gullotta
d0e7768e30
snapshots now use the .template suffix instead of .xml
2020-03-23 13:50:36 -05:00
Ben Loftis
f31e21e047
Rough-in new menu items and functions for track templates.
2020-03-23 13:50:36 -05:00
Ben Loftis
c3925a222f
Move save-track-template out of ROUTE_UI, since it will be effective on multiple routes.
2020-03-23 13:50:13 -05:00
Nikolaus Gullotta
29b8aad981
mv apparantly modifies creation time of a file, make this modified time only to preserve actual creation date
2020-03-23 13:49:43 -05:00