Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

GUI example #82

Open
Walther opened this issue Mar 10, 2019 · 3 comments
Open

GUI example #82

Walther opened this issue Mar 10, 2019 · 3 comments
Assignees
Labels

Comments

@Walther
Copy link
Contributor

Walther commented Mar 10, 2019

As a VST developer, I want to be able to use rust-vst to create a VST that has a graphical user interface.

To help this, rust-vst should provide at least one example in the examples directory that uses one possible approach for making a GUI.

(Further GUI feature development, support for other GUI libraries/frameworks can follow in additional issues.)

@ledyba
Copy link

ledyba commented Feb 8, 2022

Hi! I'm creatirng vst plugin with a GUI

ledyba/logica: https://github.com/ledyba/logica

It uses egui + egui-winit + egui_glium.

GUI works, but it requires many work to upgrade egui libs, because egui is still under development.

image

@piedoom piedoom self-assigned this Feb 26, 2022
@sebastianpfluegelmeier
Copy link

@ledyba how did you get winit to run with vst-rs? vst-rs provides its own window and as far as i know, winit can't attach to an existing window, how did you handle that?

@ledyba
Copy link

ledyba commented Mar 9, 2022

@sebastianpfluegelmeier I made a window as a child of existing one provided by vst-rs.

https://github.com/ledyba/logica/blob/5f34a09b2c33db84f7bb7d56492d017ef1a23160/src/editor.rs#L178-L184

.with_parent_window(unsafe { std::mem::transmute(parent) }); embeds a new window (created by winit) in existing one (created by vst-rs or host).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants