Last-minute cleanup:

2000-12-16  Sven Neumann  <sven@gimp.org>

	Last-minute cleanup:

	* app/gimpdrawableF.h
	* app/gimphistogramF.h
	* app/gimpimageF.h
	* app/gimplistF.h
	* app/gimplutF.h
	* app/gimpobjectF.h
	* app/gimpsetF.h
	* app/layerF.h
	* app/parasitelistF.h: removed these files

	* app/Makefile.am
	* tools/pdbgen/Makefile.am: changed accordingly

	* app/[almost every file]: include cleanup
This commit is contained in:
Sven Neumann 2000-12-16 21:37:03 +00:00 committed by Sven Neumann
parent 9bc546c1ad
commit dfa2bed505
610 changed files with 2468 additions and 544 deletions

View File

@ -1,3 +1,22 @@
2000-12-16 Sven Neumann <sven@gimp.org>
Last-minute cleanup:
* app/gimpdrawableF.h
* app/gimphistogramF.h
* app/gimpimageF.h
* app/gimplistF.h
* app/gimplutF.h
* app/gimpobjectF.h
* app/gimpsetF.h
* app/layerF.h
* app/parasitelistF.h: removed these files
* app/Makefile.am
* tools/pdbgen/Makefile.am: changed accordingly
* app/[almost every file]: include cleanup
2000-12-16 Seth Burgess <sjburges@gimp.org>
* plug-ins/common/colortoalpha.c: Change to accecpt RGB input

View File

@ -8,21 +8,17 @@ noinst_LIBRARIES = libgimpim.a
libgimpim_a_SOURCES = \
gimpdrawable.c \
gimpdrawable.h \
gimpdrawableF.h \
gimpdrawableP.h \
gimpimage.c \
gimpimage.h \
gimpimageF.h \
gimpimageP.h \
gimpobject.c \
gimpobject.h \
gimpobjectF.h \
gimpobjectP.h \
gimppreviewcache.h \
gimppreviewcache.c \
gimpset.c \
gimpset.h \
gimpsetF.h \
gimpsetP.h \
gimpsignal.c \
gimpsignal.h
@ -184,7 +180,6 @@ gimp_SOURCES = \
gimpbrushgenerated.h \
gimpbrushlist.c \
gimpbrushlist.h \
gimpbrushlistF.h \
gimpbrushlistP.h \
gimpbrushpipe.c \
gimpbrushpipe.h \
@ -200,14 +195,11 @@ gimp_SOURCES = \
gimphistogram.c \
gimphistogram.h \
gimphistogramP.h \
gimphistogramF.h \
gimplist.c \
gimplist.h \
gimplistF.h \
gimplistP.h \
gimplut.c \
gimplut.h \
gimplutF.h \
gimplutP.h \
gimpparasite.c \
gimpparasite.h \
@ -270,7 +262,6 @@ gimp_SOURCES = \
iscissors.h \
layer.c \
layer.h \
layerF.h \
layer_pvt.h \
layer_cmds.c \
layer_select.c \
@ -321,7 +312,6 @@ gimp_SOURCES = \
parasite_cmds.c \
parasitelist.c \
parasitelist.h \
parasitelistF.h \
parasitelistP.h \
path.c \
path.h \

View File

@ -26,6 +26,8 @@
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "apptypes.h"
#include "about_dialog.h"
#include "appenv.h"
#include "authors.h"

View File

@ -15,8 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "about_dialog.h"
#include "app_procs.h"

View File

@ -15,10 +15,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __COMMANDS_H__
#define __COMMANDS_H__
#include "gtk/gtk.h"
void file_new_cmd_callback (GtkWidget *, gpointer, guint);
void file_open_cmd_callback (GtkWidget *, gpointer);

View File

@ -77,6 +77,8 @@
#include <sys/shm.h>
#endif
#include "apptypes.h"
#include "app_procs.h"
#include "appenv.h"
#include "brush_select.h" /* Need for closing dialogs */

View File

@ -18,12 +18,14 @@
#include "config.h"
#include <glib.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "libgimp/gimpintl.h"
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "channel.h"
#include "color_panel.h"
@ -37,6 +39,8 @@
#include "qmask.h"
#include "undo.h"
#include "libgimp/gimpintl.h"
struct _EditQmaskOptions
{

View File

@ -18,12 +18,14 @@
#include "config.h"
#include <glib.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "libgimp/gimpintl.h"
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "channel.h"
#include "color_panel.h"
@ -37,6 +39,8 @@
#include "qmask.h"
#include "undo.h"
#include "libgimp/gimpintl.h"
struct _EditQmaskOptions
{

View File

@ -15,8 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "airbrush.h"
#include "drawable.h"

View File

@ -41,6 +41,8 @@
#include "libgimp/gimpfeatures.h"
#include "libgimp/gimpenv.h"
#include "apptypes.h"
#include "appenv.h"
#include "app_procs.h"
#include "batch.h"

View File

@ -15,12 +15,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __APPENV_H__
#define __APPENV_H__
#include <gtk/gtk.h>
#include "gimpsetF.h"
typedef enum
{
@ -46,4 +44,7 @@ extern MessageHandlerType message_handler;
gchar * quote_spaces (gchar *string);
#endif
#endif /* __APPENV_H__ */

View File

@ -140,6 +140,10 @@ typedef struct _GimpChannelClass GimpChannelClass;
typedef GimpChannel Channel; /* convenience */
typedef struct _GDisplay GDisplay;
typedef struct _GimpDrawable GimpDrawable;
typedef struct _GimpLayer GimpLayer;
typedef struct _GimpLayerClass GimpLayerClass;
typedef struct _GimpLayerMask GimpLayerMask;
@ -148,10 +152,23 @@ typedef struct _GimpLayerMaskClass GimpLayerMaskClass;
typedef GimpLayer Layer; /* convenience */
typedef GimpLayerMask LayerMask; /* convenience */
typedef struct _GimpImage GimpImage;
typedef struct _GimpSet GimpSet;
typedef struct _GimpList GimpList;
typedef struct _Guide Guide;
typedef guint32 Tattoo;
typedef struct _paint_core PaintCore;
typedef struct _GimpBrush GimpBrush;
typedef struct _GimpBrushClass GimpBrushClass;
typedef struct _GimpBrushList GimpBrushList;
typedef struct _GimpObject GimpObject;
typedef struct _GimpHistogram GimpHistogram;
typedef struct _GimpLut GimpLut;
typedef struct _layer_undo LayerUndo;
@ -163,4 +180,7 @@ typedef struct _PlugIn PlugIn;
typedef struct _PlugInDef PlugInDef;
typedef struct _PlugInProcDef PlugInProcDef;
typedef struct _ParasiteList ParasiteList;
#endif /* __APPTYPES_H__ */

View File

@ -28,10 +28,15 @@
* POV-Ray team. Any bugs are my responsibility, not theirs.
*/
#include "config.h"
#include <math.h>
#include <stdlib.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "asupsample.h"

View File

@ -15,7 +15,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <string.h>
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "errors.h"
#include "boundary.h"

View File

@ -15,6 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "color_balance.h"
#include "color_transfer.h"
@ -23,7 +30,6 @@
#include "gimpui.h"
#include "image_map.h"
#include "config.h"
#include "libgimp/gimpintl.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpcolorspace.h"

View File

@ -15,12 +15,11 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __COLOR_BALANCE_H__
#define __COLOR_BALANCE_H__
#include <gtk/gtk.h>
#include "gimpdrawableF.h"
#include "image_map.h"
#include "tools.h"
@ -68,4 +67,5 @@ void color_balance (PixelRegion *srcPR,
void color_balance_create_lookup_tables (ColorBalanceDialog *cbd);
#endif /* __COLOR_BALANCE_H__ */

View File

@ -15,10 +15,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdio.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "cursorutil.h"
#include "drawable.h"

View File

@ -15,10 +15,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __CURVES_H__
#define __CURVES_H__
#include <gtk/gtk.h>
#include "image_map.h"
#include "lut_funcs.h"
#include "tools.h"
@ -26,6 +26,7 @@
#define SMOOTH 0
#define GFREE 1
typedef struct _CurvesDialog CurvesDialog;
struct _CurvesDialog

View File

@ -23,7 +23,7 @@
#include "pixel_region.h"
#include "gimpdrawable.h"
#include "gimphistogramF.h"
#define HISTOGRAM_VALUE 0
#define HISTOGRAM_RED 1

View File

@ -18,9 +18,17 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdio.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "gimplutP.h"
#include "gimplut.h"
#include <stdio.h>
GimpLut *
gimp_lut_new ()

View File

@ -21,9 +21,9 @@
#ifndef __GIMP_LUT_H__
#define __GIMP_LUT_H__
#include "gimplutF.h"
#include "pixel_region.h"
/* TODO: the GimpLutFunc should really be passed the ColorModel of the region,
not just the number of channels */
/* GimpLutFuncs should assume that the input and output gamma are 1.0

View File

@ -17,6 +17,10 @@
*/
#include "config.h"
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "drawable.h"
#include "gimage_mask.h"

View File

@ -15,14 +15,14 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __HUE_SATURATION_H__
#define __HUE_SATURATION_H__
#include <gtk/gtk.h>
#include "gimpdrawableF.h"
#include "image_map.h"
#include "tools.h"
typedef enum
{
ALL_HUES,

View File

@ -21,6 +21,10 @@
#include <stdio.h>
#include <glib.h>
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "gimplut.h"
#include "gimphistogram.h"

View File

@ -19,8 +19,6 @@
#ifndef __LUT_FUNCS_H__
#define __LUT_FUNCS_H__
#include "gimplutF.h"
#include "gimphistogramF.h"
typedef enum
{

View File

@ -16,9 +16,15 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdarg.h>
#include <string.h>
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "gimprc.h"
#include "pixel_region.h"

View File

@ -15,6 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <glib.h>
@ -33,6 +34,8 @@
#include <process.h> /* For _getpid() */
#endif
#include "apptypes.h"
#include "appenv.h"
#include "drawable.h"
#include "gdisplay.h"

View File

@ -15,8 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "drawable.h"
#include "gdisplay.h"

View File

@ -15,15 +15,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __THRESHOLD_H__
#define __THRESHOLD_H__
#include <gtk/gtk.h>
#include "gimpdrawableF.h"
#include "image_map.h"
#include "histogramwidget.h"
#include "tools.h"
typedef struct _ThresholdDialog ThresholdDialog;
struct _ThresholdDialog
@ -55,4 +55,5 @@ void threshold_2 (void *data,
PixelRegion *srcPR,
PixelRegion *destPR);
#endif /* __THRESHOLD_H__ */

View File

@ -15,6 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <ctype.h>
@ -26,6 +27,10 @@
#include <unistd.h>
#endif
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "app_procs.h"
#include "batch.h"

View File

@ -15,10 +15,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "cursorutil.h"
#include "draw_core.h"

View File

@ -15,10 +15,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdlib.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "asupsample.h"
#include "blend.h"

View File

@ -18,8 +18,6 @@
#ifndef __BLEND_H__
#define __BLEND_H__
#include "gimpimageF.h"
#include "gimpdrawableF.h"
#include "gimpprogress.h"
#include "tools.h"

View File

@ -21,16 +21,22 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "blob.h"
#include <glib.h>
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "blob.h"
#include "libgimp/gimpmath.h"
static Blob *
blob_new (int y, int height)
{

View File

@ -15,7 +15,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <string.h>
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "errors.h"
#include "boundary.h"

View File

@ -15,6 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "brightness_contrast.h"
#include "drawable.h"
@ -24,7 +31,6 @@
#include "image_map.h"
#include "lut_funcs.h"
#include "config.h"
#include "libgimp/gimpintl.h"
#define SLIDER_WIDTH 200

View File

@ -22,6 +22,10 @@
#include <string.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "gimpbrushgenerated.h"
#include "brush_edit.h"

View File

@ -15,8 +15,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "brush_scale.h"
#include "brush_edit.h"

View File

@ -15,13 +15,14 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __BRUSH_SELECT_H__
#define __BRUSH_SELECT_H__
#include <gtk/gtk.h>
#include "gimpbrush.h"
typedef struct _BrushSelect BrushSelect;
struct _BrushSelect

View File

@ -15,10 +15,14 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "apptypes.h"
#include "appenv.h"
#include "bucket_fill.h"
#include "cursorutil.h"

View File

@ -15,13 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __BUCKET_FILL_H__
#define __BUCKET_FILL_H__
#include "gimpimageF.h"
#include "gimpdrawableF.h"
#include "tools.h"
typedef enum
{
FG_BUCKET_FILL,
@ -51,4 +51,5 @@ void bucket_fill_region (BucketFillMode fill_mode,
Tool * tools_new_bucket_fill (void);
void tools_free_bucket_fill (Tool *tool);
#endif /* __BUCKET_FILL_H__ */

View File

@ -15,10 +15,14 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "apptypes.h"
#include "appenv.h"
#include "boundary.h"
#include "by_color_select.h"

View File

@ -21,6 +21,10 @@
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "channel.h"
#include "drawable.h"

View File

@ -15,6 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __CHANNEL_H__
#define __CHANNEL_H__
@ -23,7 +24,7 @@
#include "boundary.h"
#include "temp_buf.h"
#include "tile_manager.h"
#include "gimpimageF.h"
/* OPERATIONS */

View File

@ -15,11 +15,17 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "apptypes.h"
#include "channel_ops.h"
#include "cursorutil.h"
#include "drawable.h"

View File

@ -15,11 +15,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __CHANNEL_OPS_H__
#define __CHANNEL_OPS_H__
#include "gimpimageF.h"
#include "gimpdrawableF.h"
typedef enum
{
@ -40,5 +39,6 @@ void offset (GimpImage *gimage,
GimpImage * duplicate (GimpImage *gimage);
#endif /* __CHANNEL_OPS_H__ */

View File

@ -15,10 +15,14 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "apptypes.h"
#include "appenv.h"
#include "channels_dialog.h"
#include "color_panel.h"

View File

@ -15,11 +15,16 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "drawable.h"
#include "gdisplay.h"

View File

@ -16,6 +16,16 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "color_area.h"
#include "color_notebook.h"
@ -23,11 +33,7 @@
#include "gdisplay_color.h"
#include "gimpcontext.h"
#include "gimpdnd.h"
#include "config.h"
#ifdef HAVE_STRING_H
#include <string.h>
#endif
typedef enum
{

View File

@ -18,10 +18,10 @@
#ifndef __COLOR_AREA_H__
#define __COLOR_AREA_H__
#include <gtk/gtk.h>
#include "gdisplayF.h"
#define FOREGROUND 0
#define BACKGROUND 1

View File

@ -15,6 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "color_balance.h"
#include "color_transfer.h"
@ -23,7 +30,6 @@
#include "gimpui.h"
#include "image_map.h"
#include "config.h"
#include "libgimp/gimpintl.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpcolorspace.h"

View File

@ -15,12 +15,11 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __COLOR_BALANCE_H__
#define __COLOR_BALANCE_H__
#include <gtk/gtk.h>
#include "gimpdrawableF.h"
#include "image_map.h"
#include "tools.h"
@ -68,4 +67,5 @@ void color_balance (PixelRegion *srcPR,
void color_balance_create_lookup_tables (ColorBalanceDialog *cbd);
#endif /* __COLOR_BALANCE_H__ */

View File

@ -22,6 +22,7 @@
#include "config.h"
#include <gmodule.h>
#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -19,7 +19,6 @@
#ifndef __COLOR_NOTEBOOK_H__
#define __COLOR_NOTEBOOK_H__
#include <gtk/gtk.h>
typedef enum
{

View File

@ -15,6 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "color_panel.h"
#include "color_notebook.h"

View File

@ -15,6 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "color_panel.h"
#include "color_picker.h"
@ -28,7 +35,6 @@
#include "tools.h"
#include "gimprc.h"
#include "config.h"
#include "libgimp/gimpintl.h"
/* maximum information buffer size */

View File

@ -15,13 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __COLOR_PICKER_H__
#define __COLOR_PICKER_H__
#include "gimpimageF.h"
#include "gimpdrawableF.h"
#include "tools.h"
gboolean pick_color (GimpImage *gimage,
GimpDrawable *drawable,
gint x,
@ -36,4 +36,5 @@ void tools_free_color_picker (Tool *tool);
extern gint col_value[5];
#endif /* __COLOR_PICKER_H__ */

View File

@ -15,13 +15,17 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "apptypes.h"
#include "appenv.h"
#include "color_select.h"
#include "colormaps.h"

View File

@ -15,8 +15,16 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "libgimp/gimpmath.h"
#include "color_transfer.h"

View File

@ -1,5 +1,30 @@
/* The GIMP -- an image manipulation program
* Copyright (C) 1995 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.
*/
#include "config.h"
#include <gtk/gtk.h>
#include "apptypes.h"
#include <colormap_dialog.p.h>
GtkType _gimp_colormap_dialog_type;
static void gimp_colormap_dialog_class_init (GimpColormapDialogClass* klass);
static void gimp_colormap_dialog_init (GimpColormapDialog* colormap_dialog);

View File

@ -1,12 +1,30 @@
/* The GIMP -- an image manipulation program
* Copyright (C) 1995 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 _g_gimp_colormap_dialog_funcs
#define _g_gimp_colormap_dialog_funcs
#include <gtk/gtkdialog.h>
#include <colormap_dialog.t.h>
#include <gimpset.h>
#include <gimpimage.h>
#include <glib.h>
GimpColormapDialog* gimp_colormap_dialog_create (
GimpSet* context);
GimpSet* context);
GimpImage* gimp_colormap_dialog_image (
const GimpColormapDialog* colormap_dialog);
gint gimp_colormap_dialog_col_index (
@ -17,4 +35,5 @@ void gimp_colormap_dialog_connect_selected (
GimpColormapDialogHandler_selected handler,
gpointer user_data,
GimpColormapDialog* colormap_dialog);
#endif /* _g_gimp_colormap_dialog_funcs */

View File

@ -15,8 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "about_dialog.h"
#include "app_procs.h"

View File

@ -15,10 +15,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __COMMANDS_H__
#define __COMMANDS_H__
#include "gtk/gtk.h"
void file_new_cmd_callback (GtkWidget *, gpointer, guint);
void file_open_cmd_callback (GtkWidget *, gpointer);

View File

@ -15,6 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "cursorutil.h"
#include "context_manager.h"

View File

@ -89,6 +89,10 @@
#include <stdio.h>
#include <string.h>
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "brightness_contrast.h"
#include "color_balance.h"

View File

@ -15,14 +15,14 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __CONVERT_H__
#define __CONVERT_H__
#include "apptypes.h"
#include "procedural_db.h"
#include "gimpimageF.h"
#include "palette_entries.h"
/* adam's extra palette stuff */
typedef enum
{
@ -61,4 +61,5 @@ void convert_image (GimpImage *,
extern PaletteEntries *theCustomPalette;
#endif /* __CONVERT_H__ */

View File

@ -15,10 +15,14 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "apptypes.h"
#include "appenv.h"
#include "drawable.h"
#include "convolve.h"

View File

@ -15,7 +15,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdlib.h>
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "drawable.h"
#include "image_new.h"
@ -30,7 +38,6 @@
#include "tools.h"
#include "undo.h"
#include "config.h"
#include "libgimp/gimpintl.h"
#include "tile_manager_pvt.h"

View File

@ -17,12 +17,15 @@
#include "config.h"
#include <glib.h>
#include <gtk/gtk.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "apptypes.h"
#include "app_procs.h"
#include "parasitelist.h"
#include "gimpparasite.h"

View File

@ -15,10 +15,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <gtk/gtk.h>
#include "gimpbrush.h"
#include "gimpbrushlist.h"
#include "gimpsignal.h"

View File

@ -15,10 +15,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <gtk/gtk.h>
#include "gimpbrush.h"
#include "gimpbrushlist.h"
#include "gimpsignal.h"

View File

@ -29,6 +29,8 @@
#include "libgimp/gimpvector.h"
typedef struct _GimpBrushClass GimpBrushClass;
struct _GimpBrush
{
GimpObject gobject;

View File

@ -27,6 +27,10 @@
#include <unistd.h>
#endif
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "gimpbrushgenerated.h"
#include "paint_core.h"

View File

@ -27,6 +27,10 @@
#include <unistd.h>
#endif
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "gimpbrushgenerated.h"
#include "paint_core.h"

View File

@ -27,6 +27,10 @@
#include <unistd.h>
#endif
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "gimpbrushgenerated.h"
#include "paint_core.h"

View File

@ -24,6 +24,8 @@
#include <string.h>
#include <ctype.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "brush_header.h"

View File

@ -24,6 +24,8 @@
#include <string.h>
#include <ctype.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "brush_header.h"

View File

@ -21,6 +21,10 @@
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "channel.h"
#include "drawable.h"

View File

@ -15,6 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __CHANNEL_H__
#define __CHANNEL_H__
@ -23,7 +24,7 @@
#include "boundary.h"
#include "temp_buf.h"
#include "tile_manager.h"
#include "gimpimageF.h"
/* OPERATIONS */

View File

@ -21,6 +21,10 @@
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "channel.h"
#include "drawable.h"

View File

@ -15,6 +15,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __CHANNEL_H__
#define __CHANNEL_H__
@ -23,7 +24,7 @@
#include "boundary.h"
#include "temp_buf.h"
#include "tile_manager.h"
#include "gimpimageF.h"
/* OPERATIONS */

View File

@ -17,8 +17,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "gimpbrush.h"
#include "gimpbrushlist.h"

View File

@ -22,16 +22,12 @@
#define __GIMP_CONTEXT_H__
#include <glib.h>
#include "apptypes.h"
#include "gdisplay.h"
#include "gimpimageF.h"
#include "gradient.h"
#include "patterns.h"
#include "toolsF.h"
#include "gimpobjectP.h"
#define GIMP_TYPE_CONTEXT (gimp_context_get_type ())
#define GIMP_CONTEXT(obj) (GTK_CHECK_CAST ((obj), GIMP_TYPE_CONTEXT, GimpContext))

View File

@ -22,8 +22,9 @@
#ifndef __DATAFILES_H__
#define __DATAFILES_H__
#include <time.h>
#include <glib.h>
/***** Types *****/
@ -51,4 +52,5 @@ time_t datafile_atime (void);
time_t datafile_mtime (void);
time_t datafile_ctime (void);
#endif /* __DATAFILES_H__ */

View File

@ -15,10 +15,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdlib.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "asupsample.h"
#include "blend.h"

View File

@ -15,6 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "drawable.h"
#include "desaturate.h"

View File

@ -15,14 +15,14 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __DESATURATE_H__
#define __DESATURATE_H__
#include "gimpimageF.h"
#include "gimpdrawableF.h"
/* desaturate functions */
void image_desaturate (GimpImage *gimage);
void desaturate (GimpDrawable *drawable);
#endif /* __DESATURATE_H__ */

View File

@ -15,6 +15,11 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <gtk/gtk.h>
#include "drawable.h"
#include "equalize.h"
#include "gimage.h"

View File

@ -15,11 +15,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __EQUALIZE_H__
#define __EQUALIZE_H__
#include "gimpimageF.h"
#include "gimpdrawableF.h"
/* equalize functions */
void image_equalize (GimpImage *gimage);
@ -27,4 +26,5 @@ void equalize (GimpImage *gimage,
GimpDrawable *drawable,
gboolean mask_only);
#endif /* __INVERT_H__ */

View File

@ -15,8 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "drawable.h"
#include "invert.h"

View File

@ -15,14 +15,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __INVERT_H__
#define __INVERT_H__
#include "gimpimageF.h"
#include "gimpdrawableF.h"
/* invert functions */
void image_invert (GimpImage *);
void invert (GimpDrawable *);
void image_invert (GimpImage *);
void invert (GimpDrawable *);
#endif /* __INVERT_H__ */

View File

@ -15,11 +15,17 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "apptypes.h"
#include "channel_ops.h"
#include "cursorutil.h"
#include "drawable.h"

View File

@ -15,11 +15,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __CHANNEL_OPS_H__
#define __CHANNEL_OPS_H__
#include "gimpimageF.h"
#include "gimpdrawableF.h"
typedef enum
{
@ -40,5 +39,6 @@ void offset (GimpImage *gimage,
GimpImage * duplicate (GimpImage *gimage);
#endif /* __CHANNEL_OPS_H__ */

View File

@ -15,11 +15,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <gtk/gtk.h>
#include "gimpdrawableP.h"
#include "gimpsignal.h"
#include "gimage.h"

View File

@ -21,10 +21,8 @@
#include "apptypes.h"
#include "gimpobject.h"
#include "gimpdrawableF.h"
#include "tile_manager.h"
#include "temp_buf.h"
#include "gimpimageF.h"
#include "libgimp/gimpparasite.h"

View File

@ -15,7 +15,15 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <stdlib.h>
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "drawable.h"
#include "image_new.h"
@ -30,7 +38,6 @@
#include "tools.h"
#include "undo.h"
#include "config.h"
#include "libgimp/gimpintl.h"
#include "tile_manager_pvt.h"

View File

@ -89,6 +89,10 @@
#include <stdio.h>
#include <string.h>
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "brightness_contrast.h"
#include "color_balance.h"

View File

@ -15,14 +15,14 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __CONVERT_H__
#define __CONVERT_H__
#include "apptypes.h"
#include "procedural_db.h"
#include "gimpimageF.h"
#include "palette_entries.h"
/* adam's extra palette stuff */
typedef enum
{
@ -61,4 +61,5 @@ void convert_image (GimpImage *,
extern PaletteEntries *theCustomPalette;
#endif /* __CONVERT_H__ */

View File

@ -15,11 +15,17 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "apptypes.h"
#include "appenv.h"
#include "apptypes.h"
#include "channel_ops.h"
#include "cursorutil.h"
#include "drawable.h"

View File

@ -15,11 +15,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __CHANNEL_OPS_H__
#define __CHANNEL_OPS_H__
#include "gimpimageF.h"
#include "gimpdrawableF.h"
typedef enum
{
@ -40,5 +39,6 @@ void offset (GimpImage *gimage,
GimpImage * duplicate (GimpImage *gimage);
#endif /* __CHANNEL_OPS_H__ */

Some files were not shown because too many files have changed in this diff Show More