#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:
protected:
// / defino los elementos de la ventana.
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, ico_tanque;
std::list<Gtk::TargetEntry> listTargets;
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();
// señales para cambiar el icono.
virtual void on_canio_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context);