2017-09-15 17:23:49 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "channel.hpp"
|
2017-09-16 00:05:06 +02:00
|
|
|
#include "emotemanager.hpp"
|
|
|
|
#include "widgets/basewidget.hpp"
|
|
|
|
#include "widgets/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-09-16 00:05:06 +02:00
|
|
|
explicit EmotePopup(ColorScheme &, EmoteManager &);
|
2017-09-15 17:23:49 +02:00
|
|
|
|
|
|
|
void loadChannel(std::shared_ptr<Channel> channel);
|
2017-09-16 00:05:06 +02:00
|
|
|
|
|
|
|
private:
|
|
|
|
ChannelView *view;
|
|
|
|
EmoteManager &emoteManager;
|
2017-09-15 17:23:49 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|