mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-09 11:33:25 -08:00
[Refactor] Add card name, printing id, and color to CardState
This commit is contained in:
parent
9fcc6f1e88
commit
893aeb7bae
4 changed files with 35 additions and 8 deletions
|
|
@ -19,6 +19,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