mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 19:13:55 -07:00
protocol changes, menu cleanups, phase button speed improvement
This commit is contained in:
parent
ab3858239f
commit
890740bcc9
19 changed files with 514 additions and 442 deletions
|
|
@ -13,6 +13,9 @@ private:
|
|||
QString phaseText;
|
||||
bool active;
|
||||
QAction *doubleClickAction;
|
||||
QPixmap activePixmap, inactivePixmap;
|
||||
|
||||
void updatePixmap(QPixmap &pixmap, bool active);
|
||||
public:
|
||||
PhaseButton(const QIcon &icon, QAction *_doubleClickAction = 0);
|
||||
void setPhaseText(const QString &_phaseText);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue