]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - Constructor/include/workplace.h
- Se agrega el metodo Model::Simulator::set_open() para abrir y cerrar bombas y
[z.facultad/75.42/plaqui.git] / Constructor / include / workplace.h
1 #ifndef _H_WORKPLACE_
2 #define _H_WORKPLACE_
3
4 #include <gtkmm/fixed.h>
5 #include <gdkmm/gc.h>
6 #include <gtkmm.h>
7 #include <libglademm.h>
8
9 class CItem;
10
11 typedef struct {
12         CItem *logic, *store;
13 }t_line;
14
15 class WorkPlace:public Gtk::Fixed {
16         public:
17                 WorkPlace(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade);
18                 virtual ~WorkPlace();
19                 virtual bool on_expose_event(GdkEventExpose *event);
20                 void delete_item(int _id);
21                 void delete_line(int _id);      
22                 CItem *get_logic_item(int _id);
23                 std::list<CItem *> *listaItems, *lista_logic_Items;
24                 std::list<t_line> lista_lineas;
25                 static int pointed;
26 };
27
28 #endif