a bunch of stuff to make tab/window switching work better, and provide Alt-m to toggl...
[ardour.git] / libs / gtkmm2ext / gtkmm2ext / cairo_packer.h
index f6d7753570a72e68cc032ebb0c423a8c3e83cd14..74f61308a7a54f48b70f5f1eccb5530c5bab9781 100644 (file)
@@ -3,32 +3,42 @@
 
 #include <gtkmm/box.h>
 
-class CairoPacker 
+#include "gtkmm2ext/visibility.h"
+
+class LIBGTKMM2EXT_API CairoPacker
 {
   public:
        CairoPacker () {}
        virtual ~CairoPacker () {}
 
+        virtual Gdk::Color get_bg () const = 0;
+
   protected:
        virtual void draw_background (Gtk::Widget&, GdkEventExpose*);
 };
 
-class CairoHPacker : public CairoPacker, public Gtk::HBox
+class LIBGTKMM2EXT_API CairoHPacker : public CairoPacker, public Gtk::HBox
 {
   public:
        CairoHPacker ();
        ~CairoHPacker() {}
 
+        Gdk::Color get_bg () const;
+
        bool on_expose_event (GdkEventExpose*);
+        void on_realize ();
 };
 
-class CairoVPacker : public CairoPacker, public Gtk::VBox
+class LIBGTKMM2EXT_API CairoVPacker : public CairoPacker, public Gtk::VBox
 {
   public:
        CairoVPacker ();
        ~CairoVPacker () {}
 
+        Gdk::Color get_bg () const;
+
        bool on_expose_event (GdkEventExpose*);
+        void on_realize ();
 };
 
 #endif /* __gtkmm2ext_cairo_packer_h__ */