X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/46de693afcd74154ed8b4f6bf6e81221e18a0f97..421cf558f59e55ab31d7d11ca3bf64603fc9356d:/tests/GUI/dndwindow.h?ds=inline diff --git a/tests/GUI/dndwindow.h b/tests/GUI/dndwindow.h index 2f0d09c..eeda3e3 100644 --- a/tests/GUI/dndwindow.h +++ b/tests/GUI/dndwindow.h @@ -25,6 +25,7 @@ #include #include #include "item.h" +#include "workplace.h" class DnDWindow : public Gtk::Window { @@ -39,7 +40,10 @@ protected: virtual void on_y_drag_data_get(const Glib::RefPtr& context, GtkSelectionData* selection_data, guint info, guint time); virtual void on_codo_drag_data_get(const Glib::RefPtr& context, GtkSelectionData* selection_data, guint info, guint time); virtual void on_label_drop_drag_data_received(const Glib::RefPtr& context, int x, int y, GtkSelectionData* selection_data, guint info, guint time); - + // SeƱales para cambiar el icono cuando empieza el drag. + virtual void on_canio_drag_begin(const Glib::RefPtr& context); + virtual void on_y_drag_begin(const Glib::RefPtr& context); + virtual void on_codo_drag_begin(const Glib::RefPtr& context); void on_item_button_down(); //Member widgets: @@ -48,7 +52,7 @@ protected: Gtk::Button m_Button_Canio; Gtk::Button m_Button_Y; Gtk::Button m_Button_Codo; - Gtk::Fixed m_WorkPlace; + WorkPlace m_WorkPlace; std::list listaItems; };