mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 20:13:56 -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
18
cockatrice/src/handzone_horiz.h
Normal file
18
cockatrice/src/handzone_horiz.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef HANDZONE_HORIZ_H
|
||||
#define HANDZONE_HORIZ_H
|
||||
|
||||
#include "handzone.h"
|
||||
|
||||
class HandZoneHoriz : public HandZone {
|
||||
Q_OBJECT
|
||||
private:
|
||||
qreal width;
|
||||
public:
|
||||
HandZoneHoriz(Player *_p, bool _contentsKnown, QGraphicsItem *parent = 0);
|
||||
QRectF boundingRect() const;
|
||||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
||||
void reorganizeCards();
|
||||
void setWidth(qreal _width);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue