mirror-chatterino2/src/widgets/dialogs/EmotePopup.hpp

27 lines
463 B
C++
Raw Normal View History

2017-09-15 17:23:49 +02:00
#pragma once
2018-06-26 15:33:51 +02:00
#include "common/Channel.hpp"
2018-06-26 14:09:39 +02:00
#include "widgets/BaseWindow.hpp"
#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 {
class EmotePopup : public BaseWindow
2017-09-15 17:23:49 +02:00
{
public:
EmotePopup();
2017-09-15 17:23:49 +02:00
void loadChannel(ChannelPtr channel);
2017-12-19 03:18:00 +01:00
void loadEmojis();
pajlada::Signals::Signal<Link> linkClicked;
2018-01-24 20:58:53 +01: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 chatterino