diff options
| author | 2022-02-23 02:51:23 +0100 | |
|---|---|---|
| committer | 2022-03-01 03:41:41 +0000 | |
| commit | c31f3d09f2f886147b6f1fef605075d3be1cf5a6 (patch) | |
| tree | 90b4bb71c16ff22a9a24013aa1b9a8f3324ebb0e /cli/displaytoolbox.h | |
| parent | b8f1bc738f3abbab3565a39f88a950c049248517 (diff) | |
| download | OneRoll-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.h | 1 |
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); |