aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwindrammer <31085911+likeawindrammer@users.noreply.github.com>2020-07-30 11:10:58 -0600
committerGitHub <noreply@github.com>2020-07-30 12:10:58 -0500
commit55fa6d7da0e455401850eb04e72a0854a7c169d8 (patch)
tree091a13f18f2eba3ff956e2066d6c84cea2e9b035 /include
parent6844f72ab5184bcfee763bfe80baf1ee387a5811 (diff)
Add darker button generator (#201)
When an `_off` emote button exists without an `_on` counterpart, the client will automatically generate the `_on` button and save it to disk. Co-authored-by: Cents02 <Cents02@Cents0.me> Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
Diffstat (limited to 'include')
-rw-r--r--include/aoemotebutton.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/aoemotebutton.h b/include/aoemotebutton.h
index cb46167f..58e7e747 100644
--- a/include/aoemotebutton.h
+++ b/include/aoemotebutton.h
@@ -2,7 +2,7 @@
#define AOEMOTEBUTTON_H
#include "aoapplication.h"
-
+#include <QPainter>
#include <QDebug>
#include <QPushButton>
@@ -25,6 +25,7 @@ private:
int m_id = 0;
+
signals:
void emote_clicked(int p_id);