Browse Source

More build fixes

Signed-off-by: falkTX <falktx@falktx.com>
tags/24.05
parent
commit
a6a83f3dae
4 changed files with 29 additions and 9 deletions
  1. +4
    -2
      include/plugincontext.hpp
  2. +1
    -1
      plugins/Makefile
  3. +23
    -5
      plugins/plugins.cpp
  4. +1
    -1
      src/CardinalUI.cpp

+ 4
- 2
include/plugincontext.hpp View File

@@ -89,14 +89,16 @@ struct CardinalPluginContext : rack::Context {
const CardinalDISTRHO::MidiEvent* midiEvents;
uint32_t midiEventCount;
CardinalDISTRHO::Plugin* const plugin;
#ifndef HEADLESS
CardinalDGL::NanoTopLevelWidget* tlw;
CardinalDISTRHO::UI* ui;
#endif
CardinalPluginContext(CardinalDISTRHO::Plugin* const p);
void writeMidiMessage(const rack::midi::Message& message, uint8_t channel);
#ifndef HEADLESS
#ifndef HEADLESS
bool addIdleCallback(IdleCallback* cb) const;
void removeIdleCallback(IdleCallback* cb) const;
#endif
#endif
};

#ifndef HEADLESS


+ 1
- 1
plugins/Makefile View File

@@ -579,7 +579,7 @@ PLUGIN_FILES += $(filter-out Biset/src/plugin.cpp,$(wildcard Biset/src/*.cpp))
PLUGIN_FILES += $(wildcard Biset/src/*/*.cpp)

# modules/types which are present in other plugins
BISET_CUSTOM = Blank ButtonTrigger Clock Tree
BISET_CUSTOM = Blank ButtonTrigger Clock Tree TreeDisplay

# --------------------------------------------------------------
# BogaudioModules


+ 23
- 5
plugins/plugins.cpp View File

@@ -147,15 +147,33 @@ extern Model* modelChord;
#include "Bidoo/src/plugin.hpp"

// Biset
/* NOTE too much noise in original include, do this a different way
// #include "Biset/src/plugin.hpp"
*/
#define modelBlank modelBisetBlank
#define modelTree modelBisetTree
#define Clock BisetClock
#define ButtonTrigger BisetButtonTrigger
#include "Biset/src/plugin.hpp"
extern Model* modelTracker;
extern Model* modelTrackerSynth;
extern Model* modelTrackerDrum;
extern Model* modelTrackerClock;
extern Model* modelTrackerPhase;
extern Model* modelTrackerQuant;
extern Model* modelTrackerState;
extern Model* modelTrackerControl;
extern Model* modelRegex;
extern Model* modelRegexCondensed;
extern Model* modelRegexExp;
extern Model* modelTree;
extern Model* modelTreeSeed;
extern Model* modelGbu;
extern Model* modelPkm;
extern Model* modelIgc;
extern Model* modelOmega3;
extern Model* modelOmega6;
extern Model* modelSegfault;
extern Model* modelBlank;
#undef modelBlank
#undef modelTree
#undef ButtonTrigger
#undef Clock

// BogaudioModules - integrate theme/skin support
#include <mutex>


+ 1
- 1
src/CardinalUI.cpp View File

@@ -1081,7 +1081,7 @@ protected:
int key;
switch (ev.key)
{
case '\t': key = GLFW_KEY_TAB; break;
case kKeyTab: key = GLFW_KEY_TAB; break;
case kKeyBackspace: key = GLFW_KEY_BACKSPACE; break;
case kKeyEnter: key = GLFW_KEY_ENTER; break;
case kKeyEscape: key = GLFW_KEY_ESCAPE; break;


Loading…
Cancel
Save