/*
 * Xournal++
 *
 * Toolbar drag and drop helpers
 *
 * @author Xournal++ Team
 * https://github.com/xournalpp/xournalpp
 *
 * @license GNU GPLv2 or later
 */

#pragma once

#include <gtk/gtk.h>

class ToolbarDragDropHelper
{
private:
	ToolbarDragDropHelper();
	virtual ~ToolbarDragDropHelper();

public:
	static void dragDestAddToolbar(GtkWidget* target);
	static void dragSourceAddToolbar(GtkWidget* widget);

	static GdkPixbuf* getImagePixbuf(GtkImage* image);

public:
	static GdkAtom atomToolItem;
	static GtkTargetEntry dropTargetEntry;
};
