diff options
Diffstat (limited to 'aocharbutton.h')
| -rw-r--r-- | aocharbutton.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/aocharbutton.h b/aocharbutton.h index 6b80460c..6e5e50e1 100644 --- a/aocharbutton.h +++ b/aocharbutton.h @@ -14,10 +14,11 @@ class AOCharButton : public QPushButton Q_OBJECT public: - AOCharButton(QWidget *parent, AOApplication *p_ao_app, int x_pos, int y_pos); + AOCharButton(QWidget *parent, AOApplication *p_ao_app, int x_pos, int y_pos, bool is_taken); AOApplication *ao_app; + void refresh(); void reset(); void set_taken(); void set_passworded(); @@ -25,6 +26,8 @@ public: void set_image(QString p_character); private: + bool taken; + QWidget *m_parent; AOImage *ui_taken; |
