]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - Constructor/activezone.h
-ahi borre lo que se me escapo
[z.facultad/75.42/plaqui.git] / Constructor / activezone.h
1 #ifndef _ACTIVEZONE_H_
2 #define _ACTIVEZONE_H_
3 #include <libglademm.h>
4 #include <gtkmm.h>
5 #include <gtkmm/viewport.h>
6 #include <iostream>
7 #include "workplace.h"
8
9 typedef struct {
10         int x,y,w,z;
11 }t_line;
12
13 class WorkPlace;
14
15 class ActiveZone:public Gtk::Viewport {
16         public:
17                 ActiveZone(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade);
18                 virtual ~ActiveZone();
19                 virtual bool on_button_press_event(GdkEventButton *e);
20                 virtual bool on_button_release_event(GdkEventButton *e);
21                 t_line temp;
22                 std::list<t_line> lista_lineas;
23                 WorkPlace *workplace;
24 };
25 #endif