optional setting for horizonal hand display

This commit is contained in:
Max-Wilhelm Bruker 2010-05-27 17:22:18 +02:00
parent 33606f55ce
commit e6e20cb048
19 changed files with 275 additions and 76 deletions

View file

@ -112,6 +112,7 @@ private:
int id;
bool active;
bool local;
bool mirrored;
QMap<QString, CardZone *> zones;
TableZone *table;
@ -164,13 +165,14 @@ public:
void clearArrows();
Client *client;
Player(const QString &_name, int _id, bool _local, Client *_client, TabGame *_parent);
Player(const QString &_name, int _id, bool _local, bool _mirrored, Client *_client, TabGame *_parent);
~Player();
void retranslateUi();
QMenu *getPlayerMenu() const { return playerMenu; }
int getId() const { return id; }
QString getName() const { return name; }
bool getLocal() const { return local; }
bool getMirrored() const { return mirrored; }
const QMap<QString, CardZone *> &getZones() const { return zones; }
const QMap<int, ArrowItem *> &getArrows() const { return arrows; }
TableZone *getTable() const { return table; }
@ -178,6 +180,9 @@ public:
bool getActive() const { return active; }
void setActive(bool _active);
qreal getMinimumWidth() const;
void processSceneSizeChange(const QSizeF &newSize);
void processPlayerInfo(ServerInfo_Player *info);
void processGameEvent(GameEvent *event, GameEventContext *context);
void sendGameCommand(GameCommand *command);