Robbert van der Helm
5e65f5b77a
Permissively license the egui integration crate
...
The widgets that are going to be there are probably going to be useful
to others and may need some modification, so this makes more sense.
2022-02-08 23:27:46 +01:00
Robbert van der Helm
2417f9e8c0
Remove AtomicCell re-export
...
This is no longer part of the public API.
2022-02-08 20:38:10 +01:00
Robbert van der Helm
07f9a18d3d
Rename EguiState::open to is_open
...
This makes it more clear that it doesn't actually open the editor.
2022-02-08 20:33:08 +01:00
Robbert van der Helm
4260c5441c
Add a way to know whether the egui editor is open
2022-02-08 20:16:39 +01:00
Robbert van der Helm
02115d5004
Use a patched {egui-,}baseview for X11 GL contexts
2022-02-07 21:58:59 +01:00
Robbert van der Helm
5549fd4185
Add a todo for checking for open egui GUIs
2022-02-07 11:53:09 +01:00
Robbert van der Helm
556bec7c0b
Move editor handling to its own struct
...
This makes the API much, much nicer (especially consuming the egui
wrapper), and it also avoids having to lock the plugin instance which is
obviously very bad if the plugin is also supposed to be processing audio
on another thread.
2022-02-06 17:12:57 +01:00
Robbert van der Helm
3ede5ed751
Move the TODO on GUI opening xruns
2022-02-06 15:32:54 +01:00
Robbert van der Helm
67e9cae37b
Explicitly close the egui-baseview window
...
It's supposed to do this on drop, but it doesn't seem to work.
2022-02-06 15:09:35 +01:00
Robbert van der Helm
92c090766a
Add TODOs for things that need fixing
2022-02-06 15:01:19 +01:00
Robbert van der Helm
ea18f62d02
Always redraw egui GUIs
2022-02-06 14:09:11 +01:00
Robbert van der Helm
40d7799df9
Don't handle context in create_egui_editor
...
There's no need for special handling here, just let the plugin do its
own thing.
2022-02-06 14:02:55 +01:00
Robbert van der Helm
f1b12e747c
Remove unused import
2022-02-06 01:40:25 +01:00
Robbert van der Helm
47b6631283
Revert "Initialize the egui GUI using the update function"
...
This reverts commit 5c9ac31408
.
2022-02-06 01:02:26 +01:00
Robbert van der Helm
cc3d2bcba0
Re-export egui
2022-02-06 00:54:13 +01:00
Robbert van der Helm
5c9ac31408
Initialize the egui GUI using the update function
2022-02-06 00:51:02 +01:00
Robbert van der Helm
021c183331
Add an egui editor adapter
2022-02-06 00:22:33 +01:00