#include <DistrhoUI.hpp>
 
  
 | Public Member Functions | |
| UI (uint width=0, uint height=0) | |
| virtual | ~UI () | 
| double | getSampleRate () const noexcept | 
| void | editParameter (const uint32_t index, const bool started) | 
| void | setParameterValue (const uint32_t index, const float value) | 
| void | setState (const char *const key, const char *const value) | 
| void | sendNote (const uint8_t channel, const uint8_t note, const uint8_t velocity) | 
| void * | getPluginInstancePointer () const noexcept | 
| Protected Member Functions | |
| virtual void | parameterChanged (uint32_t index, float value)=0 | 
| virtual void | programChanged (uint32_t index)=0 | 
| virtual void | stateChanged (const char *key, const char *value)=0 | 
| virtual void | sampleRateChanged (double newSampleRate) | 
| virtual void | uiIdle () | 
| virtual void | uiFileBrowserSelected (const char *filename) | 
| virtual void | uiReshape (uint width, uint height) | 
| void | onResize (const ResizeEvent &ev) override | 
| Friends | |
| class | UIExporter | 
| class | UIExporterWindow | 
| UI::UI | ( | uint | width = 0, | 
| uint | height = 0 | ||
| ) | 
| 
 | virtual | 
Destructor.
| 
 | noexcept | 
Get the current sample rate used in plugin processing.
| void UI::editParameter | ( | const uint32_t | index, | 
| const bool | started | ||
| ) | 
TODO: Document this.
| void UI::setParameterValue | ( | const uint32_t | index, | 
| const float | value | ||
| ) | 
TODO: Document this.
| void UI::setState | ( | const char *const | key, | 
| const char *const | value | ||
| ) | 
TODO: Document this.
| void UI::sendNote | ( | const uint8_t | channel, | 
| const uint8_t | note, | ||
| const uint8_t | velocity | ||
| ) | 
TODO: Document this.
| 
 | noexcept | 
TODO: Document this.
| 
 | protectedpure virtual | 
A parameter has changed on the plugin side. This is called by the host to inform the UI about parameter changes.
| 
 | protectedpure virtual | 
The current program has changed on the plugin side. This is called by the host to inform the UI about program changes.
| 
 | protectedpure virtual | 
A state has changed on the plugin side. This is called by the host to inform the UI about state changes.
| 
 | protectedvirtual | 
Optional callback to inform the UI about a sample rate change on the plugin side.
| 
 | inlineprotectedvirtual | 
TODO: Document this.
| 
 | protectedvirtual | 
File browser selected function.
| 
 | protectedvirtual | 
OpenGL window reshape function, called when parent window is resized. You can reimplement this function for a custom OpenGL state.
| 
 | overrideprotected | 
OpenGL widget resize function, called when the widget is resized. This is overriden here so the host knows when the UI is resized by you.
 1.8.8
 1.8.8