]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - Constructor/workplace.h
67ba45ec2fac202e42f50196d16700d612a4300d
[z.facultad/75.42/plaqui.git] / Constructor / workplace.h
1
2 #ifndef _H_WORKPLACE_
3 #define _H_WORKPLACE_
4
5 #include <gtkmm/fixed.h>
6 #include <gdkmm/gc.h>
7 #include <gtkmm.h>
8 #include <libglademm.h>
9 #include "item.h"
10
11 typedef struct {
12         int x,y,w,z;
13 }t_line;
14
15 class CItem;
16
17 class WorkPlace:public Gtk::Fixed {
18         public:
19                 WorkPlace(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade);
20                 virtual ~WorkPlace() {}
21                 virtual bool on_expose_event(GdkEventExpose *);
22                 virtual bool on_button_press_event(GdkEventButton *event);
23                 virtual bool on_button_release_event(GdkEventButton *event);
24                 void delete_item(int);  
25                 std::list<CItem *> *listaItems;
26                 std::list<t_line> lista_lineas;
27                 t_line temp;
28 };
29
30 #endif