Experiment with afterglow, and partial buffer painting
This commit is contained in:
1 parent
f7cb80007f
commit
7db83d5eba
3 files changed
+50
-26
No files matched your search
+3
-3
@@ -18,7 +18,7 @@
|
||||
namespace {
|
||||
constexpr int samplerates[] = { 44100, 48000, 96000, 192000 };
|
||||
|
||||
constexpr int refreshrates[] = { 15, 30, 50, 60 };
|
||||
constexpr int refreshrates[] = { 1, 15, 30, 50, 60 };
|
||||
|
||||
constexpr int zoomlevels[] = { 50, 75, 100, 200, 400, 800 };
|
||||
|
||||
@@ -125,8 +125,8 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
auto layout = new QFormLayout(widget);
|
||||
{
|
||||
auto input = new QDoubleSpinBox;
|
||||
input->setRange(0, 1.0);
|
||||
input->setSingleStep(0.1);
|
||||
input->setRange(0, 10000.0);
|
||||
input->setSingleStep(1.0);
|
||||
input->setValue(m_ui->widget->afterglow());
|
||||
connect(input, qOverload<double>(&QDoubleSpinBox::valueChanged), m_ui->widget, &OsciWidget::setAfterglow);
|
||||
layout->addRow(tr("Afterglow:"), input);
|
||||
|
||||
Reference in new issue
Block a user