#include <gtkmm/button.h>
#include <gtkmm/fixed.h>
#include "item.h"
+#include "workplace.h"
class DnDWindow : public Gtk::Window
{
virtual void on_y_drag_data_get(const Glib::RefPtr<Gdk::DragContext>& context, GtkSelectionData* selection_data, guint info, guint time);
virtual void on_codo_drag_data_get(const Glib::RefPtr<Gdk::DragContext>& context, GtkSelectionData* selection_data, guint info, guint time);
virtual void on_label_drop_drag_data_received(const Glib::RefPtr<Gdk::DragContext>& 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<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);
void on_item_button_down();
//Member widgets:
Gtk::Button m_Button_Canio;
Gtk::Button m_Button_Y;
Gtk::Button m_Button_Codo;
- Gtk::Fixed m_WorkPlace;
+ WorkPlace m_WorkPlace;
std::list<CItem *> listaItems;
};