blob: 595169de9204b7ba2c92e0a8b6d89ba043a05cab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include <gtkmm/overlay.h>
#include <gtkmm/revealer.h>
#include <gtkmm/label.h>
namespace dchat
{
class WindowNotification : public Gtk::Overlay
{
public:
WindowNotification();
void show(const Glib::ustring &text);
private:
Gtk::Revealer revealer;
Gtk::Label label;
sigc::connection hideTimer;
sigc::connection visibilityTimer;
};
}
|