]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - tests/GUI/item.h
Se corrigen typos.
[z.facultad/75.42/plaqui.git] / tests / GUI / item.h
1
2
3 #ifndef GTKMM_EXAMPLE_DRAWINGAREALINES_H
4 #define GTKMM_EXAMPLE_DRAWINGAREALINES_H
5
6 #include <gtkmm/drawingarea.h>
7 #include <gdkmm.h>
8
9 //Custom drawing area with modified expose_event.
10 class CItem:public Gtk::DrawingArea {
11 public:
12         CItem(const char *filename);
13         ~CItem();
14         virtual bool on_expose_event(GdkEventExpose* event);
15         Glib::RefPtr<Gdk::Pixbuf> get_image() { return image; }
16 private:
17         Glib::RefPtr<Gdk::Pixbuf> image;
18 };
19
20 #endif //GTKMM_EXAMPLE_DRAWINGAREALINES_H
21