#include <gtkmm/scrolledwindow.h>
#include "workplace.h"
#include "item.h"
-#include "codo.h"
-#include "canio.h"
-#include "y.h"
-
+#include "splitter.h"
+#include "conduct.h"
+#include "union.h"
+#include "cistern.h"
class Constructor : public Gtk::Window {
public:
virtual ~Constructor();
protected:
// / defino los elementos de la ventana.
- Gtk::Button *btn_canio, *btn_codo, *btn_y;
+ Gtk::Button *btn_canio, *btn_codo, *btn_y, *btn_tanque;
+ Gtk::ImageMenuItem *main_menu_quit;
WorkPlace *workplace;
- Glib::RefPtr<Gdk::Pixbuf> ico_canio, ico_y, ico_codo;
+ Glib::RefPtr<Gdk::Pixbuf> ico_canio, ico_y, ico_codo, ico_tanque;
std::list<Gtk::TargetEntry> listTargets;
Glib::RefPtr<Gdk::Pixbuf> ico_last;
std::list<CItem *> listaItems;
virtual void on_btn_canio_drag_get(const Glib::RefPtr<Gdk::DragContext>& context, GtkSelectionData* selection_data, guint info, guint time);
virtual void on_btn_y_drag_get(const Glib::RefPtr<Gdk::DragContext>& context, GtkSelectionData* selection_data, guint info, guint time);
virtual void on_btn_codo_drag_get(const Glib::RefPtr<Gdk::DragContext>& context, GtkSelectionData* selection_data, guint info, guint time);
-
+ virtual void on_btn_tanque_drag_get(const Glib::RefPtr<Gdk::DragContext>& context, GtkSelectionData* selection_data, guint info, guint time);
+ virtual void on_main_menu_quit(void);
+
// señales para cambiar el icono.
virtual void on_canio_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context);
virtual void on_y_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context);
virtual void on_codo_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context);
+ virtual void on_tanque_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context);
virtual void on_item_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context, CItem *);
virtual void on_item_drag_data_get(const Glib::RefPtr<Gdk::DragContext>& context, GtkSelectionData* selection_data, guint info, guint time);