diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-07 13:57:45 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-07 13:57:45 +0000 |
commit | 20aeb5af0abd50dc01db503d65897c7dfebf6467 (patch) | |
tree | 41ff627d236157a4de7fdf8d1ebc97e55fe1b433 /gtk2_ardour/time_info_box.h | |
parent | bb737997aea86f08ec16e6444f3666ff6a524be2 (diff) |
move CairoWidget into gtkmm2ext, add CairoPacker, made the time info box use CairoPacker, make the info status "bar" use CairoPacker
git-svn-id: svn://localhost/ardour2/branches/3.0@10933 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_info_box.h')
-rw-r--r-- | gtk2_ardour/time_info_box.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/time_info_box.h b/gtk2_ardour/time_info_box.h index 035cdb7e00..ac4cc98ea5 100644 --- a/gtk2_ardour/time_info_box.h +++ b/gtk2_ardour/time_info_box.h @@ -26,6 +26,8 @@ #include <gtkmm/label.h> #include <gtkmm/table.h> +#include "gtkmm2ext/cairo_packer.h" + #include "ardour/ardour.h" #include "ardour/session_handle.h" @@ -38,7 +40,7 @@ namespace ARDOUR { class AudioClock; -class TimeInfoBox : public Gtk::HBox, public ARDOUR::SessionHandlePtr +class TimeInfoBox : public CairoHPacker, public ARDOUR::SessionHandlePtr { public: TimeInfoBox (); @@ -46,9 +48,6 @@ class TimeInfoBox : public Gtk::HBox, public ARDOUR::SessionHandlePtr void set_session (ARDOUR::Session*); - protected: - bool on_expose_event (GdkEventExpose*); - private: Gtk::Table left; Gtk::Table right; |