From c98b88063b0edd45c240902a767804f232af9a43 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 27 Oct 2018 00:25:55 +0200 Subject: HighLightDice: add member to help. --- highlightdice.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'highlightdice.h') 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 result,bool isHighlighted, QString color); + HighLightDice(QList result,bool isHighlighted, QString color, bool displayed,quint64 faces); virtual ~HighLightDice(); - - QList getResult() const; void setResult(const QList &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 m_result; - bool m_hasHighlight; + bool m_hasHighlight = true; QString m_color; + bool m_displayed = false; + quint64 m_faces; }; #endif // HighLightDice_H -- cgit v1.2.3-70-g09d2