aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli/displaytoolbox.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2022-02-23 02:51:23 +0100
committerRenaud Guezennec <renaud@rolisteam.org>2022-03-01 03:41:41 +0000
commitc31f3d09f2f886147b6f1fef605075d3be1cf5a6 (patch)
tree90b4bb71c16ff22a9a24013aa1b9a8f3324ebb0e /cli/displaytoolbox.h
parentb8f1bc738f3abbab3565a39f88a950c049248517 (diff)
downloadOneRoll-c31f3d09f2f886147b6f1fef605075d3be1cf5a6.tar.gz
OneRoll-c31f3d09f2f886147b6f1fef605075d3be1cf5a6.zip
Add C parameter to change the highlight color.
Diffstat (limited to 'cli/displaytoolbox.h')
-rw-r--r--cli/displaytoolbox.h1
1 files changed, 1 insertions, 0 deletions
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);