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 f7154169..d3576fba 100644 --- a/aocharbutton.h +++ b/aocharbutton.h @@ -13,10 +13,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(); @@ -24,6 +25,8 @@ public: void set_image(QString p_character); private: + bool taken; + QWidget *m_parent; AOImage *ui_taken; |
