X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/12a41ca6b41a3d98e9ff6d4cc7de31a9ec537472..1a58ff524a145fed39424b8fb61116f8050a684a:/tests/GUI/dndwindow.h?ds=sidebyside diff --git a/tests/GUI/dndwindow.h b/tests/GUI/dndwindow.h index 8e6fa6b..2ab5843 100644 --- a/tests/GUI/dndwindow.h +++ b/tests/GUI/dndwindow.h @@ -46,6 +46,17 @@ protected: virtual void on_y_drag_begin(const Glib::RefPtr& context); virtual void on_codo_drag_begin(const Glib::RefPtr& context); + virtual void on_item_drag_begin(const Glib::RefPtr& context, CItem *); + virtual void on_item_drag_data_get(const Glib::RefPtr& context, GtkSelectionData* selection_data, guint info, guint time); + + /* Lista de tipos de datos para el drag&drop */ + std::list listTargets; + + // Iconos para Drag&Drop desde la barra + Glib::RefPtr ico_canio, ico_y, ico_codo; + // Icono para Drag&Drop de items + Glib::RefPtr ico_last; + void on_item_button_down(); //Member widgets: Gtk::HBox m_HBox;