Skip to content

Commit

Permalink
[ui] Use spinboxes in ISF processes rather than 2D pad
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Nov 12, 2024
1 parent f7ba02e commit c7d2d61
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/plugins/score-plugin-gfx/Gfx/Filter/Process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,13 @@ void Model::setupIsf(const isf::descriptor& desc)
std::copy_n(v.min->begin(), 2, min.begin());
if(v.max)
std::copy_n(v.max->begin(), 2, max.begin());
auto port = new Process::XYSlider{
min, max, init, QString::fromStdString(input.name), Id<Process::Port>(i),
&self};
auto port = new Process::XYSpinboxes{min,
max,
init,
false,
QString::fromStdString(input.name),
Id<Process::Port>(i),
&self};

self.m_inlets.push_back(port);
self.controlAdded(port->id());
Expand Down

0 comments on commit c7d2d61

Please sign in to comment.