diff options
| author | 2018-10-27 00:25:55 +0200 | |
|---|---|---|
| committer | 2018-11-09 23:47:36 +0100 | |
| commit | c98b88063b0edd45c240902a767804f232af9a43 (patch) | |
| tree | e25655fdddf2e2c5879115bd4f87b125ff81c631 /highlightdice.h | |
| parent | ab902d65c6640e7b388cc5d89588e2fc6b32759a (diff) | |
| download | OneRoll-c98b88063b0edd45c240902a767804f232af9a43.tar.gz OneRoll-c98b88063b0edd45c240902a767804f232af9a43.zip | |
HighLightDice: add member to help.
Diffstat (limited to 'highlightdice.h')
| -rw-r--r-- | highlightdice.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/highlightdice.h b/highlightdice.h index a74d747..72e696f 100644 --- a/highlightdice.h +++ b/highlightdice.h @@ -27,11 +27,9 @@ class HighLightDice { public: - HighLightDice(QList<qint64> result,bool isHighlighted, QString color); + HighLightDice(QList<qint64> result,bool isHighlighted, QString color, bool displayed,quint64 faces); virtual ~HighLightDice(); - - QList<qint64> getResult() const; void setResult(const QList<qint64> &result); @@ -41,10 +39,18 @@ public: QString getColor() const; void setColor(const QString &color); + bool getDisplayed() const; + void setDisplayed(bool displayed); + + quint64 getFaces() const; + void setFaces(const quint64 &faces); + private: QList<qint64> m_result; - bool m_hasHighlight; + bool m_hasHighlight = true; QString m_color; + bool m_displayed = false; + quint64 m_faces; }; #endif // HighLightDice_H |