Alternative approach to custom module widget behaviour
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
377cf01ddc
commit
dca76207e7
21 changed files with 1727 additions and 340 deletions
|
|
@ -1,5 +1,5 @@
|
|||
--- ../Rack/src/context.cpp 2022-09-21 19:49:12.199540706 +0100
|
||||
+++ context.cpp 2022-09-21 19:41:45.883648777 +0100
|
||||
--- ../Rack/src/context.cpp 2022-11-23 23:11:38.000000000 +0000
|
||||
+++ context.cpp 2022-11-25 22:31:32.000000000 +0000
|
||||
@@ -1,3 +1,30 @@
|
||||
+/*
|
||||
+ * DISTRHO Cardinal Plugin
|
||||
|
|
@ -31,21 +31,22 @@
|
|||
#include <context.hpp>
|
||||
#include <window/Window.hpp>
|
||||
#include <patch.hpp>
|
||||
@@ -6,9 +33,13 @@
|
||||
@@ -6,10 +33,14 @@
|
||||
#include <history.hpp>
|
||||
#include <settings.hpp>
|
||||
|
||||
+#ifdef NDEBUG
|
||||
+# undef DEBUG
|
||||
+#endif
|
||||
|
||||
-namespace rack {
|
||||
+
|
||||
+#include "DistrhoUtils.hpp"
|
||||
|
||||
+namespace rack {
|
||||
namespace rack {
|
||||
|
||||
-
|
||||
Context::~Context() {
|
||||
// Deleting NULL is safe in C++.
|
||||
|
||||
@@ -44,7 +75,7 @@
|
||||
static thread_local Context* threadContext = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue