aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/highlightdice.cpp
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.cpp
parentbd4a0c837bd5e3b4dbf9d3dcef892850d04ec6ac (diff)
parent1d8bd391b1df4fd2f2f274828db14c9ce695eb8b (diff)
downloadOneRoll-750cc31e9157bf92f54a66b8a076e5287c4cef3a.tar.gz
OneRoll-750cc31e9157bf92f54a66b8a076e5287c4cef3a.zip
Merge branch 'diceResult'
Diffstat (limited to 'highlightdice.cpp')
-rw-r--r--highlightdice.cpp24
1 files changed, 22 insertions, 2 deletions
diff --git a/highlightdice.cpp b/highlightdice.cpp
index 47ed79e..1c4b2e7 100644
--- a/highlightdice.cpp
+++ b/highlightdice.cpp
@@ -19,8 +19,8 @@
***************************************************************************/
#include "highlightdice.h"
-HighLightDice::HighLightDice(QList<qint64> result,bool isHighlighted, QString color)
- : m_result(result),m_hasHighlight(isHighlighted),m_color(color)
+HighLightDice::HighLightDice(QList<qint64> result, bool isHighlighted, QString color, bool displayed, quint64 faces)
+ : m_result(result),m_hasHighlight(isHighlighted),m_color(color), m_displayed(displayed),m_faces(faces)
{
}
@@ -60,3 +60,23 @@ void HighLightDice::setColor(const QString &color)
{
m_color = color;
}
+
+bool HighLightDice::getDisplayed() const
+{
+ return m_displayed;
+}
+
+void HighLightDice::setDisplayed(bool displayed)
+{
+ m_displayed = displayed;
+}
+
+quint64 HighLightDice::getFaces() const
+{
+ return m_faces;
+}
+
+void HighLightDice::setFaces(const quint64 &faces)
+{
+ m_faces = faces;
+}