Commit Graph

39 Commits

Author SHA1 Message Date
Paul Davis b4ad81075e provide and use a method to show the library download manager 2022-09-26 16:40:08 -06:00
Paul Davis fb750aa4b8 skeleton to allow opening the library download manager from the clip viewer 2022-09-26 11:15:52 -06:00
Ben Loftis 7cad01ae1e clip list: add a Refresh button to the file list
It is tempting to update the list automatically when the dire contents change,
 but this can lead to the list changing while the user is clicking to audition
 or drag.

Instead, we should sensitize the button only when the dir contents have changed.
2022-09-21 20:47:23 -05:00
Robin Gareus 2848cc5f38
Disambiguate clip/sample/slot 2022-07-14 00:06:48 +02:00
Mads Kiilerich 2aa72891f3
gtkmm: use ALIGN_START instead of deprecated Gtk::AlignmentEnum::ALIGN_LEFT 2022-04-08 21:11:06 +02:00
Ben Loftis 638af32902 clip_picker: tweak .smf file info text 2022-03-01 10:11:14 -06:00
Robin Gareus 566596e383
Fix Dnd from clip-picker on macOS
On macOS, `context->get_targets ()` may be empty when dragging.
In this case the Clip-Picker assumed that a slot is about to
be dropped and switched to the local clip library.

This in turn cleared selection and it was no lnger possible
to drag any clip out of the library.
2022-03-01 16:33:39 +01:00
Ben Loftis ee9e7589ee trigger_ui: add more tooltips 2022-02-19 12:12:43 -06:00
Ben Loftis d20dfe8f88 clip_picker: fix logic to show MIDI file properties 2022-02-12 09:35:24 -06:00
Robin Gareus 9b3d0ddd11
Fix incorrect check for existing directory
Glib::file_test returns true if **any** of the tests in the
bitfield test are true (not *all*).
2022-02-10 22:04:40 +01:00
Robin Gareus ff56cd61b3
Do not switch to Clip Library when moving a file into the dropzone 2022-02-10 21:59:53 +01:00
Robin Gareus a63a18a338
Do not allow to add the same folder to the clip library path twice 2022-02-10 18:25:11 +01:00
Robin Gareus 76a133cdf0
Allow to add folders to the clip-list via DnD 2022-02-10 18:09:45 +01:00
Ben Loftis c8ed5fdef6 revert 'testing' part of e0b14f: always showing the pgm-picker was an annoyance 2022-02-09 13:09:07 -06:00
Ben Loftis e0b14f0231 clip picker: Add midi file properties; only shown when .mid is chosen 2022-02-07 19:33:43 -06:00
Ben Loftis 65f7e158a9 clip picker: tweak layout and rename _dir variable 2022-02-07 19:33:43 -06:00
Ben Loftis d22269f59f Trigger Page: add an audition-synth selector to Clip Picker 2022-02-04 21:41:34 -06:00
Robin Gareus 6df1bd3ad5
Triggger Clip Picker: fix crash at session close 2022-02-04 13:58:22 +01:00
Robin Gareus 834e164df0
Trigger Clip Picker: Idle update audition synth
This keeps the plugin in sync with any changes made to the
Plugin UI. In particular General MIDI Synth will send
notifications once patch/program changes are processed.
ACE Fluidsynth can load sf2 files, etc.
2022-02-04 13:57:33 +01:00
Robin Gareus 65e3177910
Trigger Clip Picker: fix crash at exit (auditioner reference) 2022-02-02 23:08:49 +01:00
Robin Gareus 2c8427773f
Trigger-clip audition: show audition-synth GUI (WIP)
This is somewhat experimental, also the Plugin UI is only
available while MIDI audition plays...
2022-02-02 22:09:47 +01:00
Robin Gareus 0da02b582d
Trigger clip picker: button to open library folder 2022-01-30 22:44:39 +01:00
Robin Gareus ac6835c7d8
DnD export of Regions to shared clip library 2022-01-29 16:22:51 +01:00
Robin Gareus 92024697aa
Prepare clip-export DnD 2022-01-29 03:04:17 +01:00
luz paz 364f2f0788 Fix typos in gtk2_ardour/ directory
Found via `codespell -q 3 -S *.po,./share/patchfiles,./libs -L ba,buss,busses,doubleclick,hsi,ontop,ro,seh,siz,sur,te,trough,ue`
2022-01-26 12:35:38 -05:00
Ben Loftis 0eb44c3be9 trigger_ui: cancel audition when you drag+drop a clip so you can play with it 2022-01-17 19:47:49 -06:00
Robin Gareus a970ddbaa5
Trigger clip picker: cleanup c'tor (sensitivity) 2022-01-13 00:10:58 +01:00
Robin Gareus 78d15aa153
Trigger clip picker: add support for media meta data 2022-01-13 00:10:45 +01:00
Ben Loftis 2f9b896f06 trigger picker: tweak layout and behaviors ... more ArdourButton-y 2022-01-11 12:26:14 -06:00
Robin Gareus a48d9a31bc
Trigger clip picker: allow auto-audition on selection 2022-01-11 00:56:33 +01:00
Robin Gareus 658d8c512e
Trigger clip picker: add apple loop paths 2021-12-30 21:23:05 +01:00
Robin Gareus d06a70a10a
Trigger clip picker: constrain browsing to parent folders.
Allow to move up to the highest common path, but not further.
2021-12-30 21:22:52 +01:00
Robin Gareus 3cf9c1f047
Cont'd work on trigger-clip picker
* Allow custom paths
* Add ".." open parent folder
* Allow to descend into folders
2021-12-20 02:40:53 +01:00
Robin Gareus 4432a89704
Cont'd work on trigger-clip picker
* Only enabled auditioning when a file is selected
* Skip hidden folders/files
* Only drag files (not folders)
2021-12-18 01:27:47 +01:00
Robin Gareus a908218676
Dynamically create clip-picker file tree, lazy load subfolders 2021-12-18 00:02:32 +01:00
Robin Gareus d59a1944fe
Tweak trigger/clip media browser layout 2021-12-17 03:57:17 +01:00
Robin Gareus e3be6836ca
Trigger-clip-picker audition 2021-12-17 00:42:06 +01:00
Robin Gareus 9fd0b20b2a
Towards a proper media/clip-browser 2021-12-16 19:08:04 +01:00
Robin Gareus be7882d7a7
Skeleton for trigger clip file dialog 2021-12-12 14:25:49 +01:00