mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
made counters look nicer
This commit is contained in:
parent
5d40996c0b
commit
ae82996c0e
9 changed files with 59 additions and 51 deletions
|
|
@ -1,13 +1,12 @@
|
|||
#ifndef CARDITEM_H
|
||||
#define CARDITEM_H
|
||||
|
||||
#include <QGraphicsItem>
|
||||
#include "abstractgraphicsitem.h"
|
||||
|
||||
class CardDatabase;
|
||||
class CardDragItem;
|
||||
class CardZone;
|
||||
|
||||
|
||||
const int CARD_WIDTH = 72;
|
||||
const int CARD_HEIGHT = 102;
|
||||
const int RASTER_WIDTH = 36;
|
||||
|
|
@ -22,7 +21,7 @@ enum CardItemType {
|
|||
typeOther = QGraphicsItem::UserType + 4
|
||||
};
|
||||
|
||||
class CardItem : public QGraphicsItem {
|
||||
class CardItem : public AbstractGraphicsItem {
|
||||
private:
|
||||
CardDatabase *db;
|
||||
QString name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue