mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
Enable some code to make plugin ui bounds more sensible.
git-svn-id: svn://localhost/ardour2/branches/3.0@3960 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7492625fd1
commit
8c37b5a28f
1 changed files with 2 additions and 2 deletions
|
|
@ -467,7 +467,7 @@ GenericPluginUI::build_control_ui (guint32 port_index, boost::shared_ptr<Automat
|
||||||
the absence of bounds in any sensible fashion.
|
the absence of bounds in any sensible fashion.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if 0
|
//#if 0
|
||||||
control_ui->controller->adjustment()->set_lower (desc.lower);
|
control_ui->controller->adjustment()->set_lower (desc.lower);
|
||||||
control_ui->controller->adjustment()->set_upper (desc.upper);
|
control_ui->controller->adjustment()->set_upper (desc.upper);
|
||||||
|
|
||||||
|
|
@ -486,7 +486,7 @@ GenericPluginUI::build_control_ui (guint32 port_index, boost::shared_ptr<Automat
|
||||||
control_ui->controller->adjustment()->set_page_size (delta/100.0);
|
control_ui->controller->adjustment()->set_page_size (delta/100.0);
|
||||||
control_ui->controller->adjustment()->set_step_increment (desc.step);
|
control_ui->controller->adjustment()->set_step_increment (desc.step);
|
||||||
control_ui->controller->adjustment()->set_page_increment (desc.largestep);
|
control_ui->controller->adjustment()->set_page_increment (desc.largestep);
|
||||||
#endif
|
//#endif
|
||||||
|
|
||||||
if (desc.integer_step) {
|
if (desc.integer_step) {
|
||||||
control_ui->clickbox = new ClickBox (control_ui->controller->adjustment(), "PluginUIClickBox");
|
control_ui->clickbox = new ClickBox (control_ui->controller->adjustment(), "PluginUIClickBox");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue