blob: f6d7753570a72e68cc032ebb0c423a8c3e83cd14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef __gtkmm2ext_cairo_packer_h__
#define __gtkmm2ext_cairo_packer_h__
#include <gtkmm/box.h>
class CairoPacker
{
public:
CairoPacker () {}
virtual ~CairoPacker () {}
protected:
virtual void draw_background (Gtk::Widget&, GdkEventExpose*);
};
class CairoHPacker : public CairoPacker, public Gtk::HBox
{
public:
CairoHPacker ();
~CairoHPacker() {}
bool on_expose_event (GdkEventExpose*);
};
class CairoVPacker : public CairoPacker, public Gtk::VBox
{
public:
CairoVPacker ();
~CairoVPacker () {}
bool on_expose_event (GdkEventExpose*);
};
#endif /* __gtkmm2ext_cairo_packer_h__ */
|