diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/WindowNotification.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/WindowNotification.hpp b/include/WindowNotification.hpp new file mode 100644 index 0000000..87111de --- /dev/null +++ b/include/WindowNotification.hpp @@ -0,0 +1,19 @@ +#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; + }; +}
\ No newline at end of file |