From c31f3d09f2f886147b6f1fef605075d3be1cf5a6 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Wed, 23 Feb 2022 02:51:23 +0100 Subject: Add C parameter to change the highlight color. --- cli/displaytoolbox.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/displaytoolbox.h') diff --git a/cli/displaytoolbox.h b/cli/displaytoolbox.h index 11f92c3..53a2a56 100644 --- a/cli/displaytoolbox.h +++ b/cli/displaytoolbox.h @@ -20,6 +20,7 @@ public: #ifdef PAINTER_OP static QString makeImage(QByteArray svgCode); #endif + static QString colorToIntCode(QString str); static QString colorToTermCode(QString str); static QString diceToSvg(QJsonArray array, bool withColor, bool allSameColor, bool allSameFaceCount); static QString diceResultToString(QJsonObject val, Output type, bool hasColor); -- cgit v1.2.3-70-g09d2