From f0f5ef7b87d8d5c1a0c59f0e0410474155c1019c Mon Sep 17 00:00:00 2001 From: Renaud G Date: Fri, 28 Sep 2018 11:15:32 +0200 Subject: need for gui is not conditionnal add flag NO_PAINTER_OPERATOR --- cli/displaytoolbox.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/displaytoolbox.h') 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 #include #include @@ -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 &diceList, bool &allSameFaceCount, bool &allSameColor); -- cgit v1.2.3-70-g09d2