computerscare-vcv-modules

computerscare modules for VCV Rack
Log | Files | Refs

commit 287fea865824575b2fb3146d232ffecb541b32a4
parent eaf44f1c8eef76459e6018b779a4c5a38504dbef
Author: Adam M <[email protected]>
Date:   Sun,  7 Nov 2021 10:48:39 -0600

replace #define with const

Diffstat:
Msrc/ComputerscareBlank.cpp | 3---
Msrc/ComputerscareDebug.cpp | 4+++-
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/ComputerscareBlank.cpp b/src/ComputerscareBlank.cpp @@ -15,9 +15,6 @@ #include <cctype> #include <algorithm> -#define FONT_SIZE 13 - - struct ComputerscareBlank : ComputerscareMenuParamModule { bool loading = true; bool loadedJSON = false; diff --git a/src/ComputerscareDebug.cpp b/src/ComputerscareDebug.cpp @@ -6,8 +6,10 @@ #include <sstream> #include <iomanip> -#define NUM_LINES 16 +const int NUM_LINES = 16; + struct ComputerscareDebug; + std::string noModuleStringValue = "+0.000000\n+0.000000\n+0.000000\n+0.000000\n+0.000000\n+0.000000\n+0.000000\n+0.000000\n+0.000000\n+0.000000\n+0.000000\n+0.000000\n+0.000000\n+0.000000\n+0.000000\n+0.000000\n";