mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 18:43:55 -07:00
New privuser gummys (#2305)
* New user gummys based on account privilege level This change add's new user gummy icons for vip/donator priv levels that are now available. YaY for Zach!
This commit is contained in:
parent
e0636db60d
commit
960ecaaeda
18 changed files with 1967 additions and 34 deletions
|
|
@ -48,9 +48,9 @@ public:
|
|||
|
||||
class UserLevelPixmapGenerator {
|
||||
private:
|
||||
static QMap<int, QPixmap> pmCache;
|
||||
static QMap<QString, QPixmap> pmCache;
|
||||
public:
|
||||
static QPixmap generatePixmap(int height, UserLevelFlags userLevel, bool isBuddy);
|
||||
static QPixmap generatePixmap(int height, UserLevelFlags userLevel, bool isBuddy, QString privLevel = "NONE");
|
||||
static void clear() { pmCache.clear(); }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue