2017-09-15 17:23:49 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "channel.hpp"
|
2018-01-14 21:55:36 +01:00
|
|
|
#include "widgets/basewindow.hpp"
|
2017-11-12 17:21:50 +01:00
|
|
|
#include "widgets/helper/channelview.hpp"
|
2017-09-15 17:23:49 +02:00
|
|
|
|
2018-01-24 20:58:53 +01:00
|
|
|
#include <pajlada/signals/signal.hpp>
|
|
|
|
|
2017-09-15 17:23:49 +02:00
|
|
|
namespace chatterino {
|
|
|
|
namespace widgets {
|
|
|
|
|
2018-01-14 21:55:36 +01:00
|
|
|
class EmotePopup : public BaseWindow
|
2017-09-15 17:23:49 +02:00
|
|
|
{
|
|
|
|
public:
|
2018-04-27 22:11:19 +02:00
|
|
|
EmotePopup();
|
2017-09-15 17:23:49 +02:00
|
|
|
|
2018-01-24 13:15:41 +01:00
|
|
|
void loadChannel(ChannelPtr channel);
|
2017-12-19 03:18:00 +01:00
|
|
|
void loadEmojis();
|
2017-09-16 00:05:06 +02:00
|
|
|
|
2018-01-24 20:58:53 +01:00
|
|
|
pajlada::Signals::Signal<messages::Link> linkClicked;
|
|
|
|
|
2017-09-16 00:05:06 +02:00
|
|
|
private:
|
2017-12-19 03:18:00 +01:00
|
|
|
ChannelView *viewEmotes;
|
|
|
|
ChannelView *viewEmojis;
|
2017-09-15 17:23:49 +02:00
|
|
|
};
|
2017-12-17 02:10:35 +01:00
|
|
|
|
|
|
|
} // namespace widgets
|
|
|
|
} // namespace chatterino
|