HandZone::HandZone(Player *_p, bool _contentsKnown, int _zoneHeight, QGraphicsItem *parent) : SelectZone(_p, "hand", false, false, _contentsKnown, parent), zoneHeight(_zoneHeight) { connect(settingsCache, SIGNAL(handBgPathChanged()), this, SLOT(updateBgPixmap())); updateBgPixmap(); setCacheMode(DeviceCoordinateCache); }
void SettingsCache::setHandBgPath(const QString &_handBgPath) { handBgPath = _handBgPath; settings->setValue("zonebg/hand", handBgPath); emit handBgPathChanged(); }