1
0
Fork 0
Commit graph

835 commits

Author SHA1 Message Date
Robbert van der Helm b95c833352 Don't handle CLAP modulation events
This would require special handling. Modulation acts as an absolute
offset for the current parameter value, not as a relative adjustment to
that value.
2022-03-15 21:26:11 +01:00
Robbert van der Helm 9aed0f9bc6 Fix incorrect gesture pairs in iced ParamSlider 2022-03-15 19:06:41 +01:00
Robbert van der Helm 9232f8a51e Derive Debug and Clone for CLAP output events 2022-03-15 18:53:35 +01:00
Robbert van der Helm ccc8088218 Update for CLAP 0.23 2022-03-15 18:47:29 +01:00
Robbert van der Helm 62a7994877 Start the peak meter at -90 dB
This makes the spacing look a bit nicer.
2022-03-15 17:09:31 +01:00
Robbert van der Helm 4d58df1e08 Add an iced peak meter widget 2022-03-15 17:06:47 +01:00
Robbert van der Helm d830a0a1e4 Update iced_baseview to fix animations 2022-03-15 16:20:17 +01:00
Robbert van der Helm 1ead41050c Prevent iced subscriptions from spinning 2022-03-15 15:52:29 +01:00
Robbert van der Helm 01e7998c03 Revert Diopser back to egui
I should probably first redo the Gain GUI example with vizia before
deciding on a final GUI framework for Diopser.
2022-03-15 13:54:12 +01:00
Robbert van der Helm 0b3e7708a6 Add a usage example to nih_plug_iced 2022-03-15 13:47:35 +01:00
Robbert van der Helm 3dbc9acc56 Use active param slider background for text edit 2022-03-15 13:13:47 +01:00
Robbert van der Helm 6144fc0011 Center the text entry field 2022-03-15 13:06:05 +01:00
Robbert van der Helm 61c60b5c73 Preselect the entire text entry dialog 2022-03-15 12:49:43 +01:00
Robbert van der Helm efa1a5a0b4 Allow text entry on Alt+Click 2022-03-15 12:48:40 +01:00
Robbert van der Helm aa03b1d1f7 Refer to nih_plug_iced in nih_plug_egui's manual 2022-03-14 20:17:11 +01:00
Robbert van der Helm 8e9583d6d2 Handle releasing shift properly for slider widget 2022-03-14 20:05:54 +01:00
Robbert van der Helm cf1314ce53 Update iced_baseview
Now the window always redraws no matter what.
2022-03-14 19:20:05 +01:00
Robbert van der Helm 4714b025a5 Don't check bounds for parameter dragging
You should be able to keep dragging after leaving the widget area.
2022-03-14 16:34:44 +01:00
Robbert van der Helm 705433069a Add a todo for handling scrolling 2022-03-14 16:27:41 +01:00
Robbert van der Helm 295fb4b0cb Allow shift+drag outside of widget bounds 2022-03-14 16:24:11 +01:00
Robbert van der Helm 82c33da022 Allow releasing drags outside of slider area 2022-03-14 16:21:52 +01:00
Robbert van der Helm 9bfc44d787 Use Noto Sans Light for the GUI title 2022-03-14 16:05:39 +01:00
Robbert van der Helm eb9e7d81a9 Simplify widgets 2022-03-14 16:05:09 +01:00
Robbert van der Helm 93990d604b Provide iced constants for fonts 2022-03-14 15:56:11 +01:00
Robbert van der Helm 95827afc81 Use Noto Sans instead of the default Lato 2022-03-14 15:50:29 +01:00
Robbert van der Helm f1a855f2e3 Highlight the parameter while dragging 2022-03-14 15:01:24 +01:00
Robbert van der Helm 304b9bdfeb Fix granular drag when clicking with shift held 2022-03-14 15:00:40 +01:00
Robbert van der Helm 986e93b8d0 Implement double click for reset 2022-03-14 14:43:30 +01:00
Robbert van der Helm 2805272826 Allow Ctrl+Click for reset 2022-03-14 14:22:33 +01:00
Robbert van der Helm ee9e3701f3 Implement dragging for the parameter slider 2022-03-14 14:17:06 +01:00
Robbert van der Helm df4b56d818 Update targeted iced_baseview fork
feature/update-dependencies now uses upstream baseview.
2022-03-14 13:34:03 +01:00
Robbert van der Helm 4e9ee27c19 Finish the drawing for the iced param slider 2022-03-14 13:17:19 +01:00
Robbert van der Helm 291abb8bcf Add a placeholder for a parameter slider widget 2022-03-14 00:53:22 +01:00
Robbert van der Helm 5711f77cc7 Remove old todo about adding an egui generic UI 2022-03-13 23:33:43 +01:00
Robbert van der Helm 664267745a Replace gain_gui's editor with an iced stub 2022-03-13 21:59:13 +01:00
Robbert van der Helm fda9cde064 Make OpenGL the default
Since the wgpu backend is a bit crashy.
2022-03-13 20:14:45 +01:00
Robbert van der Helm 99d1ee7c0f Fix anti aliasing setting with iced OpenGL 2022-03-13 20:14:18 +01:00
Robbert van der Helm fe1db50678 Update iced_baseview dependency 2022-03-13 19:07:51 +01:00
Robbert van der Helm 130ef8ac0e Add a button that sets the filter count
Just to test the reactivity.
2022-03-13 18:44:36 +01:00
Robbert van der Helm 6fe967f65e Implement parameter change notifications for CLAP 2022-03-13 18:30:21 +01:00
Robbert van der Helm e1f0f619ed Implement parameter change notifications for VST3 2022-03-13 18:28:56 +01:00
Robbert van der Helm 1fa2b5f74f Add an Editor callback to notify parameter changes
This will be needed to allow iced to be reactive in our model.
2022-03-13 18:03:23 +01:00
Robbert van der Helm 5f0c7d0ac7 Update iced_baseview dependency 2022-03-13 15:09:04 +01:00
Robbert van der Helm 55e9153811 Enable anti-aliasing by default 2022-03-13 15:09:04 +01:00
Robbert van der Helm 1e40ac3e24 Prefix wgpu-only features with wgpu_ 2022-03-13 15:09:04 +01:00
Robbert van der Helm 9f8bdfcfc4 Add a dedicated message and handler for parameters
Parameter widgets can send these messages to update parameters.
2022-03-13 15:09:04 +01:00
Robbert van der Helm 43590db8d0 Document create_iced_editor() 2022-03-13 01:10:45 +01:00
Robbert van der Helm 812f6d86f8 Fix Cargo.lock
Apparently this was causing the macOS CI to fail.
2022-03-13 01:08:06 +01:00
Robbert van der Helm 1213d59ae7 Use new IcedEditor trait that forwards GuiContext 2022-03-13 01:07:41 +01:00
Robbert van der Helm 59f14a0361 Don't use --all-features
That will not work with nih_plug_iced.
2022-03-12 23:36:13 +01:00