Remove unused value parameter printers
This commit is contained in:
parent
1df160cbf8
commit
45805ece02
@ -902,32 +902,6 @@ GenericPluginUI::automation_state_changed (ControlUI* cui)
|
||||
}
|
||||
}
|
||||
|
||||
bool
|
||||
GenericPluginUI::integer_printer (char buf[32], Adjustment &adj, ControlUI* cui)
|
||||
{
|
||||
float const v = cui->control->interface_to_internal(adj.get_value ());
|
||||
const std::string& str = ARDOUR::value_as_string(cui->control->desc(), Variant(v));
|
||||
const size_t len = str.copy(buf, 31);
|
||||
buf[len] = '\0';
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
GenericPluginUI::midinote_printer (char buf[32], Adjustment &adj, ControlUI* cui)
|
||||
{
|
||||
float const v = cui->control->interface_to_internal(adj.get_value ());
|
||||
const std::string& str = ARDOUR::value_as_string(cui->control->desc(), Variant(v));
|
||||
const size_t len = str.copy(buf, 31);
|
||||
buf[len] = '\0';
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
GenericPluginUI::print_parameter (char *buf, uint32_t len, uint32_t param)
|
||||
{
|
||||
plugin->print_parameter (param, buf, len);
|
||||
}
|
||||
|
||||
/** Build a ControlUI for a parameter/property.
|
||||
* Note that mcontrol may be NULL for outputs.
|
||||
*/
|
||||
|
@ -297,11 +297,6 @@ private:
|
||||
|
||||
void knob_size_request(Gtk::Requisition* req, ControlUI* cui);
|
||||
|
||||
/* XXX: remove */
|
||||
void print_parameter (char *buf, uint32_t len, uint32_t param);
|
||||
bool integer_printer (char* buf, Gtk::Adjustment &, ControlUI *);
|
||||
bool midinote_printer(char* buf, Gtk::Adjustment &, ControlUI *);
|
||||
|
||||
typedef std::map<uint32_t, Gtk::FileChooserButton*> FilePathControls;
|
||||
FilePathControls _filepath_controls;
|
||||
void set_path_property (const ARDOUR::ParameterDescriptor& desc,
|
||||
|
Loading…
Reference in New Issue
Block a user