aboutsummaryrefslogtreecommitdiff
path: root/include/aoemotebutton.h
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2020-05-22 19:17:55 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2020-05-22 19:17:55 -0500
commitfd1855b8d0ecaa56ae3165ad5d8f3bd65ff77a64 (patch)
tree9c27d658dd8f19e649e1742b0fd39104a50a3ca6 /include/aoemotebutton.h
parent8928aa2718378bc42d20d5bbe6c17be68d65d6f3 (diff)
parent4617e3135ed14a28c4129154486022947fda9d82 (diff)
Merge KFO source unconditionally into AO2
Diffstat (limited to 'include/aoemotebutton.h')
-rw-r--r--include/aoemotebutton.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/aoemotebutton.h b/include/aoemotebutton.h
index acf0b48..cb46167 100644
--- a/include/aoemotebutton.h
+++ b/include/aoemotebutton.h
@@ -10,11 +10,11 @@ class AOEmoteButton : public QPushButton {
Q_OBJECT
public:
- AOEmoteButton(QWidget *p_parent, AOApplication *p_ao_app, int p_x, int p_y);
+ AOEmoteButton(QWidget *p_parent, AOApplication *p_ao_app, int p_x, int p_y,
+ int p_w, int p_h);
- // void set_on(QString p_char, int p_emote);
- // void set_off(QString p_char, int p_emote);
- void set_image(QString p_char, int p_emote, QString suffix);
+ void set_image(QString p_image, QString p_emote_comment);
+ void set_char_image(QString p_char, int p_emote, QString suffix);
void set_id(int p_id) { m_id = p_id; }
int get_id() { return m_id; }