interface class for an array of characters or a string. More...
Public Types | |
| typedef void( | CursorPositionChangedCallback) (Knob *knob, int position, int selectionStart, int selectionEnd) |
| callback for when the cursor position changes | |
Public Member Functions | |
| virtual void | setCursorPosition (int newPosition, bool moveAnchor) |
| set the cursor to the absolute position and optionally move the anchor also | |
| virtual void | registerCursorChangedCallback (CursorPositionChangedCallback *cb) |
| register a callback object to be called when the cursor position changes | |
| virtual void | default_value (const char *s, bool store=false) |
| set the default value for the Knob and take ownership if store is true | |
Static Public Attributes | |
| static const int | kNoSelection |
interface class for an array of characters or a string.
| ©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |