Browse Source

Move some more files

tags/1.9.4
falkTX 11 years ago
parent
commit
cc2520f755
100 changed files with 9 additions and 555 deletions
  1. +2
    -2
      Makefile
  2. +7
    -7
      source/backend/CarlaHost.hpp
  3. +0
    -121
      source/backend/native/notes/DistrhoPluginNotes.cpp
  4. +0
    -90
      source/backend/native/notes/DistrhoPluginNotes.hpp
  5. +0
    -222
      source/backend/native/notes/DistrhoUINotes.cpp
  6. +0
    -113
      source/backend/native/notes/DistrhoUINotes.hpp
  7. +0
    -0
      source/modules/carla_native/3bandeq/DistrhoArtwork3BandEQ.cpp
  8. +0
    -0
      source/modules/carla_native/3bandeq/DistrhoArtwork3BandEQ.hpp
  9. +0
    -0
      source/modules/carla_native/3bandeq/DistrhoPlugin3BandEQ.cpp
  10. +0
    -0
      source/modules/carla_native/3bandeq/DistrhoPlugin3BandEQ.hpp
  11. +0
    -0
      source/modules/carla_native/3bandeq/DistrhoPluginInfo.h
  12. +0
    -0
      source/modules/carla_native/3bandeq/DistrhoUI3BandEQ.cpp
  13. +0
    -0
      source/modules/carla_native/3bandeq/DistrhoUI3BandEQ.hpp
  14. +0
    -0
      source/modules/carla_native/3bandeq/artwork/about.png
  15. +0
    -0
      source/modules/carla_native/3bandeq/artwork/aboutButtonHover.png
  16. +0
    -0
      source/modules/carla_native/3bandeq/artwork/aboutButtonNormal.png
  17. +0
    -0
      source/modules/carla_native/3bandeq/artwork/background.png
  18. +0
    -0
      source/modules/carla_native/3bandeq/artwork/knob.png
  19. +0
    -0
      source/modules/carla_native/3bandeq/artwork/slider.png
  20. +0
    -0
      source/modules/carla_native/3bandsplitter/DistrhoArtwork3BandSplitter.cpp
  21. +0
    -0
      source/modules/carla_native/3bandsplitter/DistrhoArtwork3BandSplitter.hpp
  22. +0
    -0
      source/modules/carla_native/3bandsplitter/DistrhoPlugin3BandSplitter.cpp
  23. +0
    -0
      source/modules/carla_native/3bandsplitter/DistrhoPlugin3BandSplitter.hpp
  24. +0
    -0
      source/modules/carla_native/3bandsplitter/DistrhoPluginInfo.h
  25. +0
    -0
      source/modules/carla_native/3bandsplitter/DistrhoUI3BandSplitter.cpp
  26. +0
    -0
      source/modules/carla_native/3bandsplitter/DistrhoUI3BandSplitter.hpp
  27. +0
    -0
      source/modules/carla_native/3bandsplitter/artwork/about.png
  28. +0
    -0
      source/modules/carla_native/3bandsplitter/artwork/aboutButtonHover.png
  29. +0
    -0
      source/modules/carla_native/3bandsplitter/artwork/aboutButtonNormal.png
  30. +0
    -0
      source/modules/carla_native/3bandsplitter/artwork/background.png
  31. +0
    -0
      source/modules/carla_native/3bandsplitter/artwork/knob.png
  32. +0
    -0
      source/modules/carla_native/3bandsplitter/artwork/slider.png
  33. +0
    -0
      source/modules/carla_native/CarlaNative.pro
  34. +0
    -0
      source/modules/carla_native/Makefile
  35. +0
    -0
      source/modules/carla_native/audio-base.hpp
  36. +0
    -0
      source/modules/carla_native/audio-file.cpp
  37. +0
    -0
      source/modules/carla_native/audio_decoder/ad.h
  38. +0
    -0
      source/modules/carla_native/audio_decoder/ad_ffmpeg.c
  39. +0
    -0
      source/modules/carla_native/audio_decoder/ad_plugin.c
  40. +0
    -0
      source/modules/carla_native/audio_decoder/ad_plugin.h
  41. +0
    -0
      source/modules/carla_native/audio_decoder/ad_soundfile.c
  42. +0
    -0
      source/modules/carla_native/audio_decoder/ffcompat.h
  43. +0
    -0
      source/modules/carla_native/bypass.c
  44. +0
    -0
      source/modules/carla_native/distrho-3bandeq.cpp
  45. +0
    -0
      source/modules/carla_native/distrho-3bandsplitter.cpp
  46. +0
    -0
      source/modules/carla_native/distrho-nekobi.cpp
  47. +0
    -0
      source/modules/carla_native/distrho-notes.cpp
  48. +0
    -0
      source/modules/carla_native/distrho-pingpongpan.cpp
  49. +0
    -0
      source/modules/carla_native/distrho-stereoenhancer.cpp
  50. +0
    -0
      source/modules/carla_native/distrho/DistrhoPluginCarla.cpp
  51. +0
    -0
      source/modules/carla_native/lfo.c
  52. +0
    -0
      source/modules/carla_native/midi-base.hpp
  53. +0
    -0
      source/modules/carla_native/midi-file.cpp
  54. +0
    -0
      source/modules/carla_native/midi-sequencer.cpp
  55. +0
    -0
      source/modules/carla_native/midi-split.c
  56. +0
    -0
      source/modules/carla_native/midi-through.c
  57. +0
    -0
      source/modules/carla_native/midi-transpose.c
  58. +0
    -0
      source/modules/carla_native/nekobi/DistrhoArtworkNekobi.cpp
  59. +0
    -0
      source/modules/carla_native/nekobi/DistrhoArtworkNekobi.hpp
  60. +0
    -0
      source/modules/carla_native/nekobi/DistrhoPluginInfo.h
  61. +0
    -0
      source/modules/carla_native/nekobi/DistrhoPluginNekobi.cpp
  62. +0
    -0
      source/modules/carla_native/nekobi/DistrhoPluginNekobi.hpp
  63. +0
    -0
      source/modules/carla_native/nekobi/DistrhoUINekobi.cpp
  64. +0
    -0
      source/modules/carla_native/nekobi/DistrhoUINekobi.hpp
  65. +0
    -0
      source/modules/carla_native/nekobi/NekoWidget.hpp
  66. +0
    -0
      source/modules/carla_native/nekobi/artwork/about.png
  67. +0
    -0
      source/modules/carla_native/nekobi/artwork/aboutButtonHover.png
  68. +0
    -0
      source/modules/carla_native/nekobi/artwork/aboutButtonNormal.png
  69. +0
    -0
      source/modules/carla_native/nekobi/artwork/background.png
  70. +0
    -0
      source/modules/carla_native/nekobi/artwork/claw1.png
  71. +0
    -0
      source/modules/carla_native/nekobi/artwork/claw2.png
  72. +0
    -0
      source/modules/carla_native/nekobi/artwork/knob.png
  73. +0
    -0
      source/modules/carla_native/nekobi/artwork/run1.png
  74. +0
    -0
      source/modules/carla_native/nekobi/artwork/run2.png
  75. +0
    -0
      source/modules/carla_native/nekobi/artwork/run3.png
  76. +0
    -0
      source/modules/carla_native/nekobi/artwork/run4.png
  77. +0
    -0
      source/modules/carla_native/nekobi/artwork/scratch1.png
  78. +0
    -0
      source/modules/carla_native/nekobi/artwork/scratch2.png
  79. +0
    -0
      source/modules/carla_native/nekobi/artwork/sit.png
  80. +0
    -0
      source/modules/carla_native/nekobi/artwork/slider.png
  81. +0
    -0
      source/modules/carla_native/nekobi/artwork/tail.png
  82. +0
    -0
      source/modules/carla_native/nekobi/nekobee-src/minblep_tables.c
  83. +0
    -0
      source/modules/carla_native/nekobi/nekobee-src/nekobee.h
  84. +0
    -0
      source/modules/carla_native/nekobi/nekobee-src/nekobee_synth.c
  85. +0
    -0
      source/modules/carla_native/nekobi/nekobee-src/nekobee_synth.h
  86. +0
    -0
      source/modules/carla_native/nekobi/nekobee-src/nekobee_types.h
  87. +0
    -0
      source/modules/carla_native/nekobi/nekobee-src/nekobee_voice.c
  88. +0
    -0
      source/modules/carla_native/nekobi/nekobee-src/nekobee_voice.h
  89. +0
    -0
      source/modules/carla_native/nekobi/nekobee-src/nekobee_voice_render.c
  90. +0
    -0
      source/modules/carla_native/nekofilter.c
  91. +0
    -0
      source/modules/carla_native/nekofilter/filter.c
  92. +0
    -0
      source/modules/carla_native/nekofilter/filter.h
  93. +0
    -0
      source/modules/carla_native/nekofilter/log.c
  94. +0
    -0
      source/modules/carla_native/nekofilter/log.h
  95. +0
    -0
      source/modules/carla_native/nekofilter/nekofilter.c
  96. +0
    -0
      source/modules/carla_native/nekofilter/ui.c
  97. +0
    -0
      source/modules/carla_native/notes/DistrhoPluginInfo.h
  98. +0
    -0
      source/modules/carla_native/pingpongpan/DistrhoArtworkPingPongPan.cpp
  99. +0
    -0
      source/modules/carla_native/pingpongpan/DistrhoArtworkPingPongPan.hpp
  100. +0
    -0
      source/modules/carla_native/pingpongpan/DistrhoPluginInfo.h

+ 2
- 2
Makefile View File

@@ -113,8 +113,8 @@ WIDGETS = \


WIDGETS: $(WIDGETS) WIDGETS: $(WIDGETS)


source/%.py: source/modules/widgets/%.py
$(LINK) modules/widgets/$*.py $@
source/%.py: source/widgets/%.py
$(LINK) widgets/$*.py $@


# -------------------------------------------------------------- # --------------------------------------------------------------




source/backend/CarlaStandalone.hpp → source/backend/CarlaHost.hpp View File

@@ -1,5 +1,5 @@
/* /*
* Carla Standalone API
* Carla Host API
* Copyright (C) 2011-2013 Filipe Coelho <falktx@falktx.com> * Copyright (C) 2011-2013 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
@@ -15,17 +15,17 @@
* For a full copy of the GNU General Public License see the doc/GPL.txt file. * For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/ */


#ifndef CARLA_STANDALONE_HPP_INCLUDED
#define CARLA_STANDALONE_HPP_INCLUDED
#ifndef CARLA_HOST_HPP_INCLUDED
#define CARLA_HOST_HPP_INCLUDED


#include "CarlaBackend.hpp" #include "CarlaBackend.hpp"


/*! /*!
* @defgroup CarlaStandaloneAPI Carla Standalone API
* @defgroup CarlaHostAPI Carla Host API
* *
* The Carla Standalone API.
* The Carla Host API.
* *
* This API makes it possible to use the Carla Backend in a Standalone application.\n
* This API makes it possible to use the Carla Backend in a Host application.\n
* All functions are C-compatible, making it possible to use this API in non-C++ hosts. * All functions are C-compatible, making it possible to use this API in non-C++ hosts.
* *
* None of the returned values in this API calls need to be deleted or free'd.\n * None of the returned values in this API calls need to be deleted or free'd.\n
@@ -729,4 +729,4 @@ CARLA_EXPORT bool carla_engine_init_bridge(const char* audioBaseName, const char


/**@}*/ /**@}*/


#endif // CARLA_STANDALONE_HPP_INCLUDED
#endif // CARLA_HOST_HPP_INCLUDED

+ 0
- 121
source/backend/native/notes/DistrhoPluginNotes.cpp View File

@@ -1,121 +0,0 @@
/*
* DISTRHO Notes Plugin
* Copyright (C) 2012-2013 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/
#include "DistrhoPluginNotes.hpp"
#include <cmath>
START_NAMESPACE_DISTRHO
// -----------------------------------------------------------------------
DistrhoPluginNotes::DistrhoPluginNotes()
: Plugin(1, 0, 103) // 1 parameter, 0 programs, 103 states
{
fCurPage = 0;
}
DistrhoPluginNotes::~DistrhoPluginNotes()
{
}
// -----------------------------------------------------------------------
// Init
void DistrhoPluginNotes::d_initParameter(uint32_t index, Parameter& parameter)
{
if (index != 0)
return;
parameter.hints = PARAMETER_IS_AUTOMABLE | PARAMETER_IS_INTEGER;
parameter.name = "Page";
parameter.symbol = "page";
parameter.ranges.def = 1;
parameter.ranges.min = 1;
parameter.ranges.max = 100;
parameter.ranges.step = 1;
parameter.ranges.stepSmall = 1;
parameter.ranges.stepLarge = 10;
}
void DistrhoPluginNotes::d_initStateKey(uint32_t index, d_string& stateKey)
{
switch (index)
{
case 0:
stateKey = "readOnly";
break;
case 1 ... 100:
stateKey = "pageText #" + d_string(index);
break;
case 101:
stateKey = "guiWidth";
break;
case 102:
stateKey = "guiHeight";
break;
}
}
// -----------------------------------------------------------------------
// Internal data
float DistrhoPluginNotes::d_getParameterValue(uint32_t index) const
{
if (index != 0)
return 0.0f;
return fCurPage;
}
void DistrhoPluginNotes::d_setParameterValue(uint32_t index, float value)
{
if (index != 0)
return;
fCurPage = int(value);
}
void DistrhoPluginNotes::d_setState(const char*, const char*)
{
// do nothing, used only for UI state
}
// -----------------------------------------------------------------------
// Process
void DistrhoPluginNotes::d_run(float** inputs, float** outputs, uint32_t frames, uint32_t, const MidiEvent*)
{
float* in1 = inputs[0];
float* in2 = inputs[1];
float* out1 = outputs[0];
float* out2 = outputs[1];
std::memcpy(out1, in1, sizeof(float)*frames);
std::memcpy(out2, in2, sizeof(float)*frames);
}
// -----------------------------------------------------------------------
Plugin* createPlugin()
{
return new DistrhoPluginNotes();
}
// -----------------------------------------------------------------------
END_NAMESPACE_DISTRHO

+ 0
- 90
source/backend/native/notes/DistrhoPluginNotes.hpp View File

@@ -1,90 +0,0 @@
/*
* DISTRHO Notes Plugin
* Copyright (C) 2012-2013 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/
#ifndef DISTRHO_PLUGIN_NOTES_HPP_INCLUDED
#define DISTRHO_PLUGIN_NOTES_HPP_INCLUDED
#include "DistrhoPlugin.hpp"
START_NAMESPACE_DISTRHO
// -----------------------------------------------------------------------
class DistrhoPluginNotes : public Plugin
{
public:
DistrhoPluginNotes();
~DistrhoPluginNotes() override;
protected:
// -------------------------------------------------------------------
// Information
const char* d_getLabel() const noexcept override
{
return "Notes";
}
const char* d_getMaker() const noexcept override
{
return "DISTRHO";
}
const char* d_getLicense() const noexcept override
{
return "GPL v2+";
}
uint32_t d_getVersion() const noexcept override
{
return 0x1000;
}
long d_getUniqueId() const noexcept override
{
return d_cconst('D', 'N', 'o', 't');
}
// -------------------------------------------------------------------
// Init
void d_initParameter(uint32_t index, Parameter& parameter) override;
void d_initStateKey(uint32_t index, d_string& stateKeyName) override;
// -------------------------------------------------------------------
// Internal data
float d_getParameterValue(uint32_t index) const override;
void d_setParameterValue(uint32_t index, float value) override;
void d_setState(const char* key, const char* value) override;
// -------------------------------------------------------------------
// Process
void d_run(float** inputs, float** outputs, uint32_t frames, uint32_t midiEventCount, const MidiEvent* midiEvents) override;
// -------------------------------------------------------------------
private:
int fCurPage;
};
// -----------------------------------------------------------------------
END_NAMESPACE_DISTRHO
#endif // DISTRHO_PLUGIN_NOTES_HPP_INCLUDED

+ 0
- 222
source/backend/native/notes/DistrhoUINotes.cpp View File

@@ -1,222 +0,0 @@
/*
* DISTRHO Notes Plugin
* Copyright (C) 2012-2013 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/

#include "DistrhoUINotes.hpp"

#include <QtGui/QResizeEvent>

START_NAMESPACE_DISTRHO

#include "moc_DistrhoUINotes.cpp"

// -----------------------------------------------------------------------

DistrhoUINotes::DistrhoUINotes()
: QtUI(),
fCurPage(1),
fSaveSizeNowChecker(-1),
fSaveTextNowChecker(-1),
fTextEdit(this),
fButton(this),
fProgressBar(this),
fSpacer(this),
fGridLayout(this)
{
fButton.setCheckable(true);
fButton.setChecked(true);
fButton.setText("Edit");
fButton.setFixedSize(fButton.minimumSizeHint());

fProgressBar.set_minimum(1);
fProgressBar.set_maximum(100);
fProgressBar.set_value(1);

fSpacer.setText("");
fSpacer.setFixedSize(5, 5);

fTextEdit.setReadOnly(false);

setLayout(&fGridLayout);
fGridLayout.addWidget(&fTextEdit, 0, 0, 1, 3);
fGridLayout.addWidget(&fButton, 1, 0, 1, 1);
fGridLayout.addWidget(&fProgressBar, 1, 1, 1, 1);
fGridLayout.addWidget(&fSpacer, 1, 2, 1, 1);
fGridLayout.setContentsMargins(0, 0, 0, 0);

connect(&fButton, SIGNAL(clicked(bool)), SLOT(buttonClicked(bool)));
connect(&fProgressBar, SIGNAL(valueChangedFromBar(float)), SLOT(progressBarValueChanged(float)));
connect(&fTextEdit, SIGNAL(textChanged()), SLOT(textChanged()));

setSize(300, 200);
}

DistrhoUINotes::~DistrhoUINotes()
{
}

void DistrhoUINotes::saveCurrentTextState()
{
QString pageKey = QString("pageText #%1").arg(fCurPage);
QString pageValue = fTextEdit.toPlainText();

if (pageValue != fNotes[fCurPage-1])
{
fNotes[fCurPage-1] = pageValue;
d_setState(pageKey.toUtf8().constData(), pageValue.toUtf8().constData());
}
}

// -----------------------------------------------------------------------
// DSP Callbacks

void DistrhoUINotes::d_parameterChanged(uint32_t index, float value)
{
if (index != 0)
return;

int nextCurPage = value;

if (nextCurPage != fCurPage && nextCurPage >= 1 && nextCurPage <= 100)
{
saveCurrentTextState();
fCurPage = nextCurPage;

fTextEdit.setPlainText(fNotes[fCurPage-1]);
fProgressBar.set_value(fCurPage);
fProgressBar.update();
}
}

void DistrhoUINotes::d_stateChanged(const char* key, const char* value)
{
if (std::strcmp(key, "guiWidth") == 0)
{
bool ok;
int width = QString(value).toInt(&ok);

if (ok && width > 0)
setSize(width, height());
}

else if (std::strcmp(key, "guiHeight") == 0)
{
bool ok;
int height = QString(value).toInt(&ok);

if (ok && height > 0)
setSize(width(), height);
}

else if (std::strncmp(key, "pageText #", 10) == 0)
{
bool ok;
int pageIndex = QString(key+10).toInt(&ok);

if (ok && pageIndex >= 1 && pageIndex <= 100)
{
fNotes[pageIndex-1] = QString(value);

if (pageIndex == fCurPage)
fTextEdit.setPlainText(fNotes[pageIndex-1]);
}
}

else if (strcmp(key, "readOnly") == 0)
{
bool readOnly = !strcmp(value, "yes");
fButton.setChecked(!readOnly);
fTextEdit.setReadOnly(readOnly);
}
}

// -----------------------------------------------------------------------
// UI Callbacks

void DistrhoUINotes::d_uiIdle()
{
if (fSaveSizeNowChecker == 11)
{
d_setState("guiWidth", QString::number(width()).toUtf8().constData());
d_setState("guiHeight", QString::number(height()).toUtf8().constData());
fSaveSizeNowChecker = -1;
}

if (fSaveTextNowChecker == 11)
{
saveCurrentTextState();
fSaveTextNowChecker = -1;
}

if (fSaveSizeNowChecker >= 0)
fSaveSizeNowChecker++;

if (fSaveTextNowChecker >= 0)
fSaveTextNowChecker++;
}

void DistrhoUINotes::resizeEvent(QResizeEvent* event)
{
fSaveSizeNowChecker = 0;
QtUI::resizeEvent(event);
}

// -----------------------------------------------------------------------

void DistrhoUINotes::buttonClicked(bool click)
{
bool readOnly = !click;
fTextEdit.setReadOnly(readOnly);

d_setState("readOnly", readOnly ? "yes" : "no");
}

void DistrhoUINotes::progressBarValueChanged(float value)
{
value = rint(value);

if (fCurPage == (int)value)
return;

// maybe save current text before changing page
if (fSaveTextNowChecker >= 0 && value >= 1.0f && value <= 100.0f)
{
saveCurrentTextState();
fSaveTextNowChecker = -1;
}

// change current page
d_parameterChanged(0, value);

// tell host about this change
d_setParameterValue(0, value);
}

void DistrhoUINotes::textChanged()
{
fSaveTextNowChecker = 0;
}

// -----------------------------------------------------------------------

UI* createUI()
{
return new DistrhoUINotes();
}

// -----------------------------------------------------------------------

END_NAMESPACE_DISTRHO

+ 0
- 113
source/backend/native/notes/DistrhoUINotes.hpp View File

@@ -1,113 +0,0 @@
/*
* DISTRHO Notes Plugin
* Copyright (C) 2012-2013 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/

#ifndef DISTRHO_UI_NOTES_HPP_INCLUDED
#define DISTRHO_UI_NOTES_HPP_INCLUDED

#include "DistrhoUIQt.hpp"
#include "paramspinbox.hpp"

#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
# include <QtWidgets/QProgressBar>
# include <QtWidgets/QGridLayout>
# include <QtWidgets/QLabel>
# include <QtWidgets/QPushButton>
# include <QtWidgets/QTextEdit>
#else
# include <QtGui/QGridLayout>
# include <QtGui/QLabel>
# include <QtGui/QPushButton>
# include <QtGui/QTextEdit>
#endif

class QResizeEvent;

START_NAMESPACE_DISTRHO

// -----------------------------------------------------------------------

class DistrhoUINotes : public QtUI
{
Q_OBJECT

public:
DistrhoUINotes();
~DistrhoUINotes() override;

protected:
// -------------------------------------------------------------------
// Information

bool d_isResizable() const noexcept override
{
return true;
}

uint d_getMinimumWidth() const noexcept override
{
return 180;
}

uint d_getMinimumHeight() const noexcept override
{
return 150;
}

// -------------------------------------------------------------------
// DSP Callbacks

void d_parameterChanged(uint32_t index, float value) override;
void d_stateChanged(const char* key, const char* value) override;

// -------------------------------------------------------------------
// UI Callbacks

void d_uiIdle() override;

// -------------------------------------------------------------------
// listen for resize events

void resizeEvent(QResizeEvent*) override;

// -------------------------------------------------------------------

private slots:
void buttonClicked(bool click);
void progressBarValueChanged(float value);
void textChanged();

private:
int fCurPage;
int fSaveSizeNowChecker;
int fSaveTextNowChecker;

QString fNotes[100];

QTextEdit fTextEdit;
QPushButton fButton;
ParamProgressBar fProgressBar;
QLabel fSpacer;
QGridLayout fGridLayout;

void saveCurrentTextState();
};

// -----------------------------------------------------------------------

END_NAMESPACE_DISTRHO

#endif // DISTRHO_UI_NOTES_HPP_INCLUDED

source/backend/native/3bandeq/DistrhoArtwork3BandEQ.cpp → source/modules/carla_native/3bandeq/DistrhoArtwork3BandEQ.cpp View File


source/backend/native/3bandeq/DistrhoArtwork3BandEQ.hpp → source/modules/carla_native/3bandeq/DistrhoArtwork3BandEQ.hpp View File


source/backend/native/3bandeq/DistrhoPlugin3BandEQ.cpp → source/modules/carla_native/3bandeq/DistrhoPlugin3BandEQ.cpp View File


source/backend/native/3bandeq/DistrhoPlugin3BandEQ.hpp → source/modules/carla_native/3bandeq/DistrhoPlugin3BandEQ.hpp View File


source/backend/native/3bandeq/DistrhoPluginInfo.h → source/modules/carla_native/3bandeq/DistrhoPluginInfo.h View File


source/backend/native/3bandeq/DistrhoUI3BandEQ.cpp → source/modules/carla_native/3bandeq/DistrhoUI3BandEQ.cpp View File


source/backend/native/3bandeq/DistrhoUI3BandEQ.hpp → source/modules/carla_native/3bandeq/DistrhoUI3BandEQ.hpp View File


source/backend/native/3bandeq/artwork/about.png → source/modules/carla_native/3bandeq/artwork/about.png View File


source/backend/native/3bandeq/artwork/aboutButtonHover.png → source/modules/carla_native/3bandeq/artwork/aboutButtonHover.png View File


source/backend/native/3bandeq/artwork/aboutButtonNormal.png → source/modules/carla_native/3bandeq/artwork/aboutButtonNormal.png View File


source/backend/native/3bandeq/artwork/background.png → source/modules/carla_native/3bandeq/artwork/background.png View File


source/backend/native/3bandeq/artwork/knob.png → source/modules/carla_native/3bandeq/artwork/knob.png View File


source/backend/native/3bandeq/artwork/slider.png → source/modules/carla_native/3bandeq/artwork/slider.png View File


source/backend/native/3bandsplitter/DistrhoArtwork3BandSplitter.cpp → source/modules/carla_native/3bandsplitter/DistrhoArtwork3BandSplitter.cpp View File


source/backend/native/3bandsplitter/DistrhoArtwork3BandSplitter.hpp → source/modules/carla_native/3bandsplitter/DistrhoArtwork3BandSplitter.hpp View File


source/backend/native/3bandsplitter/DistrhoPlugin3BandSplitter.cpp → source/modules/carla_native/3bandsplitter/DistrhoPlugin3BandSplitter.cpp View File


source/backend/native/3bandsplitter/DistrhoPlugin3BandSplitter.hpp → source/modules/carla_native/3bandsplitter/DistrhoPlugin3BandSplitter.hpp View File


source/backend/native/3bandsplitter/DistrhoPluginInfo.h → source/modules/carla_native/3bandsplitter/DistrhoPluginInfo.h View File


source/backend/native/3bandsplitter/DistrhoUI3BandSplitter.cpp → source/modules/carla_native/3bandsplitter/DistrhoUI3BandSplitter.cpp View File


source/backend/native/3bandsplitter/DistrhoUI3BandSplitter.hpp → source/modules/carla_native/3bandsplitter/DistrhoUI3BandSplitter.hpp View File


source/backend/native/3bandsplitter/artwork/about.png → source/modules/carla_native/3bandsplitter/artwork/about.png View File


source/backend/native/3bandsplitter/artwork/aboutButtonHover.png → source/modules/carla_native/3bandsplitter/artwork/aboutButtonHover.png View File


source/backend/native/3bandsplitter/artwork/aboutButtonNormal.png → source/modules/carla_native/3bandsplitter/artwork/aboutButtonNormal.png View File


source/backend/native/3bandsplitter/artwork/background.png → source/modules/carla_native/3bandsplitter/artwork/background.png View File


source/backend/native/3bandsplitter/artwork/knob.png → source/modules/carla_native/3bandsplitter/artwork/knob.png View File


source/backend/native/3bandsplitter/artwork/slider.png → source/modules/carla_native/3bandsplitter/artwork/slider.png View File


source/backend/native/CarlaNative.pro → source/modules/carla_native/CarlaNative.pro View File


source/backend/native/Makefile → source/modules/carla_native/Makefile View File


source/backend/native/audio-base.hpp → source/modules/carla_native/audio-base.hpp View File


source/backend/native/audio-file.cpp → source/modules/carla_native/audio-file.cpp View File


source/backend/native/audio_decoder/ad.h → source/modules/carla_native/audio_decoder/ad.h View File


source/backend/native/audio_decoder/ad_ffmpeg.c → source/modules/carla_native/audio_decoder/ad_ffmpeg.c View File


source/backend/native/audio_decoder/ad_plugin.c → source/modules/carla_native/audio_decoder/ad_plugin.c View File


source/backend/native/audio_decoder/ad_plugin.h → source/modules/carla_native/audio_decoder/ad_plugin.h View File


source/backend/native/audio_decoder/ad_soundfile.c → source/modules/carla_native/audio_decoder/ad_soundfile.c View File


source/backend/native/audio_decoder/ffcompat.h → source/modules/carla_native/audio_decoder/ffcompat.h View File


source/backend/native/bypass.c → source/modules/carla_native/bypass.c View File


source/backend/native/distrho-3bandeq.cpp → source/modules/carla_native/distrho-3bandeq.cpp View File


source/backend/native/distrho-3bandsplitter.cpp → source/modules/carla_native/distrho-3bandsplitter.cpp View File


source/backend/native/distrho-nekobi.cpp → source/modules/carla_native/distrho-nekobi.cpp View File


source/backend/native/distrho-notes.cpp → source/modules/carla_native/distrho-notes.cpp View File


source/backend/native/distrho-pingpongpan.cpp → source/modules/carla_native/distrho-pingpongpan.cpp View File


source/backend/native/distrho-stereoenhancer.cpp → source/modules/carla_native/distrho-stereoenhancer.cpp View File


source/backend/native/distrho/DistrhoPluginCarla.cpp → source/modules/carla_native/distrho/DistrhoPluginCarla.cpp View File


source/backend/native/lfo.c → source/modules/carla_native/lfo.c View File


source/backend/native/midi-base.hpp → source/modules/carla_native/midi-base.hpp View File


source/backend/native/midi-file.cpp → source/modules/carla_native/midi-file.cpp View File


source/backend/native/midi-sequencer.cpp → source/modules/carla_native/midi-sequencer.cpp View File


source/backend/native/midi-split.c → source/modules/carla_native/midi-split.c View File


source/backend/native/midi-through.c → source/modules/carla_native/midi-through.c View File


source/backend/native/midi-transpose.c → source/modules/carla_native/midi-transpose.c View File


source/backend/native/nekobi/DistrhoArtworkNekobi.cpp → source/modules/carla_native/nekobi/DistrhoArtworkNekobi.cpp View File


source/backend/native/nekobi/DistrhoArtworkNekobi.hpp → source/modules/carla_native/nekobi/DistrhoArtworkNekobi.hpp View File


source/backend/native/nekobi/DistrhoPluginInfo.h → source/modules/carla_native/nekobi/DistrhoPluginInfo.h View File


source/backend/native/nekobi/DistrhoPluginNekobi.cpp → source/modules/carla_native/nekobi/DistrhoPluginNekobi.cpp View File


source/backend/native/nekobi/DistrhoPluginNekobi.hpp → source/modules/carla_native/nekobi/DistrhoPluginNekobi.hpp View File


source/backend/native/nekobi/DistrhoUINekobi.cpp → source/modules/carla_native/nekobi/DistrhoUINekobi.cpp View File


source/backend/native/nekobi/DistrhoUINekobi.hpp → source/modules/carla_native/nekobi/DistrhoUINekobi.hpp View File


source/backend/native/nekobi/NekoWidget.hpp → source/modules/carla_native/nekobi/NekoWidget.hpp View File


source/backend/native/nekobi/artwork/about.png → source/modules/carla_native/nekobi/artwork/about.png View File


source/backend/native/nekobi/artwork/aboutButtonHover.png → source/modules/carla_native/nekobi/artwork/aboutButtonHover.png View File


source/backend/native/nekobi/artwork/aboutButtonNormal.png → source/modules/carla_native/nekobi/artwork/aboutButtonNormal.png View File


source/backend/native/nekobi/artwork/background.png → source/modules/carla_native/nekobi/artwork/background.png View File


source/backend/native/nekobi/artwork/claw1.png → source/modules/carla_native/nekobi/artwork/claw1.png View File


source/backend/native/nekobi/artwork/claw2.png → source/modules/carla_native/nekobi/artwork/claw2.png View File


source/backend/native/nekobi/artwork/knob.png → source/modules/carla_native/nekobi/artwork/knob.png View File


source/backend/native/nekobi/artwork/run1.png → source/modules/carla_native/nekobi/artwork/run1.png View File


source/backend/native/nekobi/artwork/run2.png → source/modules/carla_native/nekobi/artwork/run2.png View File


source/backend/native/nekobi/artwork/run3.png → source/modules/carla_native/nekobi/artwork/run3.png View File


source/backend/native/nekobi/artwork/run4.png → source/modules/carla_native/nekobi/artwork/run4.png View File


source/backend/native/nekobi/artwork/scratch1.png → source/modules/carla_native/nekobi/artwork/scratch1.png View File


source/backend/native/nekobi/artwork/scratch2.png → source/modules/carla_native/nekobi/artwork/scratch2.png View File


source/backend/native/nekobi/artwork/sit.png → source/modules/carla_native/nekobi/artwork/sit.png View File


source/backend/native/nekobi/artwork/slider.png → source/modules/carla_native/nekobi/artwork/slider.png View File


source/backend/native/nekobi/artwork/tail.png → source/modules/carla_native/nekobi/artwork/tail.png View File


source/backend/native/nekobi/nekobee-src/minblep_tables.c → source/modules/carla_native/nekobi/nekobee-src/minblep_tables.c View File


source/backend/native/nekobi/nekobee-src/nekobee.h → source/modules/carla_native/nekobi/nekobee-src/nekobee.h View File


source/backend/native/nekobi/nekobee-src/nekobee_synth.c → source/modules/carla_native/nekobi/nekobee-src/nekobee_synth.c View File


source/backend/native/nekobi/nekobee-src/nekobee_synth.h → source/modules/carla_native/nekobi/nekobee-src/nekobee_synth.h View File


source/backend/native/nekobi/nekobee-src/nekobee_types.h → source/modules/carla_native/nekobi/nekobee-src/nekobee_types.h View File


source/backend/native/nekobi/nekobee-src/nekobee_voice.c → source/modules/carla_native/nekobi/nekobee-src/nekobee_voice.c View File


source/backend/native/nekobi/nekobee-src/nekobee_voice.h → source/modules/carla_native/nekobi/nekobee-src/nekobee_voice.h View File


source/backend/native/nekobi/nekobee-src/nekobee_voice_render.c → source/modules/carla_native/nekobi/nekobee-src/nekobee_voice_render.c View File


source/backend/native/nekofilter.c → source/modules/carla_native/nekofilter.c View File


source/backend/native/nekofilter/filter.c → source/modules/carla_native/nekofilter/filter.c View File


source/backend/native/nekofilter/filter.h → source/modules/carla_native/nekofilter/filter.h View File


source/backend/native/nekofilter/log.c → source/modules/carla_native/nekofilter/log.c View File


source/backend/native/nekofilter/log.h → source/modules/carla_native/nekofilter/log.h View File


source/backend/native/nekofilter/nekofilter.c → source/modules/carla_native/nekofilter/nekofilter.c View File


source/backend/native/nekofilter/ui.c → source/modules/carla_native/nekofilter/ui.c View File


source/backend/native/notes/DistrhoPluginInfo.h → source/modules/carla_native/notes/DistrhoPluginInfo.h View File


source/backend/native/pingpongpan/DistrhoArtworkPingPongPan.cpp → source/modules/carla_native/pingpongpan/DistrhoArtworkPingPongPan.cpp View File


source/backend/native/pingpongpan/DistrhoArtworkPingPongPan.hpp → source/modules/carla_native/pingpongpan/DistrhoArtworkPingPongPan.hpp View File


source/backend/native/pingpongpan/DistrhoPluginInfo.h → source/modules/carla_native/pingpongpan/DistrhoPluginInfo.h View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save