summaryrefslogtreecommitdiffabout
path: root/src/widgets.h
authorMichael Krelin <hacker@klever.net>2008-04-05 11:17:33 (UTC)
committer Michael Krelin <hacker@klever.net>2008-04-05 11:17:33 (UTC)
commit04fb190243442e83349f129b523ab747e58100bf (patch) (side-by-side diff)
treeddc28357fbe78b07fd3a5e0aa8088130bf305829 /src/widgets.h
downloadnapkin-04fb190243442e83349f129b523ab747e58100bf.zip
napkin-04fb190243442e83349f129b523ab747e58100bf.tar.gz
napkin-04fb190243442e83349f129b523ab747e58100bf.tar.bz2
Initial commit into public repository0.0
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'src/widgets.h') (more/less context) (show whitespace changes)
-rw-r--r--src/widgets.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/widgets.h b/src/widgets.h
new file mode 100644
index 0000000..99936ff
--- a/dev/null
+++ b/src/widgets.h
@@ -0,0 +1,33 @@
+#ifndef __N_WIDGETS_H
+#define __N_WIDGETS_H
+
+#include <gtkmm/box.h>
+#include <gtkmm/label.h>
+#include <gtkmm/separator.h>
+#include <gtkmm/table.h>
+#include "sleep_timeline.h"
+
+namespace napkin {
+ namespace gtk {
+
+ class hypnoinfo_t : public Gtk::VBox {
+ public:
+ Gtk::Label l_date;
+ Gtk::HSeparator l_hseparator;
+ Gtk::Table w_upper;
+ Gtk::Label lc_tobed, lc_timeline, lc_alarm, lc_window;
+ Gtk::Label lf_tobed, lf_alarm, lf_window;
+ sleep_timeline_t st_timeline;
+ Gtk::Label lc_almost_awakes;
+ Gtk::Label lf_almost_awakes;
+ Gtk::Label l_data_a;
+
+ hypnoinfo_t();
+
+ void update_data(const hypnodata_ptr_t& hd);
+ };
+
+ }
+}
+
+#endif /* __N_WIDGETS_H */