diff options
| author | 2018-12-08 21:14:43 +0100 | |
|---|---|---|
| committer | 2018-12-08 21:14:43 +0100 | |
| commit | bb47c33763d250cc424216a1dd0fedefa80532a3 (patch) | |
| tree | 3e60a84a8cd963d828299d49256ed6cd7c1bdd6f /highlightdice.cpp | |
| parent | b28b096d2fe3ddfed099ee8cc33c8caa504d7c83 (diff) | |
| parent | 48de810db56b728726ec8b499b9a12c687b53795 (diff) | |
| download | OneRoll-bb47c33763d250cc424216a1dd0fedefa80532a3.tar.gz OneRoll-bb47c33763d250cc424216a1dd0fedefa80532a3.zip | |
Merge branch 'master' of github.com:Rolisteam/DiceParser
Diffstat (limited to 'highlightdice.cpp')
| -rw-r--r-- | highlightdice.cpp | 24 |
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; +} |