aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/highlightdice.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-11-11 17:38:53 +0100
committerRenaud G <renaud@rolisteam.org>2018-11-11 17:38:53 +0100
commit750cc31e9157bf92f54a66b8a076e5287c4cef3a (patch)
tree8931522a6b82cf82f997029ef76608243a27e904 /highlightdice.h
parentbd4a0c837bd5e3b4dbf9d3dcef892850d04ec6ac (diff)
parent1d8bd391b1df4fd2f2f274828db14c9ce695eb8b (diff)
downloadOneRoll-750cc31e9157bf92f54a66b8a076e5287c4cef3a.tar.gz
OneRoll-750cc31e9157bf92f54a66b8a076e5287c4cef3a.zip
Merge branch 'diceResult'
Diffstat (limited to 'highlightdice.h')
-rw-r--r--highlightdice.h14
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