diff options
| author | 2018-09-28 11:15:32 +0200 | |
|---|---|---|
| committer | 2018-09-28 11:15:32 +0200 | |
| commit | f0f5ef7b87d8d5c1a0c59f0e0410474155c1019c (patch) | |
| tree | d4d795c803b4b07d653cd5c5e7b1eabbf01c0044 /cli/displaytoolbox.h | |
| parent | 4dcc5ca9c840d16c9238aec2beb6783e85b28dfe (diff) | |
| download | OneRoll-f0f5ef7b87d8d5c1a0c59f0e0410474155c1019c.tar.gz OneRoll-f0f5ef7b87d8d5c1a0c59f0e0410474155c1019c.zip | |
need for gui is not conditionnal add flag NO_PAINTER_OPERATOR
Diffstat (limited to 'cli/displaytoolbox.h')
| -rw-r--r-- | cli/displaytoolbox.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/displaytoolbox.h b/cli/displaytoolbox.h index 0b6cd12..e256be1 100644 --- a/cli/displaytoolbox.h +++ b/cli/displaytoolbox.h @@ -1,7 +1,6 @@ #ifndef GENERATEIMAGE_H #define GENERATEIMAGE_H -#include <QImage> #include <QString> #include <QJsonArray> @@ -11,7 +10,9 @@ class DisplayToolBox { public: DisplayToolBox(); + #ifdef PAINTER_OP static QString makeImage(QString scalarText, QString resultStr,QJsonArray array, bool withColor, QString cmd, QString comment, bool allSameFaceCount,bool allSameColor); + #endif static QString colorToTermCode(QString str); static QString diceToText(QJsonArray array, bool withColor,bool allSameFaceCount, bool allSameColor); static QJsonArray diceToJson(QList<ExportedDiceResult> &diceList, bool &allSameFaceCount, bool &allSameColor); |