Set UI size before creation, make waveform slider act as a button
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
20d62751e0
commit
5c38ab61de
2
dpf
2
dpf
|
@ -1 +1 @@
|
||||||
Subproject commit 15cbdcd5e64054dfb4781e6269899047aed19619
|
Subproject commit f725f0825086896f44a0bc54b629ba0da919541e
|
|
@ -18,6 +18,8 @@
|
||||||
#ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED
|
#ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED
|
||||||
#define DISTRHO_PLUGIN_INFO_H_INCLUDED
|
#define DISTRHO_PLUGIN_INFO_H_INCLUDED
|
||||||
|
|
||||||
|
#include "DistrhoArtworkNekobi.hpp"
|
||||||
|
|
||||||
#define DISTRHO_PLUGIN_BRAND "DISTRHO"
|
#define DISTRHO_PLUGIN_BRAND "DISTRHO"
|
||||||
#define DISTRHO_PLUGIN_NAME "Nekobi"
|
#define DISTRHO_PLUGIN_NAME "Nekobi"
|
||||||
#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/Nekobi"
|
#define DISTRHO_PLUGIN_URI "http://distrho.sf.net/plugins/Nekobi"
|
||||||
|
@ -29,4 +31,7 @@
|
||||||
#define DISTRHO_PLUGIN_NUM_INPUTS 0
|
#define DISTRHO_PLUGIN_NUM_INPUTS 0
|
||||||
#define DISTRHO_PLUGIN_NUM_OUTPUTS 1
|
#define DISTRHO_PLUGIN_NUM_OUTPUTS 1
|
||||||
|
|
||||||
|
#define DISTRHO_UI_DEFAULT_WIDTH DistrhoArtworkNekobi::backgroundWidth
|
||||||
|
#define DISTRHO_UI_DEFAULT_HEIGHT DistrhoArtworkNekobi::backgroundHeight
|
||||||
|
|
||||||
#endif // DISTRHO_PLUGIN_INFO_H_INCLUDED
|
#endif // DISTRHO_PLUGIN_INFO_H_INCLUDED
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others.
|
* DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others.
|
||||||
* Copyright (C) 2013-2021 Filipe Coelho <falktx@falktx.com>
|
* Copyright (C) 2013-2022 Filipe Coelho <falktx@falktx.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License as
|
* modify it under the terms of the GNU General Public License as
|
||||||
|
@ -40,6 +40,7 @@ DistrhoUINekobi::DistrhoUINekobi()
|
||||||
fSliderWaveform->setId(DistrhoPluginNekobi::paramWaveform);
|
fSliderWaveform->setId(DistrhoPluginNekobi::paramWaveform);
|
||||||
fSliderWaveform->setStartPos(133, 40);
|
fSliderWaveform->setStartPos(133, 40);
|
||||||
fSliderWaveform->setEndPos(133, 60);
|
fSliderWaveform->setEndPos(133, 60);
|
||||||
|
fSliderWaveform->setCheckable(true);
|
||||||
fSliderWaveform->setRange(0.0f, 1.0f);
|
fSliderWaveform->setRange(0.0f, 1.0f);
|
||||||
fSliderWaveform->setStep(1.0f);
|
fSliderWaveform->setStep(1.0f);
|
||||||
fSliderWaveform->setValue(0.0f);
|
fSliderWaveform->setValue(0.0f);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others.
|
* DISTRHO Nekobi Plugin, based on Nekobee by Sean Bolton and others.
|
||||||
* Copyright (C) 2013-2021 Filipe Coelho <falktx@falktx.com>
|
* Copyright (C) 2013-2022 Filipe Coelho <falktx@falktx.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License as
|
* modify it under the terms of the GNU General Public License as
|
||||||
|
@ -22,7 +22,6 @@
|
||||||
|
|
||||||
#include "ImageWidgets.hpp"
|
#include "ImageWidgets.hpp"
|
||||||
|
|
||||||
#include "DistrhoArtworkNekobi.hpp"
|
|
||||||
#include "NekoWidget.hpp"
|
#include "NekoWidget.hpp"
|
||||||
|
|
||||||
using DGL_NAMESPACE::ImageAboutWindow;
|
using DGL_NAMESPACE::ImageAboutWindow;
|
||||||
|
|
Loading…
Reference in New Issue