diff options
Diffstat (limited to 'src/bin/cli/displaytoolbox.h')
| -rw-r--r-- | src/bin/cli/displaytoolbox.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/cli/displaytoolbox.h b/src/bin/cli/displaytoolbox.h index 5a22b0f..2b0b556 100644 --- a/src/bin/cli/displaytoolbox.h +++ b/src/bin/cli/displaytoolbox.h @@ -5,6 +5,7 @@ #include <QString> #include "diceparser/diceparser.h" +#include "rang.hpp" class DisplayToolBox { @@ -20,7 +21,7 @@ public: #ifdef PAINTER_OP static QString makeImage(QByteArray svgCode); #endif - static QString colorToIntCode(QString str); + static rang::fg 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); |