Commit dfa2bed5 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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
parent 9bc546c1
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
......
......@@ -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 \
......
......@@ -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"
......
......@@ -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"
......
......@@ -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);
......
......@@ -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 */
......
......@@ -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
{
......
......@@ -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
{
......
......@@ -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"
......
......@@ -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"
......
......@@ -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__ */
......@@ -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__ */
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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__ */
......@@ -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"
......
......@@ -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
......
......@@ -23,7 +23,7 @@
#include "pixel_region.h"
#include "gimpdrawable.h"
#include "gimphistogramF.h"
#define HISTOGRAM_VALUE 0
#define HISTOGRAM_RED 1
......
......@@ -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 ()
......
......@@ -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
......
......@@ -17,6 +17,10 @@
*/
#include "config.h"
#include <glib.h>
#include "apptypes.h"
#include "appenv.h"
#include "drawable.h"
#include "gimage_mask.h"
......
......@@ -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,
......
......@@ -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"
......
......@@ -19,8 +19,6 @@
#ifndef __LUT_FUNCS_H__
#define __LUT_FUNCS_H__
#include "gimplutF.h"
#include "gimphistogramF.h"
typedef enum
{
......
......@@ -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"
......
......@@ -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 @@