2017-09-15 17:23:49 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "channel.hpp"
|
2017-09-16 00:05:06 +02:00
|
|
|
#include "widgets/basewidget.hpp"
|
2017-11-12 17:21:50 +01:00
|
|
|
#include "widgets/helper/channelview.hpp"
|
2017-09-15 17:23:49 +02:00
|
|
|
|
|
|
|
namespace chatterino {
|
|
|
|
namespace widgets {
|
|
|
|
|
2017-09-16 00:05:06 +02:00
|
|
|
class EmotePopup : public BaseWidget
|
2017-09-15 17:23:49 +02:00
|
|
|
{
|
|
|
|
public:
|
2017-12-31 22:58:35 +01:00
|
|
|
explicit EmotePopup(singletons::ThemeManager &);
|
2017-09-15 17:23:49 +02:00
|
|
|
|
|
|
|
void loadChannel(std::shared_ptr<Channel> channel);
|
2017-12-19 03:18:00 +01:00
|
|
|
void loadEmojis();
|
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
|