Commit 9ecde4ea authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

app/Makefile.am removed.

2001-05-08  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/gimpdnd.[ch]: removed.

	* app/widgets/Makefile.am
	* app/widgets/gimpdnd.[ch]: and moved here.

	* app/devices.c
	* app/docindex.c
	* app/interface.c
	* app/gui/about-dialog.c
	* app/gui/channels-dialog.c
	* app/gui/color-area.c
	* app/gui/color-select.c
	* app/gui/colormap-dialog.c
	* app/gui/gradient-editor.c
	* app/gui/indicator-area.c
	* app/gui/layers-dialog.c
	* app/gui/palette-editor.c
	* app/gui/palette-select.c
	* app/gui/toolbox.c
	* app/tools/gimpblendtool.c
	* app/tools/tool_manager.c
	* app/tools/tool_options_dialog.c: changed #includes accordingly.
parent c8242f63
2001-05-08 Michael Natterer <mitch@gimp.org>
* app/Makefile.am
* app/gimpdnd.[ch]: removed.
* app/widgets/Makefile.am
* app/widgets/gimpdnd.[ch]: and moved here.
* app/devices.c
* app/docindex.c
* app/interface.c
* app/gui/about-dialog.c
* app/gui/channels-dialog.c
* app/gui/color-area.c
* app/gui/color-select.c
* app/gui/colormap-dialog.c
* app/gui/gradient-editor.c
* app/gui/indicator-area.c
* app/gui/layers-dialog.c
* app/gui/palette-editor.c
* app/gui/palette-select.c
* app/gui/toolbox.c
* app/tools/gimpblendtool.c
* app/tools/tool_manager.c
* app/tools/tool_options_dialog.c: changed #includes accordingly.
2001-05-08 Michael Natterer <mitch@gimp.org>
* app/appenums.h: added ChannelType.
......
......@@ -27,8 +27,6 @@ gimp_SOURCES = \
##
colormaps.c \
colormaps.h \
cursorutil.c \
cursorutil.h \
devices.c \
devices.h \
dialog_handler.c \
......@@ -37,8 +35,6 @@ gimp_SOURCES = \
docindex.h \
errorconsole.c \
errorconsole.h \
gimpdnd.c \
gimpdnd.h \
gimpprogress.c \
gimpprogress.h \
gimpui.c \
......@@ -59,6 +55,11 @@ gimp_SOURCES = \
undo_history.c \
undo_history.h \
##
## stuff for widgets/
##
cursorutil.c \
cursorutil.h \
##
## display stuff
##
disp_callbacks.c \
......
......@@ -30,6 +30,8 @@
#include "paint-funcs/paint-funcs.h"
#include "widgets/gimpdnd.h"
#include "appenv.h"
#include "asupsample.h"
#include "cursorutil.h"
......@@ -39,7 +41,6 @@
#include "gimpimage.h"
#include "gimage_mask.h"
#include "gimpcontext.h"
#include "gimpdnd.h"
#include "gimpgradient.h"
#include "gimpprogress.h"
#include "pixel_region.h"
......
......@@ -32,6 +32,7 @@
#include "tools/gimptoolinfo.h"
#include "tools/tool_manager.h"
#include "widgets/gimpdnd.h"
#include "widgets/gimppreview.h"
#include "appenv.h"
......@@ -41,7 +42,6 @@
#include "gimpbrush.h"
#include "gimpcontext.h"
#include "gimpdatafactory.h"
#include "gimpdnd.h"
#include "gimpgradient.h"
#include "gimppattern.h"
#include "gimplist.h"
......
......@@ -35,11 +35,12 @@
#include "tools/gimptoolinfo.h"
#include "widgets/gimpdnd.h"
#include "about-dialog.h"
#include "appenv.h"
#include "authors.h"
#include "gimpdnd.h"
#include "gimphelp.h"
#include "libgimp/gimpintl.h"
......
......@@ -24,9 +24,10 @@
#include "apptypes.h"
#include "widgets/gimpdnd.h"
#include "disp_callbacks.h"
#include "gdisplay_ops.h"
#include "gimpdnd.h"
#include "gimpui.h"
#include "interface.h"
#include "gui/menus.h"
......
......@@ -24,9 +24,10 @@
#include "apptypes.h"
#include "widgets/gimpdnd.h"
#include "disp_callbacks.h"
#include "gdisplay_ops.h"
#include "gimpdnd.h"
#include "gimpui.h"
#include "interface.h"
#include "gui/menus.h"
......
......@@ -26,13 +26,14 @@
#include "apptypes.h"
#include "widgets/gimpdnd.h"
#include "gui/file-open-dialog.h"
#include "dialog_handler.h"
#include "docindex.h"
#include "gdisplay.h"
#include "gimpimage.h"
#include "gimpdnd.h"
#include "ops_buttons.h"
#include "libgimp/gimpenv.h"
......
This diff is collapsed.
/* The GIMP -- an image manipulation program
* Copyright (C) 1995-1997 Spencer Kimball and Peter Mattis
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __GIMP_DND_H__
#define __GIMP_DND_H__
enum
{
GIMP_DND_TYPE_URI_LIST,
GIMP_DND_TYPE_TEXT_PLAIN,
GIMP_DND_TYPE_NETSCAPE_URL,
GIMP_DND_TYPE_IMAGE,
GIMP_DND_TYPE_LAYER,
GIMP_DND_TYPE_CHANNEL,
GIMP_DND_TYPE_LAYER_MASK,
GIMP_DND_TYPE_COMPONENT,
GIMP_DND_TYPE_PATH,
GIMP_DND_TYPE_COLOR,
GIMP_DND_TYPE_BRUSH,
GIMP_DND_TYPE_PATTERN,
GIMP_DND_TYPE_GRADIENT,
GIMP_DND_TYPE_PALETTE,
GIMP_DND_TYPE_TOOL,
GIMP_DND_TYPE_DIALOG
};
#define GIMP_TARGET_URI_LIST \
{ "text/uri-list", 0, GIMP_DND_TYPE_URI_LIST }
#define GIMP_TARGET_TEXT_PLAIN \
{ "text/plain", 0, GIMP_DND_TYPE_TEXT_PLAIN }
#define GIMP_TARGET_NETSCAPE_URL \
{ "_NETSCAPE_URL", 0, GIMP_DND_TYPE_NETSCAPE_URL }
#define GIMP_TARGET_IMAGE \
{ "GIMP_IMAGE", GTK_TARGET_SAME_APP, GIMP_DND_TYPE_IMAGE }
#define GIMP_TARGET_LAYER \
{ "GIMP_LAYER", GTK_TARGET_SAME_APP, GIMP_DND_TYPE_LAYER }
#define GIMP_TARGET_CHANNEL \
{ "GIMP_CHANNEL", GTK_TARGET_SAME_APP, GIMP_DND_TYPE_CHANNEL }
#define GIMP_TARGET_LAYER_MASK \
{ "GIMP_LAYER_MASK", GTK_TARGET_SAME_APP, GIMP_DND_TYPE_LAYER_MASK }
#define GIMP_TARGET_COMPONENT \
{ "GIMP_COMPONENT", GTK_TARGET_SAME_APP, GIMP_DND_TYPE_COMPONENT }
#define GIMP_TARGET_PATH \
{ "GIMP_PATH", GTK_TARGET_SAME_APP, GIMP_DND_TYPE_PATH }
#define GIMP_TARGET_COLOR \
{ "application/x-color", 0, GIMP_DND_TYPE_COLOR }
#define GIMP_TARGET_BRUSH \
{ "GIMP_BRUSH", 0, GIMP_DND_TYPE_BRUSH }
#define GIMP_TARGET_PATTERN \
{ "GIMP_PATTERN", 0, GIMP_DND_TYPE_PATTERN }
#define GIMP_TARGET_GRADIENT \
{ "GIMP_GRADIENT", 0, GIMP_DND_TYPE_GRADIENT }
#define GIMP_TARGET_PALETTE \
{ "GIMP_PALETTE", 0, GIMP_DND_TYPE_PALETTE }
#define GIMP_TARGET_TOOL \
{ "GIMP_TOOL", GTK_TARGET_SAME_APP, GIMP_DND_TYPE_TOOL }
#define GIMP_TARGET_DIALOG \
{ "GIMP_DIALOG", GTK_TARGET_SAME_APP, GIMP_DND_TYPE_DIALOG }
/* file / url dnd functions */
typedef void (* GimpDndDropFileFunc) (GtkWidget *widget,
GList *files,
gpointer data);
void gimp_dnd_file_dest_set (GtkWidget *widget,
GimpDndDropFileFunc set_file_func,
gpointer data);
void gimp_dnd_file_dest_unset (GtkWidget *widget);
/* standard callback */
void gimp_dnd_open_files (GtkWidget *widget,
GList *files,
gpointer data);
/* color dnd functions */
typedef void (* GimpDndDropColorFunc) (GtkWidget *widget,
const GimpRGB *color,
gpointer data);
typedef void (* GimpDndDragColorFunc) (GtkWidget *widget,
GimpRGB *color,
gpointer data);
void gimp_dnd_color_source_set (GtkWidget *widget,
GimpDndDragColorFunc get_color_func,
gpointer data);
void gimp_dnd_color_dest_set (GtkWidget *widget,
GimpDndDropColorFunc set_color_func,
gpointer data);
void gimp_dnd_color_dest_unset (GtkWidget *widget);
/* GimpViewable (by GtkType) dnd functions */
typedef void (* GimpDndDropViewableFunc) (GtkWidget *widget,
GimpViewable *viewable,
gpointer data);
typedef GimpViewable * (* GimpDndDragViewableFunc) (GtkWidget *widget,
gpointer data);
void gimp_gtk_drag_source_set_by_type (GtkWidget *widget,
GdkModifierType start_button_mask,
GtkType type,
GdkDragAction actions);
void gimp_gtk_drag_dest_set_by_type (GtkWidget *widget,
GtkDestDefaults flags,
GtkType type,
GdkDragAction actions);
void gimp_dnd_viewable_source_set (GtkWidget *widget,
GtkType type,
GimpDndDragViewableFunc get_viewable_func,
gpointer data);
void gimp_dnd_viewable_source_unset (GtkWidget *widget,
GtkType type);
void gimp_dnd_viewable_dest_set (GtkWidget *widget,
GtkType type,
GimpDndDropViewableFunc set_viewable_func,
gpointer data);
void gimp_dnd_viewable_dest_unset (GtkWidget *widget,
GtkType type);
GimpViewable * gimp_dnd_get_drag_data (GtkWidget *widget);
/* OLD drawable dnd functions */
void gimp_dnd_set_drawable_preview_icon (GtkWidget *widget,
GdkDragContext *context,
GimpDrawable *drawable);
#endif /* __GIMP_DND_H__ */
......@@ -35,11 +35,12 @@
#include "tools/gimptoolinfo.h"
#include "widgets/gimpdnd.h"
#include "about-dialog.h"
#include "appenv.h"
#include "authors.h"
#include "gimpdnd.h"
#include "gimphelp.h"
#include "libgimp/gimpintl.h"
......
......@@ -30,11 +30,11 @@
#include "paint-funcs/paint-funcs.h"
#include "widgets/gimpcolorpanel.h"
#include "widgets/gimpdnd.h"
#include "channels-commands.h"
#include "channels-dialog.h"
#include "gdisplay.h"
#include "gimpdnd.h"
#include "gimpui.h"
#include "layers-dialog.h"
#include "lc_dialog.h"
......
......@@ -30,10 +30,11 @@
#include "apptypes.h"
#include "widgets/gimpdnd.h"
#include "color-area.h"
#include "color-notebook.h"
#include "gdisplay.h"
#include "gimpdnd.h"
#include "gimpcontext.h"
......
......@@ -31,9 +31,10 @@
#include "apptypes.h"
#include "widgets/gimpdnd.h"
#include "color-select.h"
#include "color-area.h"
#include "gimpdnd.h"
#include "colormaps.h"
#include "gimprc.h"
......
......@@ -31,8 +31,9 @@
#include "apptypes.h"
#include "widgets/gimpdnd.h"
#include "color-notebook.h"
#include "gimpdnd.h"
#include "image_render.h"
#include "dialog_handler.h"
#include "colormap-dialog.h"
......
......@@ -32,6 +32,7 @@
#include "tools/gimptoolinfo.h"
#include "tools/tool_manager.h"
#include "widgets/gimpdnd.h"
#include "widgets/gimppreview.h"
#include "appenv.h"
......@@ -41,7 +42,6 @@
#include "gimpbrush.h"
#include "gimpcontext.h"
#include "gimpdatafactory.h"
#include "gimpdnd.h"
#include "gimpgradient.h"
#include "gimppattern.h"
#include "gimplist.h"
......
......@@ -65,17 +65,17 @@
#include "apptypes.h"
#include "widgets/gimpdnd.h"
#include "color-notebook.h"
#include "gradient-editor.h"
#include "context_manager.h"
#include "cursorutil.h"
#include "datafiles.h"
#include "errors.h"
#include "gimpcontainer.h"
#include "gimpcontext.h"
#include "gimpdatafactory.h"
#include "gimpdnd.h"
#include "gimpgradient.h"
#include "gimplist.h"
#include "gimprc.h"
......
......@@ -29,10 +29,10 @@
#include "widgets/widgets-types.h"
#include "widgets/gimpdialogfactory.h"
#include "widgets/gimpdnd.h"
#include "widgets/gimppreview.h"
#include "dialogs.h"
#include "gimpdnd.h"
#include "indicator-area.h"
#include "gimpbrush.h"
......
......@@ -32,6 +32,7 @@
#include "tools/gimptoolinfo.h"
#include "tools/tool_manager.h"
#include "widgets/gimpdnd.h"
#include "widgets/gimppreview.h"
#include "appenv.h"
......@@ -41,7 +42,6 @@
#include "gimpbrush.h"
#include "gimpcontext.h"
#include "gimpdatafactory.h"
#include "gimpdnd.h"
#include "gimpgradient.h"
#include "gimppattern.h"
#include "gimplist.h"
......
......@@ -31,10 +31,11 @@
#include "paint-funcs/paint-funcs.h"
#include "widgets/gimpdnd.h"
#include "tools/paint_options.h"
#include "gdisplay.h"
#include "gimpdnd.h"
#include "layers-commands.h"
#include "layers-dialog.h"
#include "menus.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment