aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli/displaytoolbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'cli/displaytoolbox.h')
-rw-r--r--cli/displaytoolbox.h3
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);