mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Introduced stack zone, shrunk table to have higher zoom factor
This commit is contained in:
parent
1cd76c2641
commit
df5791d318
16 changed files with 186 additions and 23 deletions
|
|
@ -12,6 +12,7 @@ SettingsCache::SettingsCache()
|
|||
cardDatabasePath = settings->value("paths/carddatabase").toString();
|
||||
|
||||
handBgPath = settings->value("zonebg/hand").toString();
|
||||
stackBgPath = settings->value("zonebg/stack").toString();
|
||||
tableBgPath = settings->value("zonebg/table").toString();
|
||||
playerBgPath = settings->value("zonebg/playerarea").toString();
|
||||
cardBackPicturePath = settings->value("paths/cardbackpicture").toString();
|
||||
|
|
@ -62,6 +63,13 @@ void SettingsCache::setHandBgPath(const QString &_handBgPath)
|
|||
emit handBgPathChanged();
|
||||
}
|
||||
|
||||
void SettingsCache::setStackBgPath(const QString &_stackBgPath)
|
||||
{
|
||||
stackBgPath = _stackBgPath;
|
||||
settings->setValue("zonebg/stack", stackBgPath);
|
||||
emit stackBgPathChanged();
|
||||
}
|
||||
|
||||
void SettingsCache::setTableBgPath(const QString &_tableBgPath)
|
||||
{
|
||||
tableBgPath = _tableBgPath;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue