Remove unused value parameter printers

This commit is contained in:
Robin Gareus 2019-03-11 01:48:40 +01:00
parent 1df160cbf8
commit 45805ece02
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 0 additions and 31 deletions

View File

@ -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.
*/

View File

@ -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,