#include <virtual_keyboard_window.h>
|
| VKBDControl (const std::string &name, double normal=127, double upper=127) |
|
void | set_value (double v, PBD::Controllable::GroupControlDisposition gcd) |
|
std::string | get_user_string () const |
|
double | get_value () const |
|
double | lower () const |
|
double | upper () const |
|
double | normal () const |
|
| Controllable (const std::string &name, Flag f=Flag(0)) |
|
virtual double | get_save_value () const |
|
virtual double | internal_to_interface (double i, bool rotary=false) const |
|
virtual double | interface_to_internal (double i, bool rotary=false) const |
|
virtual float | get_interface (bool rotary=false) const |
|
virtual void | set_interface (float fraction, bool rotary=false, GroupControlDisposition gcd=NoGroup) |
|
int | set_state (const XMLNode &, int version) |
|
virtual XMLNode & | get_state () const |
|
std::string | name () const |
|
bool | touching () const |
|
bool | is_toggle () const |
|
bool | is_gain_like () const |
|
Flag | flags () const |
|
void | set_flags (Flag f) |
|
void | set_flag (Flag f) |
| _flags |= f; More...
|
|
void | clear_flag (Flag f) |
| _flags &= ~f; More...
|
|
| Stateful () |
|
virtual | ~Stateful () |
|
virtual bool | apply_change (PropertyBase const &) |
|
PropertyChange | apply_changes (PropertyList const &) |
|
const OwnedPropertyList & | properties () const |
|
void | add_property (PropertyBase &s) |
|
void | add_extra_xml (XMLNode &) |
|
XMLNode * | extra_xml (const std::string &str, bool add_if_missing=false) |
|
void | save_extra_xml (const XMLNode &) |
|
const PBD::ID & | id () const |
|
bool | set_id (const XMLNode &) |
|
void | set_id (const std::string &) |
|
void | reset_id () |
|
void | clear_changes () |
|
virtual void | clear_owned_changes () |
|
PropertyList * | get_changes_as_properties (PBD::Command *) const |
|
virtual void | rdiff (std::vector< PBD::Command * > &) const |
|
bool | changed () const |
|
virtual PropertyList * | property_factory (const XMLNode &) const |
|
virtual void | suspend_property_changes () |
|
virtual void | resume_property_changes () |
|
bool | property_changes_suspended () const |
|
virtual | ~Destructible () |
|
virtual void | drop_references () |
|
|
enum | Flag {
Toggle = 0x01
, GainLike = 0x02
, RealTime = 0x04
, NotAutomatable = 0x08
,
InlineControl = 0x10
, HiddenControl = 0x20
, MonitorControl = 0x40
} |
|
enum | GroupControlDisposition { InverseGroup
, NoGroup
, UseGroup
, ForGroup
} |
|
static std::shared_ptr< Controllable > | by_id (const PBD::ID &) |
|
static void | dump_registry () |
|
static ControllableSet | registered_controllables () |
|
static PBD::Signal< bool(std::weak_ptr< PBD::Controllable >)> | StartLearning |
|
static PBD::Signal< void(std::weak_ptr< PBD::Controllable >)> | StopLearning |
|
static PBD::Signal< void(std::weak_ptr< PBD::Controllable >)> | GUIFocusChanged |
|
static PBD::Signal< void(std::weak_ptr< PBD::Controllable >)> | ControlTouched |
|
static const std::string | xml_node_name |
|
static int | current_state_version |
|
static int | loading_state_version |
|
void | set_touching (bool yn) |
|
void | add_instant_xml (XMLNode &, const std::string &directory_path) |
|
XMLNode * | instant_xml (const std::string &str, const std::string &directory_path) |
|
void | add_properties (XMLNode &) const |
|
PropertyChange | set_values (XMLNode const &) |
|
virtual void | post_set (const PropertyChange &) |
|
virtual void | send_change (const PropertyChange &) |
|
virtual void | mid_thaw (const PropertyChange &) |
|
bool | regenerate_xml_or_string_ids () const |
|
Definition at line 45 of file virtual_keyboard_window.h.
◆ VKBDControl()
VKBDControl::VKBDControl |
( |
const std::string & |
name, |
|
|
double |
normal = 127 , |
|
|
double |
upper = 127 |
|
) |
| |
|
inline |
◆ get_user_string()
std::string VKBDControl::get_user_string |
( |
| ) |
const |
|
inlinevirtual |
◆ get_value()
double VKBDControl::get_value |
( |
| ) |
const |
|
inlinevirtual |
◆ lower()
double VKBDControl::lower |
( |
| ) |
const |
|
inlinevirtual |
◆ normal()
double VKBDControl::normal |
( |
| ) |
const |
|
inlinevirtual |
◆ set_value()
Set ‘internal’ value
All derived classes must implement this.
Basic derived classes will ignore group_override
but more sophisticated children, notably those that proxy the value setting logic via an object that is aware of group relationships between this control and others, will find it useful.
- Parameters
-
value | raw numeric value to set |
group_override | if and how to propagate value to grouped controls |
Implements PBD::Controllable.
Definition at line 57 of file virtual_keyboard_window.h.
◆ upper()
double VKBDControl::upper |
( |
| ) |
const |
|
inlinevirtual |
◆ _lower
double VKBDControl::_lower |
|
protected |
◆ _normal
double VKBDControl::_normal |
|
protected |
◆ _upper
double VKBDControl::_upper |
|
protected |
◆ _value
double VKBDControl::_value |
|
protected |
◆ ValueChanged
The documentation for this class was generated from the following file: