VSTGUI
4.10
Graphical User Interface Framework not only for VST plugins
|
Public Types | |
using | Type = double |
floating point value in the range of 0 to 1 | |
Public Member Functions | |
virtual void | beginEdit ()=0 |
Begin editing the value. | |
virtual bool | performEdit (Type newValue)=0 |
Perform a value edit. | |
virtual void | endEdit ()=0 |
End editing the value. | |
virtual void | setActive (bool state)=0 |
Set active state. | |
virtual bool | isActive () const =0 |
Is value active? | |
virtual Type | getValue () const =0 |
Get the normalized value. | |
virtual bool | isEditing () const =0 |
Is value in edit mode. | |
virtual const UTF8String & | getID () const =0 |
Get value identifier. | |
virtual const IValueConverter & | getConverter () const =0 |
Get value converter. | |
virtual void | registerListener (IValueListener *listener)=0 |
register a value listener. | |
virtual void | unregisterListener (IValueListener *listener)=0 |
unregister a value listener. | |
Public Member Functions inherited from Interface | |
virtual | ~Interface () noexcept |
Interface ()=default | |
Interface (const Interface &)=delete | |
Interface (Interface &&)=delete | |
Interface & | operator= (const Interface &)=delete |
Interface & | operator= (Interface &&)=delete |
template<typename T > | |
const auto | dynamicCast () const |
template<typename T > | |
auto | dynamicCast () |
Static Public Attributes | |
static constexpr Type | InvalidValue = std::numeric_limits<Type>::min () |
indicates an invalid value | |
Value interface.
using Type = double |
floating point value in the range of 0 to 1
|
pure virtual |
Begin editing the value.
|
pure virtual |
End editing the value.
|
pure virtual |
Get value converter.
|
pure virtual |
Get value identifier.
|
pure virtual |
Get the normalized value.
|
pure virtual |
Is value active?
|
pure virtual |
Is value in edit mode.
|
pure virtual |
Perform a value edit.
|
pure virtual |
register a value listener.
|
pure virtual |
Set active state.
|
pure virtual |
unregister a value listener.