mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-06 18:13:29 -08:00
[Refactor] Add card name, printing id, and color to CardState (#7433)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
edb5caec8a
commit
5d0d466930
4 changed files with 35 additions and 8 deletions
|
|
@ -20,6 +20,12 @@ void CardState::resetState(bool keepAnnotations)
|
|||
emit stateReset();
|
||||
}
|
||||
|
||||
void CardState::setColor(const QString &_color)
|
||||
{
|
||||
color = _color;
|
||||
emit colorChanged();
|
||||
}
|
||||
|
||||
void CardState::deleteView()
|
||||
{
|
||||
emit viewDeleteRequested();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue