Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control panel - output device selection? #40

Closed
Destroyer opened this issue Feb 3, 2020 · 6 comments
Closed

Control panel - output device selection? #40

Destroyer opened this issue Feb 3, 2020 · 6 comments

Comments

@Destroyer
Copy link

Hi,
thank you for this amazing theme, I love it. The only thing I can't figure out is - how to add Output device selection onto the control bar? I use this option quite often.
Thank you

@Ottodix
Copy link
Owner

Ottodix commented Feb 4, 2020

Hi,
Never used myself such a feature. It's a default UI component?

@Destroyer
Copy link
Author

Yea, you can add it like this

obrazek

@Ottodix
Copy link
Owner

Ottodix commented Feb 4, 2020

I won't be able to add it to the theme. Spider monkey panel API doesn't support it.
Sorry!

@Ottodix Ottodix closed this as completed Feb 4, 2020
@Destroyer
Copy link
Author

Hmm, just poking around in the source code of it - isn't that the fb.GetOutputDevices() and fb.SetOutputDevice() ?

@Ottodix
Copy link
Owner

Ottodix commented Feb 5, 2020

Yep, you are right. So yes, it's doable.
A deal: if you manage to code a little menu, which list all the devices and allow to select the active one by clicking on its name, I'll do a button on the control bar which will activate this menu.
If you do so, you can code this menu as a independant script.
Otherwise, I'll pass, sorry

@Destroyer
Copy link
Author

If i ever find enough time to learn javascript properly i'll try

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

No branches or pull requests

2 participants