summaryrefslogtreecommitdiffabout
path: root/src/dialogs.cc
Side-by-side diff
Diffstat (limited to 'src/dialogs.cc') (more/less context) (show whitespace changes)
-rw-r--r--src/dialogs.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/dialogs.cc b/src/dialogs.cc
new file mode 100644
index 0000000..efe0b36
--- a/dev/null
+++ b/src/dialogs.cc
@@ -0,0 +1,17 @@
+#include "dialogs.h"
+
+namespace napkin {
+ namespace gtk {
+
+ hypnoinfo_dialog_t::hypnoinfo_dialog_t(Gtk::Window& w)
+ : Gtk::Dialog("Sleepy information",w,true/*modal*/,true/*use separator*/)
+ {
+ Gtk::VBox *vb = get_vbox();
+ vb->set_spacing(2);
+ vb->add(w_hinfo);
+ vb->show_all();
+ }
+
+
+ }
+}