mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
optional setting for horizonal hand display
This commit is contained in:
parent
33606f55ce
commit
e6e20cb048
19 changed files with 275 additions and 76 deletions
|
|
@ -17,6 +17,7 @@ SettingsCache::SettingsCache()
|
|||
|
||||
picDownload = settings->value("personal/picturedownload", false).toBool();
|
||||
doubleClickToPlay = settings->value("interface/doubleclicktoplay", true).toBool();
|
||||
horizontalHand = settings->value("hand/horizontal", false).toBool();
|
||||
economicGrid = settings->value("table/economic", false).toBool();
|
||||
|
||||
zoneViewSortByName = settings->value("zoneview/sortbyname", false).toBool();
|
||||
|
|
@ -84,6 +85,12 @@ void SettingsCache::setDoubleClickToPlay(int _doubleClickToPlay)
|
|||
settings->setValue("interface/doubleclicktoplay", doubleClickToPlay);
|
||||
}
|
||||
|
||||
void SettingsCache::setHorizontalHand(int _horizontalHand)
|
||||
{
|
||||
horizontalHand = _horizontalHand;
|
||||
settings->setValue("hand/horizontal", horizontalHand);
|
||||
}
|
||||
|
||||
void SettingsCache::setEconomicGrid(int _economicGrid)
|
||||
{
|
||||
economicGrid = _economicGrid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue