|
|
virtual void | setCursorPosition (int newPosition, bool moveAnchor)=0 |
| | set the cursor to the absolute position and optionally move the anchor also
|
| |
|
virtual void | registerCursorChangedCallback (CursorPositionChangedCallback *cb)=0 |
| | register a callback object to be called when the cursor position changes
|
| |
|
virtual Knob * | baseKnob ()=0 |
| | Return the Knob this interface is on. Implementations should just "return this;".
|
| |
| virtual void | default_value (const char *s, bool store=false)=0 |
| |
| virtual const char * | get_text (const OutputContext *context, bool evaluate=true) const =0 |
| |
| virtual void | setValueProvider (ValueProvider *valueProvider, bool enabled=true)=0 |
| |
| virtual void | enableValueProvider (bool enable=true)=0 |
| |
|
virtual bool | isValueProviderEnabled () const =0 |
| | Returns true if the value provider is assigned and globally enabled.
|
| |
|
virtual int | getValueProviderMode () const =0 |
| | Returns the value provider mode (<=0 means disable, 1 or above means enabled when not overriden by authoring)
|
| |
|
virtual ValueProvider * | getValueProvider () const =0 |
| | Returns the assigned ValueProvider, or nullptr if none is assigned.
|
| |
interface class for an array of characters or a string.