mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
28 lines
534 B
C++
28 lines
534 B
C++
|
#pragma once
|
||
|
|
||
|
#include "channel.hpp"
|
||
|
#include "messages/message.hpp"
|
||
|
#include "widgets/basewindow.hpp"
|
||
|
|
||
|
namespace chatterino {
|
||
|
namespace widgets {
|
||
|
|
||
|
class ChannelView;
|
||
|
|
||
|
class NotificationPopup : public BaseWindow
|
||
|
{
|
||
|
public:
|
||
|
enum Location { TopLeft, TopRight, BottomLeft, BottomRight };
|
||
|
NotificationPopup();
|
||
|
|
||
|
void addMessage(messages::MessagePtr msg);
|
||
|
void updatePosition();
|
||
|
|
||
|
private:
|
||
|
ChannelView *channelView;
|
||
|
ChannelPtr channel;
|
||
|
};
|
||
|
|
||
|
} // namespace widgets
|
||
|
} // namespace chatterino
|