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"
|
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-09-17 02:13:57 +02:00
|
|
|
explicit EmotePopup(ColorScheme &, EmoteManager &, WindowManager &);
|
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
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|