-
#ifndef _H_WORKPLACE_
#define _H_WORKPLACE_
#include <gdkmm/gc.h>
#include <gtkmm.h>
#include <libglademm.h>
-#include "item.h"
class CItem;
+typedef struct {
+ CItem *logic, *store;
+}t_line;
+
class WorkPlace:public Gtk::Fixed {
-public:
- WorkPlace(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade);
- virtual ~WorkPlace() {}
- virtual bool on_expose_event(GdkEventExpose *);
- virtual bool on_button_pressed(GdkEventButton *);
- void delete_item(int);
-
- std::list<CItem *> *listaItems;
+ public:
+ WorkPlace(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade);
+ virtual ~WorkPlace();
+ virtual bool on_expose_event(GdkEventExpose *event);
+ void delete_item(int _id);
+ CItem *get_logic_item(int _id);
+ std::list<CItem *> *listaItems, *lista_logic_Items;
+ std::list<t_line> lista_lineas;
};
#endif