X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/46de693afcd74154ed8b4f6bf6e81221e18a0f97..d11e7ce4ce8230e83b8c79c41b03cd797d475335:/tests/GUI/dndwindow.h?ds=inline diff --git a/tests/GUI/dndwindow.h b/tests/GUI/dndwindow.h index 2f0d09c..8e6fa6b 100644 --- a/tests/GUI/dndwindow.h +++ b/tests/GUI/dndwindow.h @@ -25,6 +25,8 @@ #include #include #include "item.h" +#include "workplace.h" +#include class DnDWindow : public Gtk::Window { @@ -39,7 +41,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,8 +53,9 @@ 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; + Gtk::ScrolledWindow scroll; }; #endif // GTKMM_EXAMPLE_DNDWINDOW_H