gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit f28d1ad577bba445d247e2201a718f312508cb47
parent 4806e3e6e3f0e34188ae2a8cb3c4b68d13e59a15
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Mon,  6 May 2024 19:54:55 +0200

modify lcd overlay text

Diffstat:
Msource/xtJucePlugin/xtLcd.cpp | 15+++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/source/xtJucePlugin/xtLcd.cpp b/source/xtJucePlugin/xtLcd.cpp @@ -58,8 +58,19 @@ void XtLcd::setText(const std::array<uint8_t, 80>& _text) bool XtLcd::getOverrideText(std::vector<std::vector<uint8_t>>& _lines) { - const std::string lineA(std::string("Xenia v") + g_pluginVersionString); - const std::string lineB = __DATE__ " " __TIME__; + std::string lineA(std::string("Xenia v") + g_pluginVersionString); + std::string lineB = __DATE__ " " __TIME__; + + constexpr char lineAright[] = "From TUS"; + constexpr char lineBright[] = "with <3"; + + while(lineA.size() < 40 - std::size(lineAright) + 1) + lineA.push_back(' '); + lineA += lineAright; + + while(lineB.size() < 40 - std::size(lineBright) + 1) + lineB.push_back(' '); + lineB += lineBright; _lines = {