mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 17:44:48 -07:00
Redesigning deck editor to work with docks
Moved setting files & Added code for a future portable build
This commit is contained in:
parent
ba90d84a13
commit
e9e75961f4
11 changed files with 485 additions and 123 deletions
|
|
@ -8,14 +8,12 @@
|
|||
#include "carddatabase.h"
|
||||
#include "main.h"
|
||||
|
||||
CardInfoPicture::CardInfoPicture(int width, QWidget *parent)
|
||||
CardInfoPicture::CardInfoPicture(QWidget *parent)
|
||||
: QWidget(parent),
|
||||
info(0),
|
||||
pixmapDirty(true)
|
||||
{
|
||||
setFixedWidth(width);
|
||||
setMinimumHeight(100);
|
||||
setMaximumHeight(width / (qreal) CARD_WIDTH * (qreal) CARD_HEIGHT);
|
||||
}
|
||||
|
||||
void CardInfoPicture::setCard(CardInfo *card)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue