aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli/displaytoolbox.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-02-12 23:59:24 +0100
committerRenaud G <renaud@rolisteam.org>2019-02-12 23:59:24 +0100
commitf2051fb35b1ad49c4d940e6fbba2acc98b216e13 (patch)
tree03117f493191d35104ac37eba72e916d41c849f2 /cli/displaytoolbox.h
parent210a222b894caa3c8af38ccb6653db0fd8491f6e (diff)
downloadOneRoll-f2051fb35b1ad49c4d940e6fbba2acc98b216e13.tar.gz
OneRoll-f2051fb35b1ad49c4d940e6fbba2acc98b216e13.zip
clang format
Diffstat (limited to 'cli/displaytoolbox.h')
-rw-r--r--cli/displaytoolbox.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/cli/displaytoolbox.h b/cli/displaytoolbox.h
index e256be1..34859e9 100644
--- a/cli/displaytoolbox.h
+++ b/cli/displaytoolbox.h
@@ -1,8 +1,8 @@
#ifndef GENERATEIMAGE_H
#define GENERATEIMAGE_H
-#include <QString>
#include <QJsonArray>
+#include <QString>
#include "diceparser.h"
@@ -10,15 +10,15 @@ 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
+#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);
+ static QString diceToText(QJsonArray array, bool withColor, bool allSameFaceCount, bool allSameColor);
+ static QJsonArray diceToJson(QList<ExportedDiceResult>& diceList, bool& allSameFaceCount, bool& allSameColor);
static QString diceToSvg(QJsonArray array, bool withColor, bool allSameColor, bool allSameFaceCount);
static QString diceResultToString(QJsonObject val);
};
-
#endif // GENERATEIMAGE_H