Makefile.am configure.in added stuff for the new library below.

2001-01-24  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* configure.in
	* gimptool.in: added stuff for the new library below.

	* libgimpmath/.cvsignore
	* libgimpmath/Makefile.am
	* libgimpmath/gimpmath.def
	* libgimpmath/gimpmath.h
	* libgimpmath/gimpmathtypes.h
	* libgimpmath/gimpmatrix.c
	* libgimpmath/gimpmatrix.h
	* libgimpmath/gimpvector.c
	* libgimpmath/gimpvector.h
	* libgimpmath/makefile.mingw.in
	* libgimpmath/makefile.msc: new shared library. Depends on glib only.

	* libgimp/Makefile.am
	* libgimp/gimp.def
	* libgimp/gimp.h: removed the math stuff.

	* libgimp/gimpmath.h
	* libgimp/gimpmatrix.[ch]
	* libgimp/gimpvector.[ch]: removed.

	* app/Makefile.am
	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am
	* plug-ins/pagecurl/Makefile.am: link against libgimpmath.la

	* app/[many files]
	* libgimpcolor/gimpcolorspace.c
	* libgimpcolor/gimprgb.c
	* libgimp/gimpadaptivesupersample.c
	* libgimp/gimpbilinear.c
	* libgimp/gimpwidgets.c
	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c
	* plug-ins/libgck/gck/gckcolor.c
	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h",
	removed the remaining includes of the old color stuff.
This commit is contained in:
Michael Natterer 2001-01-23 23:56:18 +00:00 committed by Michael Natterer
parent e803beddd4
commit cb16697229
200 changed files with 981 additions and 385 deletions

View file

@ -1,3 +1,48 @@
2001-01-24 Michael Natterer <mitch@gimp.org>
* Makefile.am
* configure.in
* gimptool.in: added stuff for the new library below.
* libgimpmath/.cvsignore
* libgimpmath/Makefile.am
* libgimpmath/gimpmath.def
* libgimpmath/gimpmath.h
* libgimpmath/gimpmathtypes.h
* libgimpmath/gimpmatrix.c
* libgimpmath/gimpmatrix.h
* libgimpmath/gimpvector.c
* libgimpmath/gimpvector.h
* libgimpmath/makefile.mingw.in
* libgimpmath/makefile.msc: new shared library. Depends on glib only.
* libgimp/Makefile.am
* libgimp/gimp.def
* libgimp/gimp.h: removed the math stuff.
* libgimp/gimpmath.h
* libgimp/gimpmatrix.[ch]
* libgimp/gimpvector.[ch]: removed.
* app/Makefile.am
* plug-ins/Lighting/Makefile.am
* plug-ins/MapObject/Makefile.am
* plug-ins/pagecurl/Makefile.am: link against libgimpmath.la
* app/[many files]
* libgimpcolor/gimpcolorspace.c
* libgimpcolor/gimprgb.c
* libgimp/gimpadaptivesupersample.c
* libgimp/gimpbilinear.c
* libgimp/gimpwidgets.c
* modules/colorsel_gtk.c
* modules/colorsel_triangle.c
* modules/colorsel_water.c
* plug-ins/libgck/gck/gckcolor.c
* tools/pdbgen/pdb/channel.pdb
* tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h",
removed the remaining includes of the old color stuff.
2001-01-23 Michael Natterer <mitch@gimp.org> 2001-01-23 Michael Natterer <mitch@gimp.org>
* Makefile.am * Makefile.am

View file

@ -3,6 +3,7 @@
SUBDIRS = \ SUBDIRS = \
tools \ tools \
intl \ intl \
libgimpmath \
libgimpcolor \ libgimpcolor \
libgimp \ libgimp \
app \ app \

View file

@ -312,6 +312,7 @@ gimp_LDADD = \
pdb/libapppdb.la \ pdb/libapppdb.la \
tools/libapptools.la \ tools/libapptools.la \
$(top_builddir)/libgimpcolor/libgimpcolor.la \ $(top_builddir)/libgimpcolor/libgimpcolor.la \
$(top_builddir)/libgimpmath/libgimpmath.la \
$(top_builddir)/libgimp/libgimpi.a \ $(top_builddir)/libgimp/libgimpi.a \
$(GTK_LIBS) \ $(GTK_LIBS) \
$(GIMP_THREAD_LIBS) \ $(GIMP_THREAD_LIBS) \

View file

@ -26,6 +26,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "about_dialog.h" #include "about_dialog.h"
@ -38,7 +40,6 @@
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -24,6 +24,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -80,7 +81,6 @@
#include "tools/tools.h" #include "tools/tools.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -21,12 +21,11 @@
#include "libgimpcolor/gimpcolortypes.h" #include "libgimpcolor/gimpcolortypes.h"
#include "libgimpmath/gimpmathtypes.h"
#include "libgimp/gimpuitypes.h" #include "libgimp/gimpuitypes.h"
/* stuff that will go to general-purpose libraries */ /* stuff that will go to general-purpose libraries */
#include "libgimp/gimpmatrix.h"
#include "libgimp/gimpvector.h"
#include "libgimp/gimpunit.h" #include "libgimp/gimpunit.h"

View file

@ -34,6 +34,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -41,8 +42,6 @@
#include "asupsample.h" #include "asupsample.h"
#include "gimpprogress.h" #include "gimpprogress.h"
#include "libgimp/gimpmath.h"
typedef struct typedef struct
{ {

View file

@ -20,6 +20,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -35,8 +38,6 @@
#include "tool_options.h" #include "tool_options.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpcolorspace.h"
#define CYAN_RED 0x1 #define CYAN_RED 0x1

View file

@ -22,6 +22,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -39,7 +41,6 @@
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -26,6 +26,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "drawable.h" #include "drawable.h"
@ -38,7 +40,6 @@
#include "pixel_processor.h" #include "pixel_processor.h"
#include <libgimp/gimphelpui.h> #include <libgimp/gimphelpui.h>
#include <libgimp/gimpmath.h>
struct _GimpHistogram struct _GimpHistogram

View file

@ -20,6 +20,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -34,9 +37,6 @@
#include "tools.h" #include "tools.h"
#include "tool_options.h" #include "tool_options.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -22,14 +22,14 @@
#include <glib.h> #include <glib.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
#include "gimplut.h" #include "gimplut.h"
#include "gimphistogram.h" #include "gimphistogram.h"
#include "libgimp/gimpmath.h"
/* ---------- Brightness/Contrast -----------*/ /* ---------- Brightness/Contrast -----------*/

View file

@ -34,6 +34,8 @@
#include <process.h> /* For _getpid() */ #include <process.h> /* For _getpid() */
#endif #endif
#include "libgimpcolor/gimpcolor.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -43,8 +45,6 @@
#include "pixel_region.h" #include "pixel_region.h"
#include "temp_buf.h" #include "temp_buf.h"
#include "libgimp/gimpcolorspace.h"
static guchar * temp_buf_allocate (guint); static guchar * temp_buf_allocate (guint);
static void temp_buf_to_color (TempBuf *src_buf, static void temp_buf_to_color (TempBuf *src_buf,

View file

@ -24,6 +24,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -33,7 +35,6 @@
#include "temp_buf.h" #include "temp_buf.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -23,6 +23,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -45,8 +47,6 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -22,6 +22,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -42,13 +45,13 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#define ENTRY_WIDTH 60 #define ENTRY_WIDTH 60
typedef struct _OffsetDialog OffsetDialog; typedef struct _OffsetDialog OffsetDialog;
struct _OffsetDialog struct _OffsetDialog
@ -62,11 +65,15 @@ struct _OffsetDialog
GimpImage *gimage; GimpImage *gimage;
}; };
/* Forward declarations */
static void offset_ok_callback (GtkWidget *, gpointer);
static void offset_cancel_callback (GtkWidget *, gpointer);
static void offset_halfheight_callback (GtkWidget *, gpointer); /* Forward declarations */
static void offset_ok_callback (GtkWidget *widget,
gpointer data);
static void offset_cancel_callback (GtkWidget *widget,
gpointer data);
static void offset_halfheight_callback (GtkWidget *widget,
gpointer data);
void void

View file

@ -22,11 +22,11 @@
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
#include "channel.h" #include "channel.h"
#include "channels_dialog.h" #include "channels_dialog.h"
#include "color_panel.h" #include "color_panel.h"
@ -46,7 +46,6 @@
#include "undo.h" #include "undo.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -26,6 +26,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"

View file

@ -28,6 +28,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpcolor/gimpcolor.h"
#include "apptypes.h" #include "apptypes.h"
#include "color_area.h" #include "color_area.h"
@ -38,7 +40,6 @@
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpcolorarea.h" #include "libgimp/gimpcolorarea.h"
#include "libgimp/gimpcolorselector.h" #include "libgimp/gimpcolorselector.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -25,6 +25,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpcolor/gimpcolor.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -36,7 +38,6 @@
#include "session.h" #include "session.h"
#include "color_area.h" #include "color_area.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpcolorselector.h" #include "libgimp/gimpcolorselector.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"

View file

@ -23,32 +23,40 @@
#include <glib.h> #include <glib.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
#include "libgimp/gimpmath.h"
#include "color_transfer.h" #include "color_transfer.h"
/* for lightening */ /* for lightening */
double highlights_add[256]; gdouble highlights_add[256];
double midtones_add[256]; gdouble midtones_add[256];
double shadows_add[256]; gdouble shadows_add[256];
/* for darkening */ /* for darkening */
double highlights_sub[256]; gdouble highlights_sub[256];
double midtones_sub[256]; gdouble midtones_sub[256];
double shadows_sub[256]; gdouble shadows_sub[256];
/* color transfer functions */ /* color transfer functions */
void void
color_transfer_init () color_transfer_init (void)
{ {
int i; gint i;
for (i = 0; i < 256; i++) for (i = 0; i < 256; i++)
{ {
highlights_add[i] = shadows_sub[255 - i] = (1.075 - 1 / ((double) i / 16.0 + 1)); highlights_add[i] =
midtones_add[i] = midtones_sub[i] = 0.667 * (1 - SQR (((double) i - 127.0) / 127.0)); shadows_sub[255 - i] = (1.075 - 1 / ((gdouble) i / 16.0 + 1));
shadows_add[i] = highlights_sub[i] = 0.667 * (1 - SQR (((double) i - 127.0) / 127.0));
midtones_add[i] =
midtones_sub[i] = 0.667 * (1 - SQR (((gdouble) i - 127.0) / 127.0));
shadows_add[i] =
highlights_sub[i] = 0.667 * (1 - SQR (((gdouble) i - 127.0) / 127.0));
} }
} }

View file

@ -20,9 +20,9 @@
#define __COLOR_TRANSFER_H__ #define __COLOR_TRANSFER_H__
/*************************/
/* color transfer data */ /* color transfer data */
/* for lightening */ /* for lightening */
extern gdouble highlights_add[]; extern gdouble highlights_add[];
extern gdouble midtones_add[]; extern gdouble midtones_add[];

View file

@ -26,6 +26,7 @@
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -44,7 +45,6 @@
#include "pdb/procedural_db.h" #include "pdb/procedural_db.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -24,6 +24,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -80,7 +81,6 @@
#include "tools/tools.h" #include "tools/tools.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -92,6 +92,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -120,9 +121,7 @@
#include "tools/posterize.h" #include "tools/posterize.h"
#include "tools/threshold.h" #include "tools/threshold.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -29,6 +29,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -40,8 +42,6 @@
/* this needs to go away */ /* this needs to go away */
#include "tools/paint_core.h" #include "tools/paint_core.h"
#include "libgimp/gimpmath.h"
#define OVERSAMPLING 5 #define OVERSAMPLING 5

View file

@ -29,6 +29,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -40,8 +42,6 @@
/* this needs to go away */ /* this needs to go away */
#include "tools/paint_core.h" #include "tools/paint_core.h"
#include "libgimp/gimpmath.h"
#define OVERSAMPLING 5 #define OVERSAMPLING 5

View file

@ -29,6 +29,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -40,8 +42,6 @@
/* this needs to go away */ /* this needs to go away */
#include "tools/paint_core.h" #include "tools/paint_core.h"
#include "libgimp/gimpmath.h"
#define OVERSAMPLING 5 #define OVERSAMPLING 5

View file

@ -41,7 +41,10 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
#include "brush_header.h" #include "brush_header.h"
#include "pattern_header.h" #include "pattern_header.h"
@ -53,7 +56,6 @@
/* this needs to go away */ /* this needs to go away */
#include "tools/paint_core.h" #include "tools/paint_core.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasiteio.h" #include "libgimp/gimpparasiteio.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -41,7 +41,10 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
#include "brush_header.h" #include "brush_header.h"
#include "pattern_header.h" #include "pattern_header.h"
@ -53,7 +56,6 @@
/* this needs to go away */ /* this needs to go away */
#include "tools/paint_core.h" #include "tools/paint_core.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasiteio.h" #include "libgimp/gimpparasiteio.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -23,6 +23,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -45,8 +47,6 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -23,6 +23,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -45,8 +47,6 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -22,6 +22,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -50,9 +53,6 @@
#include "tile.h" #include "tile.h"
#include "tile_manager.h" #include "tile_manager.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -22,6 +22,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -42,13 +45,13 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#define ENTRY_WIDTH 60 #define ENTRY_WIDTH 60
typedef struct _OffsetDialog OffsetDialog; typedef struct _OffsetDialog OffsetDialog;
struct _OffsetDialog struct _OffsetDialog
@ -62,11 +65,15 @@ struct _OffsetDialog
GimpImage *gimage; GimpImage *gimage;
}; };
/* Forward declarations */
static void offset_ok_callback (GtkWidget *, gpointer);
static void offset_cancel_callback (GtkWidget *, gpointer);
static void offset_halfheight_callback (GtkWidget *, gpointer); /* Forward declarations */
static void offset_ok_callback (GtkWidget *widget,
gpointer data);
static void offset_cancel_callback (GtkWidget *widget,
gpointer data);
static void offset_halfheight_callback (GtkWidget *widget,
gpointer data);
void void

View file

@ -24,6 +24,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "channel.h" #include "channel.h"
@ -40,7 +43,6 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -92,6 +92,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -120,9 +121,7 @@
#include "tools/posterize.h" #include "tools/posterize.h"
#include "tools/threshold.h" #include "tools/threshold.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -22,6 +22,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -42,13 +45,13 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#define ENTRY_WIDTH 60 #define ENTRY_WIDTH 60
typedef struct _OffsetDialog OffsetDialog; typedef struct _OffsetDialog OffsetDialog;
struct _OffsetDialog struct _OffsetDialog
@ -62,11 +65,15 @@ struct _OffsetDialog
GimpImage *gimage; GimpImage *gimage;
}; };
/* Forward declarations */
static void offset_ok_callback (GtkWidget *, gpointer);
static void offset_cancel_callback (GtkWidget *, gpointer);
static void offset_halfheight_callback (GtkWidget *, gpointer); /* Forward declarations */
static void offset_ok_callback (GtkWidget *widget,
gpointer data);
static void offset_cancel_callback (GtkWidget *widget,
gpointer data);
static void offset_halfheight_callback (GtkWidget *widget,
gpointer data);
void void

View file

@ -23,6 +23,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -47,9 +48,7 @@
#include "tile.h" #include "tile.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -23,6 +23,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -47,9 +48,7 @@
#include "tile.h" #include "tile.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -23,6 +23,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -47,9 +48,7 @@
#include "tile.h" #include "tile.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -23,6 +23,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -47,9 +48,7 @@
#include "tile.h" #include "tile.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -23,6 +23,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -47,9 +48,7 @@
#include "tile.h" #include "tile.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -23,6 +23,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -47,9 +48,7 @@
#include "tile.h" #include "tile.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -20,6 +20,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -35,8 +37,6 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -25,6 +25,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "boundary.h" #include "boundary.h"
@ -43,7 +45,6 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "tile.h" #include "tile.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -23,6 +23,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -47,9 +48,7 @@
#include "tile.h" #include "tile.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -23,6 +23,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -59,8 +61,6 @@
#include "tools/tools.h" #include "tools/tools.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -22,6 +22,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "channel.h" #include "channel.h"
@ -30,8 +32,6 @@
#include "pixel_region.h" #include "pixel_region.h"
#include "scan_convert.h" #include "scan_convert.h"
#include "libgimp/gimpmath.h"
#ifdef DEBUG #ifdef DEBUG
#define TRC(x) printf x #define TRC(x) printf x

View file

@ -26,6 +26,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "about_dialog.h" #include "about_dialog.h"
@ -38,7 +40,6 @@
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -28,6 +28,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpcolor/gimpcolor.h"
#include "apptypes.h" #include "apptypes.h"
#include "color_area.h" #include "color_area.h"
@ -38,7 +40,6 @@
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpcolorarea.h" #include "libgimp/gimpcolorarea.h"
#include "libgimp/gimpcolorselector.h" #include "libgimp/gimpcolorselector.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -20,6 +20,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "image_new.h" #include "image_new.h"
@ -31,7 +33,6 @@
#include "libgimp/gimpchainbutton.h" #include "libgimp/gimpchainbutton.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpsizeentry.h" #include "libgimp/gimpsizeentry.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -22,6 +22,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -43,7 +45,6 @@
#include "tile_cache.h" #include "tile_cache.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -20,6 +20,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -33,7 +35,6 @@
#include "libgimp/gimpchainbutton.h" #include "libgimp/gimpchainbutton.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpsizeentry.h" #include "libgimp/gimpsizeentry.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -20,6 +20,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -31,10 +33,10 @@
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#define SET_STYLE(widget, style) if (style) gtk_widget_set_style (widget, style) #define SET_STYLE(widget, style) if (style) gtk_widget_set_style (widget, style)
static GtkWidget *calibrate_entry = NULL; static GtkWidget *calibrate_entry = NULL;

View file

@ -29,6 +29,8 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -38,9 +40,9 @@
#include "resolution_calibrate.h" #include "resolution_calibrate.h"
#include "unitrc.h" #include "unitrc.h"
#include "user_install.h" #include "user_install.h"
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -23,6 +23,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -59,8 +61,6 @@
#include "tools/tools.h" #include "tools/tools.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -20,6 +20,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "image_new.h" #include "image_new.h"
@ -31,7 +33,6 @@
#include "libgimp/gimpchainbutton.h" #include "libgimp/gimpchainbutton.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpsizeentry.h" #include "libgimp/gimpsizeentry.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -61,6 +61,8 @@
#define getegid() 0 #define getegid() 0
#endif #endif
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -84,7 +86,6 @@
#include "undo.h" #include "undo.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -20,6 +20,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -35,8 +37,6 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -23,6 +23,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -59,8 +61,6 @@
#include "tools/tools.h" #include "tools/tools.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -29,6 +29,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -40,8 +42,6 @@
/* this needs to go away */ /* this needs to go away */
#include "tools/paint_core.h" #include "tools/paint_core.h"
#include "libgimp/gimpmath.h"
#define OVERSAMPLING 5 #define OVERSAMPLING 5

View file

@ -33,6 +33,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -48,7 +50,6 @@
#include "gimpbrushlist.h" #include "gimpbrushlist.h"
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -41,7 +41,10 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
#include "brush_header.h" #include "brush_header.h"
#include "pattern_header.h" #include "pattern_header.h"
@ -53,7 +56,6 @@
/* this needs to go away */ /* this needs to go away */
#include "tools/paint_core.h" #include "tools/paint_core.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasiteio.h" #include "libgimp/gimpparasiteio.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -23,6 +23,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -45,8 +47,6 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -22,6 +22,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -42,13 +45,13 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#define ENTRY_WIDTH 60 #define ENTRY_WIDTH 60
typedef struct _OffsetDialog OffsetDialog; typedef struct _OffsetDialog OffsetDialog;
struct _OffsetDialog struct _OffsetDialog
@ -62,11 +65,15 @@ struct _OffsetDialog
GimpImage *gimage; GimpImage *gimage;
}; };
/* Forward declarations */
static void offset_ok_callback (GtkWidget *, gpointer);
static void offset_cancel_callback (GtkWidget *, gpointer);
static void offset_halfheight_callback (GtkWidget *, gpointer); /* Forward declarations */
static void offset_ok_callback (GtkWidget *widget,
gpointer data);
static void offset_cancel_callback (GtkWidget *widget,
gpointer data);
static void offset_halfheight_callback (GtkWidget *widget,
gpointer data);
void void

View file

@ -24,6 +24,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "channel.h" #include "channel.h"
@ -40,7 +43,6 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -26,6 +26,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "drawable.h" #include "drawable.h"
@ -38,7 +40,6 @@
#include "pixel_processor.h" #include "pixel_processor.h"
#include <libgimp/gimphelpui.h> #include <libgimp/gimphelpui.h>
#include <libgimp/gimpmath.h>
struct _GimpHistogram struct _GimpHistogram

View file

@ -92,6 +92,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -120,9 +121,7 @@
#include "tools/posterize.h" #include "tools/posterize.h"
#include "tools/threshold.h" #include "tools/threshold.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -22,6 +22,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -42,13 +45,13 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#define ENTRY_WIDTH 60 #define ENTRY_WIDTH 60
typedef struct _OffsetDialog OffsetDialog; typedef struct _OffsetDialog OffsetDialog;
struct _OffsetDialog struct _OffsetDialog
@ -62,11 +65,15 @@ struct _OffsetDialog
GimpImage *gimage; GimpImage *gimage;
}; };
/* Forward declarations */
static void offset_ok_callback (GtkWidget *, gpointer);
static void offset_cancel_callback (GtkWidget *, gpointer);
static void offset_halfheight_callback (GtkWidget *, gpointer); /* Forward declarations */
static void offset_ok_callback (GtkWidget *widget,
gpointer data);
static void offset_cancel_callback (GtkWidget *widget,
gpointer data);
static void offset_halfheight_callback (GtkWidget *widget,
gpointer data);
void void

View file

@ -23,6 +23,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -47,9 +48,7 @@
#include "tile.h" #include "tile.h"
#include "undo.h" #include "undo.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -25,6 +25,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "boundary.h" #include "boundary.h"
@ -43,7 +45,6 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "tile.h" #include "tile.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -58,7 +58,6 @@
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimputils.h" #include "libgimp/gimputils.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -58,6 +58,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -77,8 +78,6 @@
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -58,6 +58,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -77,8 +78,6 @@
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -26,6 +26,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "about_dialog.h" #include "about_dialog.h"
@ -38,7 +40,6 @@
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -24,6 +24,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -33,7 +35,6 @@
#include "temp_buf.h" #include "temp_buf.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -22,11 +22,11 @@
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
#include "channel.h" #include "channel.h"
#include "channels_dialog.h" #include "channels_dialog.h"
#include "color_panel.h" #include "color_panel.h"
@ -46,7 +46,6 @@
#include "undo.h" #include "undo.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -26,6 +26,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"

View file

@ -28,6 +28,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpcolor/gimpcolor.h"
#include "apptypes.h" #include "apptypes.h"
#include "color_area.h" #include "color_area.h"
@ -38,7 +40,6 @@
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpcolorarea.h" #include "libgimp/gimpcolorarea.h"
#include "libgimp/gimpcolorselector.h" #include "libgimp/gimpcolorselector.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -25,6 +25,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpcolor/gimpcolor.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -36,7 +38,6 @@
#include "session.h" #include "session.h"
#include "color_area.h" #include "color_area.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpcolorselector.h" #include "libgimp/gimpcolorselector.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"

View file

@ -26,6 +26,7 @@
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -44,7 +45,6 @@
#include "pdb/procedural_db.h" #include "pdb/procedural_db.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -24,6 +24,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -80,7 +81,6 @@
#include "tools/tools.h" #include "tools/tools.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -20,6 +20,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "image_new.h" #include "image_new.h"
@ -31,7 +33,6 @@
#include "libgimp/gimpchainbutton.h" #include "libgimp/gimpchainbutton.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpsizeentry.h" #include "libgimp/gimpsizeentry.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -58,6 +58,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -77,8 +78,6 @@
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -24,6 +24,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h" #include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
@ -80,7 +81,6 @@
#include "tools/tools.h" #include "tools/tools.h"
#include "libgimp/gimphelpui.h" #include "libgimp/gimphelpui.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -21,6 +21,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -46,7 +48,6 @@
#include "undo.h" #include "undo.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpsizeentry.h" #include "libgimp/gimpsizeentry.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -27,6 +27,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -56,8 +58,6 @@
#include "tools/bezier_select.h" #include "tools/bezier_select.h"
#include "tools/bezier_selectP.h" #include "tools/bezier_selectP.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#include "pixmaps/new.xpm" #include "pixmaps/new.xpm"

View file

@ -22,6 +22,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -43,7 +45,6 @@
#include "tile_cache.h" #include "tile_cache.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -20,6 +20,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -33,7 +35,6 @@
#include "libgimp/gimpchainbutton.h" #include "libgimp/gimpchainbutton.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpsizeentry.h" #include "libgimp/gimpsizeentry.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -20,6 +20,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -31,10 +33,10 @@
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#define SET_STYLE(widget, style) if (style) gtk_widget_set_style (widget, style) #define SET_STYLE(widget, style) if (style) gtk_widget_set_style (widget, style)
static GtkWidget *calibrate_entry = NULL; static GtkWidget *calibrate_entry = NULL;

View file

@ -29,6 +29,8 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -38,9 +40,9 @@
#include "resolution_calibrate.h" #include "resolution_calibrate.h"
#include "unitrc.h" #include "unitrc.h"
#include "user_install.h" #include "user_install.h"
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -20,6 +20,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -30,8 +32,6 @@
#include "histogramwidget.h" #include "histogramwidget.h"
#include "tile_manager.h" #include "tile_manager.h"
#include "libgimp/gimpmath.h"
#define WAITING 0 #define WAITING 0
#define WORKING 1 #define WORKING 1

View file

@ -25,6 +25,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "boundary.h" #include "boundary.h"
@ -43,7 +45,6 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "tile.h" #include "tile.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpparasite.h" #include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -21,6 +21,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -46,7 +48,6 @@
#include "undo.h" #include "undo.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpsizeentry.h" #include "libgimp/gimpsizeentry.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -20,6 +20,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -40,7 +42,6 @@
#include "pdb/procedural_db.h" #include "pdb/procedural_db.h"
#include "libgimp/gimplimits.h" #include "libgimp/gimplimits.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -22,14 +22,14 @@
#include <glib.h> #include <glib.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
#include "gimplut.h" #include "gimplut.h"
#include "gimphistogram.h" #include "gimphistogram.h"
#include "libgimp/gimpmath.h"
/* ---------- Brightness/Contrast -----------*/ /* ---------- Brightness/Contrast -----------*/

View file

@ -24,6 +24,9 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpcolor/gimpcolor.h"
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -35,9 +38,6 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "tile.h" #include "tile.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -21,6 +21,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -39,8 +41,6 @@
#include "tools.h" #include "tools.h"
#include "gimage.h" #include "gimage.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

View file

@ -29,13 +29,13 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
#include "blob.h" #include "blob.h"
#include "libgimp/gimpmath.h"
static Blob * static Blob *
blob_new (int y, int height) blob_new (int y, int height)

View file

@ -23,6 +23,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "libgimpmath/gimpmath.h"
#include "apptypes.h" #include "apptypes.h"
#include "appenv.h" #include "appenv.h"
@ -45,8 +47,6 @@
#include "tile.h" #include "tile.h"
#include "tile_manager.h" #include "tile_manager.h"
#include "libgimp/gimpmath.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"

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