A device selector component rendered using OpenGL for improved performance.
More...
#include <about_section.h>
|
| | OpenGlDeviceSelector (AudioDeviceManager &device_manager, int min_audio_input_channels, int max_audioInput_channels, int min_audio_output_channels, int max_audioOutput_channels, bool show_midi_input_options, bool show_midi_output_selector, bool show_channels_as_stereo_pairs, bool hide_advanced_options_with_button) |
| |
| void | resized () override |
| | Called when the component is resized; triggers a redraw of the image.
|
| |
| virtual void | mouseDown (const MouseEvent &e) override |
| |
| virtual void | mouseUp (const MouseEvent &e) override |
| |
| virtual void | mouseDoubleClick (const MouseEvent &e) override |
| |
| virtual void | mouseEnter (const MouseEvent &e) override |
| |
| virtual void | mouseExit (const MouseEvent &e) override |
| |
| virtual void | mouseWheelMove (const MouseEvent &e, const MouseWheelDetails &wheel) override |
| |
| OpenGlImageComponent * | getImageComponent () |
| | Gets the underlying OpenGlImageComponent.
|
| |
| virtual void | redoImage () |
| | Redraws the image after a state change.
|
| |
A device selector component rendered using OpenGL for improved performance.
This class provides a device selector (for audio and MIDI devices) wrapped in an OpenGL component. It updates its rendered image whenever resized, ensuring a smooth UI experience.
◆ OpenGlDeviceSelector()
| OpenGlDeviceSelector::OpenGlDeviceSelector |
( |
AudioDeviceManager & | device_manager, |
|
|
int | min_audio_input_channels, |
|
|
int | max_audioInput_channels, |
|
|
int | min_audio_output_channels, |
|
|
int | max_audioOutput_channels, |
|
|
bool | show_midi_input_options, |
|
|
bool | show_midi_output_selector, |
|
|
bool | show_channels_as_stereo_pairs, |
|
|
bool | hide_advanced_options_with_button ) |
|
inline |
Constructor.
- Parameters
-
| device_manager | The AudioDeviceManager controlling audio and MIDI devices. |
| min_audio_input_channels | Minimum number of audio input channels. |
| max_audioInput_channels | Maximum number of audio input channels. |
| min_audio_output_channels | Minimum number of audio output channels. |
| max_audioOutput_channels | Maximum number of audio output channels. |
| show_midi_input_options | Whether to show MIDI input options. |
| show_midi_output_selector | Whether to show a MIDI output selector. |
| show_channels_as_stereo_pairs | Whether to show channel pairs as stereo. |
| hide_advanced_options_with_button | Whether to hide advanced options behind a button. |
◆ resized()
| void OpenGlDeviceSelector::resized |
( |
| ) |
|
|
inlineoverride |
Called when the component is resized; triggers a redraw of the image.
The documentation for this class was generated from the following file:
- /Users/davidvogel/repos/VitalHelp/src/interface/editor_sections/about_section.h