mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-10 04:16:43 -07:00
almost finished pre-game deck loading
This commit is contained in:
parent
8dcf81654e
commit
cf21528a69
16 changed files with 140 additions and 64 deletions
19
cockatrice/src/deck_picturecacher.h
Normal file
19
cockatrice/src/deck_picturecacher.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef DECK_PICTURECACHER_H
|
||||
#define DECK_PICTURECACHER_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class InnerDecklistNode;
|
||||
class QProgressDialog;
|
||||
class DeckList;
|
||||
class QWidget;
|
||||
|
||||
class Deck_PictureCacher : public QObject {
|
||||
Q_OBJECT
|
||||
private:
|
||||
static void cacheHelper(InnerDecklistNode *item, QProgressDialog *progress);
|
||||
public:
|
||||
static void cachePictures(DeckList *deck, QWidget *parent);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue