mirror of https://github.com/GNOME/gimp.git
app/color_select.c app/colormaps.[ch] removed unused global variables
2000-04-26 Michael Natterer <mitch@gimp.org> * app/color_select.c * app/colormaps.[ch] * app/context_manager.c: removed unused global variables [foreground|background]_pixel and [old|new]_color_pixel. Initialize the colormap and visual stuff with GdkRGB instead of GtkPreview functions (which are deprecated). * app/[62 files]: removed #include's (started with colormaps.h and couldn't stop). Also ordered them consistently and did some small unrelated cleanups. Removed variuos <stdlib.h> et.al. but checked the files carefully before doing so. If I was too radical and you get warnings on your platform, please flame me or just put them back :)
This commit is contained in:
parent
f0f4569b16
commit
c73b233f8a
17
ChangeLog
17
ChangeLog
|
@ -1,3 +1,20 @@
|
|||
2000-04-26 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/color_select.c
|
||||
* app/colormaps.[ch]
|
||||
* app/context_manager.c: removed unused global variables
|
||||
[foreground|background]_pixel and [old|new]_color_pixel.
|
||||
|
||||
Initialize the colormap and visual stuff with GdkRGB instead of
|
||||
GtkPreview functions (which are deprecated).
|
||||
|
||||
* app/[62 files]: removed #include's (started with colormaps.h and
|
||||
couldn't stop). Also ordered them consistently and did some small
|
||||
unrelated cleanups.
|
||||
Removed variuos <stdlib.h> et.al. but checked the files carefully
|
||||
before doing so. If I was too radical and you get warnings on your
|
||||
platform, please flame me or just put them back :)
|
||||
|
||||
2000-04-27 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/imagemap/imap_object.c: on request of plug-in author
|
||||
|
|
|
@ -15,11 +15,12 @@
|
|||
* 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 "appenv.h"
|
||||
#include "about_dialog.h"
|
||||
#include "app_procs.h"
|
||||
#include "brush_select.h"
|
||||
#include "colormaps.h"
|
||||
#include "colormap_dialog.i.h"
|
||||
#include "color_area.h"
|
||||
#include "commands.h"
|
||||
|
@ -56,8 +57,6 @@
|
|||
#include "tools.h"
|
||||
#include "undo.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
* 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"
|
||||
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
|
@ -68,10 +67,6 @@
|
|||
#define _P_NOWAIT P_NOWAIT
|
||||
#endif
|
||||
|
||||
#include "libgimp/parasite.h"
|
||||
#include "libgimp/parasiteP.h" /* ick */
|
||||
#include "libgimp/gimpenv.h"
|
||||
|
||||
#ifdef HAVE_IPC_H
|
||||
#include <sys/ipc.h>
|
||||
#endif
|
||||
|
@ -80,27 +75,28 @@
|
|||
#include <sys/shm.h>
|
||||
#endif
|
||||
|
||||
#include "libgimp/gimpprotocol.h"
|
||||
#include "libgimp/gimpwire.h"
|
||||
|
||||
#include "app_procs.h"
|
||||
#include "appenv.h"
|
||||
#include "brush_select.h" /* Need for closing dialogs */
|
||||
#include "drawable.h"
|
||||
#include "datafiles.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimage.h"
|
||||
#include "gimprc.h"
|
||||
#include "gradient_select.h"
|
||||
#include "interface.h"
|
||||
#include "menus.h"
|
||||
#include "pattern_select.h" /* Needed for closing pattern dialogs */
|
||||
#include "plug_in.h"
|
||||
|
||||
#include "tile.h" /* ick. */
|
||||
|
||||
#include "libgimp/gimpenv.h"
|
||||
#include "libgimp/gimpprotocol.h"
|
||||
#include "libgimp/gimpwire.h"
|
||||
#include "libgimp/parasite.h"
|
||||
#include "libgimp/parasiteP.h" /* ick */
|
||||
|
||||
#include "libgimp/gimpintl.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.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include "config.h"
|
||||
|
||||
#include "appenv.h"
|
||||
#include "airbrush.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimpbrushpipe.h"
|
||||
#include "gradient.h"
|
||||
|
@ -32,9 +31,9 @@
|
|||
#include "selection.h"
|
||||
#include "tools.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
/* The maximum amount of pressure that can be exerted */
|
||||
#define MAX_PRESSURE 0.075
|
||||
|
||||
|
|
|
@ -15,8 +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 <stdio.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "cursorutil.h"
|
||||
#include "drawable.h"
|
||||
#include "gdisplay.h"
|
||||
|
@ -25,11 +28,11 @@
|
|||
#include "curves.h"
|
||||
#include "gimplut.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpenv.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#define GRAPH 0x1
|
||||
#define XRANGE_TOP 0x2
|
||||
#define XRANGE_BOTTOM 0x4
|
||||
|
|
|
@ -15,24 +15,21 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include "config.h"
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "drawable.h"
|
||||
#include "general.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimpui.h"
|
||||
#include "hue_saturation.h"
|
||||
#include "interface.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define HUE_PARTITION_MASK GDK_EXPOSURE_MASK | GDK_ENTER_NOTIFY_MASK
|
||||
|
||||
#define SLIDER_WIDTH 200
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
* 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>
|
||||
|
@ -37,26 +36,26 @@
|
|||
#include "appenv.h"
|
||||
#include "drawable.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimprc.h"
|
||||
#include "paint_funcs.h"
|
||||
#include "temp_buf.h"
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
|
||||
static unsigned char * temp_buf_allocate (unsigned int);
|
||||
|
||||
static guchar * temp_buf_allocate (guint);
|
||||
static void temp_buf_to_color (TempBuf *, TempBuf *);
|
||||
static void temp_buf_to_gray (TempBuf *, TempBuf *);
|
||||
|
||||
|
||||
/* Memory management */
|
||||
|
||||
static unsigned char *
|
||||
temp_buf_allocate (unsigned int size)
|
||||
static guchar *
|
||||
temp_buf_allocate (guint size)
|
||||
{
|
||||
unsigned char *data;
|
||||
guchar *data;
|
||||
|
||||
data = (unsigned char *) g_malloc (size);
|
||||
data = g_new (guchar, size);
|
||||
|
||||
return data;
|
||||
}
|
||||
|
@ -68,8 +67,8 @@ static void
|
|||
temp_buf_to_color (TempBuf *src_buf,
|
||||
TempBuf *dest_buf)
|
||||
{
|
||||
unsigned char *src;
|
||||
unsigned char *dest;
|
||||
guchar *src;
|
||||
guchar *dest;
|
||||
long num_bytes;
|
||||
|
||||
src = temp_buf_data (src_buf);
|
||||
|
@ -79,7 +78,7 @@ temp_buf_to_color (TempBuf *src_buf,
|
|||
|
||||
while (num_bytes--)
|
||||
{
|
||||
unsigned char tmpch;
|
||||
guchar tmpch;
|
||||
*dest++ = *src++; /* alpha channel */
|
||||
*dest++ = tmpch = *src++;
|
||||
*dest++ = tmpch;
|
||||
|
@ -92,8 +91,8 @@ static void
|
|||
temp_buf_to_gray (TempBuf *src_buf,
|
||||
TempBuf *dest_buf)
|
||||
{
|
||||
unsigned char *src;
|
||||
unsigned char *dest;
|
||||
guchar *src;
|
||||
guchar *dest;
|
||||
long num_bytes;
|
||||
float pix;
|
||||
|
||||
|
@ -108,25 +107,25 @@ temp_buf_to_gray (TempBuf *src_buf,
|
|||
|
||||
pix = INTENSITY (*src++, *src++, *src++);
|
||||
|
||||
*dest++ = (unsigned char) pix;
|
||||
*dest++ = (guchar) pix;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
TempBuf *
|
||||
temp_buf_new (int width,
|
||||
int height,
|
||||
int bytes,
|
||||
int x,
|
||||
int y,
|
||||
unsigned char *col)
|
||||
temp_buf_new (gint width,
|
||||
gint height,
|
||||
gint bytes,
|
||||
gint x,
|
||||
gint y,
|
||||
guchar *col)
|
||||
{
|
||||
long i;
|
||||
int j;
|
||||
unsigned char * data;
|
||||
guchar *data;
|
||||
TempBuf *temp;
|
||||
|
||||
temp = (TempBuf *) g_malloc (sizeof (TempBuf));
|
||||
temp = g_new (TempBuf, 1);
|
||||
|
||||
temp->width = width;
|
||||
temp->height = height;
|
||||
|
@ -157,12 +156,12 @@ temp_buf_new (int width,
|
|||
else
|
||||
{
|
||||
/* No, we cannot */
|
||||
unsigned char * dptr;
|
||||
guchar * dptr;
|
||||
/* Fill the first row */
|
||||
dptr = data;
|
||||
for (i = width - 1; i >= 0; --i)
|
||||
{
|
||||
unsigned char * init;
|
||||
guchar * init;
|
||||
j = bytes;
|
||||
init = col;
|
||||
while (j--)
|
||||
|
@ -226,13 +225,13 @@ temp_buf_copy (TempBuf *src,
|
|||
|
||||
TempBuf *
|
||||
temp_buf_resize (TempBuf *buf,
|
||||
int bytes,
|
||||
int x,
|
||||
int y,
|
||||
int w,
|
||||
int h)
|
||||
gint bytes,
|
||||
gint x,
|
||||
gint y,
|
||||
gint w,
|
||||
gint h)
|
||||
{
|
||||
int size;
|
||||
gint size;
|
||||
|
||||
/* calculate the requested size */
|
||||
size = w * h * bytes;
|
||||
|
@ -266,16 +265,16 @@ temp_buf_resize (TempBuf *buf,
|
|||
TempBuf *
|
||||
temp_buf_copy_area (TempBuf *src,
|
||||
TempBuf *dest,
|
||||
int x,
|
||||
int y,
|
||||
int w,
|
||||
int h,
|
||||
int border)
|
||||
gint x,
|
||||
gint y,
|
||||
gint w,
|
||||
gint h,
|
||||
gint border)
|
||||
{
|
||||
TempBuf * new;
|
||||
PixelRegion srcR, destR;
|
||||
unsigned char empty[MAX_CHANNELS] = { 0, 0, 0, 0 };
|
||||
int x1, y1, x2, y2;
|
||||
guchar empty[MAX_CHANNELS] = { 0, 0, 0, 0 };
|
||||
gint x1, y1, x2, y2;
|
||||
|
||||
if (!src)
|
||||
{
|
||||
|
@ -339,7 +338,7 @@ temp_buf_free (TempBuf *temp_buf)
|
|||
}
|
||||
|
||||
|
||||
unsigned char *
|
||||
guchar *
|
||||
temp_buf_data (TempBuf *temp_buf)
|
||||
{
|
||||
if (temp_buf->swapped)
|
||||
|
@ -355,10 +354,10 @@ temp_buf_data (TempBuf *temp_buf)
|
|||
|
||||
|
||||
MaskBuf *
|
||||
mask_buf_new (int width,
|
||||
int height)
|
||||
mask_buf_new (gint width,
|
||||
gint height)
|
||||
{
|
||||
static unsigned char empty = 0;
|
||||
static guchar empty = 0;
|
||||
|
||||
return (temp_buf_new (width, height, 1, 0, 0, &empty));
|
||||
}
|
||||
|
@ -371,7 +370,7 @@ mask_buf_free (MaskBuf *mask)
|
|||
}
|
||||
|
||||
|
||||
unsigned char *
|
||||
guchar *
|
||||
mask_buf_data (MaskBuf *mask_buf)
|
||||
{
|
||||
if (mask_buf->swapped)
|
||||
|
@ -409,13 +408,13 @@ mask_buf_data (MaskBuf *mask_buf)
|
|||
|
||||
|
||||
/* a static counter for generating unique filenames */
|
||||
static int swap_index = 0;
|
||||
static gint swap_index = 0;
|
||||
|
||||
/* a static pointer which keeps track of the last request for a swapped buffer */
|
||||
static TempBuf * cached_in_memory = NULL;
|
||||
|
||||
|
||||
static char *
|
||||
static gchar *
|
||||
generate_unique_filename (void)
|
||||
{
|
||||
pid_t pid;
|
||||
|
@ -429,9 +428,9 @@ void
|
|||
temp_buf_swap (TempBuf *buf)
|
||||
{
|
||||
TempBuf * swap;
|
||||
char * filename;
|
||||
gchar * filename;
|
||||
struct stat stat_buf;
|
||||
int err;
|
||||
gint err;
|
||||
FILE * fp;
|
||||
|
||||
if (!buf || buf->swapped)
|
||||
|
|
|
@ -18,38 +18,38 @@
|
|||
#ifndef __TEMP_BUF_H__
|
||||
#define __TEMP_BUF_H__
|
||||
|
||||
typedef struct _TempBuf TempBuf;
|
||||
typedef struct _TempBuf MaskBuf;
|
||||
|
||||
typedef struct _temp_buf TempBuf;
|
||||
typedef struct _temp_buf MaskBuf;
|
||||
|
||||
struct _temp_buf
|
||||
struct _TempBuf
|
||||
{
|
||||
int bytes; /* The necessary info */
|
||||
int width;
|
||||
int height;
|
||||
int x, y; /* origin of data source */
|
||||
gint bytes; /* The necessary info */
|
||||
gint width;
|
||||
gint height;
|
||||
gint x, y; /* origin of data source */
|
||||
|
||||
int swapped; /* flag indicating whether buf is cached to disk */
|
||||
char * filename; /* filename of cached information */
|
||||
gboolean swapped; /* flag indicating whether buf is cached to disk */
|
||||
gchar *filename; /* filename of cached information */
|
||||
|
||||
unsigned char * data; /* The data buffer */
|
||||
guchar *data; /* The data buffer */
|
||||
};
|
||||
|
||||
|
||||
/* The temp buffer functions */
|
||||
|
||||
TempBuf * temp_buf_new (int, int, int, int, int, unsigned char *);
|
||||
TempBuf * temp_buf_new (gint, gint, gint, gint, gint, guchar *);
|
||||
TempBuf * temp_buf_copy (TempBuf *, TempBuf *);
|
||||
TempBuf * temp_buf_resize (TempBuf *, int, int, int, int, int);
|
||||
TempBuf * temp_buf_copy_area (TempBuf *, TempBuf *, int, int, int, int, int);
|
||||
TempBuf * temp_buf_resize (TempBuf *, gint, gint, gint, gint, gint);
|
||||
TempBuf * temp_buf_copy_area (TempBuf *, TempBuf *,
|
||||
gint, gint, gint, gint, gint);
|
||||
void temp_buf_free (TempBuf *);
|
||||
unsigned char * temp_buf_data (TempBuf *);
|
||||
guchar * temp_buf_data (TempBuf *);
|
||||
|
||||
/* The mask buffer functions */
|
||||
|
||||
MaskBuf * mask_buf_new (int, int);
|
||||
MaskBuf * mask_buf_new (gint, gint);
|
||||
void mask_buf_free (MaskBuf *);
|
||||
unsigned char * mask_buf_data (MaskBuf *);
|
||||
guchar * mask_buf_data (MaskBuf *);
|
||||
|
||||
/* The disk caching functions */
|
||||
|
||||
|
@ -58,7 +58,7 @@ void temp_buf_unswap (TempBuf *);
|
|||
void temp_buf_swap_free (TempBuf *);
|
||||
|
||||
|
||||
/* Called by app_procs:exit to free up the cached undo buffer */
|
||||
/* Called by app_procs:exit() to free up the cached undo buffer */
|
||||
|
||||
void swapping_free (void);
|
||||
|
||||
|
|
|
@ -15,17 +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 "appenv.h"
|
||||
#include "drawable.h"
|
||||
#include "general.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimpui.h"
|
||||
#include "interface.h"
|
||||
#include "threshold.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define HISTOGRAM_WIDTH 256
|
||||
#define HISTOGRAM_HEIGHT 150
|
||||
|
||||
|
|
|
@ -27,16 +27,16 @@
|
|||
#include "gdisplay.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "rect_select.h"
|
||||
#include "interface.h"
|
||||
#include "bezier_select.h"
|
||||
#include "bezier_selectP.h"
|
||||
#include "paths_dialogP.h"
|
||||
#include "selection_options.h"
|
||||
#include "undo.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
/* Bezier extensions made by Raphael FRANCOIS (fraph@ibm.net)
|
||||
|
||||
BEZIER_EXTENDS VER 1.0
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include "gimpdnd.h"
|
||||
#include "gimpui.h"
|
||||
#include "gradient.h"
|
||||
#include "interface.h"
|
||||
#include "paint_options.h"
|
||||
#include "selection.h"
|
||||
#include "tools.h"
|
||||
|
@ -41,9 +40,10 @@
|
|||
#include "tile.h"
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
/* target size */
|
||||
#define TARGET_HEIGHT 15
|
||||
|
|
|
@ -15,7 +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 <stdlib.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
|
@ -28,14 +28,12 @@
|
|||
#include "gimage_mask.h"
|
||||
#include "gimprc.h"
|
||||
#include "gimpui.h"
|
||||
#include "interface.h"
|
||||
#include "paint_funcs.h"
|
||||
#include "paint_options.h"
|
||||
#include "selection.h"
|
||||
#include "tools.h"
|
||||
#include "undo.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
/* the bucket fill structures */
|
||||
|
|
|
@ -15,12 +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 <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "boundary.h"
|
||||
#include "by_color_select.h"
|
||||
#include "colormaps.h"
|
||||
#include "cursorutil.h"
|
||||
#include "drawable.h"
|
||||
#include "draw_core.h"
|
||||
|
@ -34,7 +35,6 @@
|
|||
|
||||
#include "tile.h" /* ick. */
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#define PREVIEW_WIDTH 256
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "appenv.h"
|
||||
#include "channel.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "layer.h"
|
||||
|
@ -34,15 +33,17 @@
|
|||
#include "gimpsignal.h"
|
||||
#include "gimppreviewcache.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
#include "tile.h"
|
||||
|
||||
#include "gimplut.h"
|
||||
#include "lut_funcs.h"
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
enum {
|
||||
REMOVED,
|
||||
LAST_SIGNAL
|
||||
|
|
|
@ -27,16 +27,16 @@
|
|||
#include "gdisplay.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "gimpui.h"
|
||||
#include "interface.h"
|
||||
#include "parasitelist.h"
|
||||
|
||||
#include "libgimp/gimpsizeentry.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
#include "layer_pvt.h"
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define ENTRY_WIDTH 60
|
||||
|
||||
typedef struct _OffsetDialog OffsetDialog;
|
||||
|
|
|
@ -21,10 +21,8 @@
|
|||
|
||||
#include "appenv.h"
|
||||
#include "channels_dialog.h"
|
||||
#include "colormaps.h"
|
||||
#include "color_panel.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage.h"
|
||||
#include "gimage_mask.h"
|
||||
|
@ -38,6 +36,8 @@
|
|||
#include "paint_funcs.h"
|
||||
#include "undo.h"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "pixmaps/eye.xbm"
|
||||
|
@ -49,8 +49,6 @@
|
|||
#include "pixmaps/delete.xpm"
|
||||
#include "pixmaps/toselection.xpm"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
|
||||
#define COMPONENT_BASE_ID 0x10000000
|
||||
|
||||
typedef struct _ChannelsDialog ChannelsDialog;
|
||||
|
|
|
@ -22,11 +22,9 @@
|
|||
|
||||
#include "appenv.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gimpui.h"
|
||||
#include "interface.h"
|
||||
#include "paint_funcs.h"
|
||||
#include "paint_core.h"
|
||||
#include "paint_options.h"
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include "appenv.h"
|
||||
#include "color_panel.h"
|
||||
#include "color_notebook.h"
|
||||
#include "colormaps.h"
|
||||
#include "gimpdnd.h"
|
||||
|
||||
|
||||
#define EVENT_MASK GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK | \
|
||||
GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK | \
|
||||
GDK_LEAVE_NOTIFY_MASK
|
||||
|
|
|
@ -17,14 +17,12 @@
|
|||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "color_select.h"
|
||||
#include "colormaps.h"
|
||||
#include "errors.h"
|
||||
#include "gimpdnd.h"
|
||||
#include "gimprc.h"
|
||||
#include "gimpui.h"
|
||||
|
@ -32,8 +30,10 @@
|
|||
#include "color_area.h" /* for color_area_draw_rect */
|
||||
|
||||
#include "libgimp/color_selector.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define XY_DEF_WIDTH 240
|
||||
#define XY_DEF_HEIGHT 240
|
||||
#define Z_DEF_WIDTH 15
|
||||
|
@ -879,7 +879,6 @@ color_select_update_colors (ColorSelect *csp,
|
|||
if (which)
|
||||
{
|
||||
window = csp->orig_color->window;
|
||||
color.pixel = old_color_pixel;
|
||||
red = csp->orig_values[0];
|
||||
green = csp->orig_values[1];
|
||||
blue = csp->orig_values[2];
|
||||
|
@ -887,7 +886,6 @@ color_select_update_colors (ColorSelect *csp,
|
|||
else
|
||||
{
|
||||
window = csp->new_color->window;
|
||||
color.pixel = new_color_pixel;
|
||||
red = csp->values[COLOR_SELECT_RED];
|
||||
green = csp->values[COLOR_SELECT_GREEN];
|
||||
blue = csp->values[COLOR_SELECT_BLUE];
|
||||
|
|
|
@ -1,21 +1,24 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include "gdk/gdkkeysyms.h"
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "color_notebook.h"
|
||||
#include "image_render.h"
|
||||
#include "dialog_handler.h"
|
||||
#include "colormaps.h"
|
||||
#include "color_area.h"
|
||||
#include "general.h"
|
||||
#include "gimpdnd.h"
|
||||
#include "gimpui.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
/* Add these features:
|
||||
*
|
||||
* load/save colormaps
|
||||
|
|
|
@ -31,12 +31,6 @@ gulong g_color_pixel;
|
|||
gulong g_normal_guide_pixel;
|
||||
gulong g_active_guide_pixel;
|
||||
|
||||
gulong foreground_pixel;
|
||||
gulong background_pixel;
|
||||
|
||||
gulong old_color_pixel;
|
||||
gulong new_color_pixel;
|
||||
|
||||
gulong marching_ants_pixels[8];
|
||||
|
||||
static void
|
||||
|
@ -51,11 +45,6 @@ set_app_colors (void)
|
|||
|
||||
g_normal_guide_pixel = get_color (0, 127, 255);
|
||||
g_active_guide_pixel = get_color (255, 0, 0);
|
||||
|
||||
foreground_pixel = get_color (0, 0, 0);
|
||||
background_pixel = get_color (255, 255, 255);
|
||||
old_color_pixel = get_color (0, 0, 0);
|
||||
new_color_pixel = get_color (255, 255, 255);
|
||||
}
|
||||
|
||||
gulong
|
||||
|
@ -69,15 +58,11 @@ get_color (int red,
|
|||
void
|
||||
get_standard_colormaps (void)
|
||||
{
|
||||
GtkPreviewInfo *info;
|
||||
g_visual = gdk_rgb_get_visual ();
|
||||
g_cmap = gdk_rgb_get_cmap ();
|
||||
|
||||
gtk_widget_set_default_visual (gtk_preview_get_visual ());
|
||||
gtk_widget_set_default_colormap (gtk_preview_get_cmap ());
|
||||
|
||||
info = gtk_preview_get_info ();
|
||||
g_visual = info->visual;
|
||||
|
||||
g_cmap = info->cmap;
|
||||
gtk_widget_set_default_visual (g_visual);
|
||||
gtk_widget_set_default_colormap (g_cmap);
|
||||
|
||||
set_app_colors ();
|
||||
}
|
||||
|
|
|
@ -28,17 +28,11 @@ extern gulong g_black_pixel;
|
|||
extern gulong g_gray_pixel;
|
||||
extern gulong g_white_pixel;
|
||||
extern gulong g_color_pixel;
|
||||
|
||||
/* Pixel values for guides */
|
||||
extern gulong g_normal_guide_pixel;
|
||||
extern gulong g_active_guide_pixel;
|
||||
|
||||
/* Foreground and Background colors */
|
||||
extern gulong foreground_pixel;
|
||||
extern gulong background_pixel;
|
||||
|
||||
/* Old and New colors */
|
||||
extern gulong old_color_pixel;
|
||||
extern gulong new_color_pixel;
|
||||
|
||||
/* Colormap entries reserved for color cycled marching ants--optional */
|
||||
extern gulong marching_ants_pixels[8];
|
||||
|
||||
|
|
|
@ -15,11 +15,12 @@
|
|||
* 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 "appenv.h"
|
||||
#include "about_dialog.h"
|
||||
#include "app_procs.h"
|
||||
#include "brush_select.h"
|
||||
#include "colormaps.h"
|
||||
#include "colormap_dialog.i.h"
|
||||
#include "color_area.h"
|
||||
#include "commands.h"
|
||||
|
@ -56,8 +57,6 @@
|
|||
#include "tools.h"
|
||||
#include "undo.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "cursorutil.h"
|
||||
#include "context_manager.h"
|
||||
#include "gdisplay.h"
|
||||
|
@ -107,28 +106,6 @@ context_manager_tool_changed (GimpContext *user_context,
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
context_manager_foreground_changed (GimpContext *context,
|
||||
gint r,
|
||||
gint g,
|
||||
gint b,
|
||||
gpointer data)
|
||||
{
|
||||
if (no_interface == FALSE)
|
||||
foreground_pixel = get_color (r, g, b);
|
||||
}
|
||||
|
||||
static void
|
||||
context_manager_background_changed (GimpContext *context,
|
||||
gint r,
|
||||
gint g,
|
||||
gint b,
|
||||
gpointer data)
|
||||
{
|
||||
if (no_interface == FALSE)
|
||||
background_pixel = get_color (r, g, b);
|
||||
}
|
||||
|
||||
void
|
||||
context_manager_init (void)
|
||||
{
|
||||
|
@ -158,14 +135,6 @@ context_manager_init (void)
|
|||
GTK_SIGNAL_FUNC (context_manager_tool_changed),
|
||||
NULL);
|
||||
|
||||
/* Update color-related stuff */
|
||||
gtk_signal_connect (GTK_OBJECT (user_context), "foreground_changed",
|
||||
GTK_SIGNAL_FUNC (context_manager_foreground_changed),
|
||||
NULL);
|
||||
gtk_signal_connect (GTK_OBJECT (user_context), "background_changed",
|
||||
GTK_SIGNAL_FUNC (context_manager_background_changed),
|
||||
NULL);
|
||||
|
||||
/* Make the user contect the currently active context */
|
||||
gimp_context_set_current (user_context);
|
||||
|
||||
|
|
|
@ -97,15 +97,15 @@
|
|||
#include "fsdither.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimpui.h"
|
||||
#include "interface.h"
|
||||
#include "undo.h"
|
||||
#include "palette.h"
|
||||
#include "palette_select.h"
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "layer_pvt.h" /* ick. */
|
||||
#include "drawable_pvt.h" /* ick ick. */
|
||||
#include "tile_manager_pvt.h" /* ick ick ick. */
|
||||
|
|
|
@ -15,13 +15,12 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "convolve.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimpui.h"
|
||||
|
@ -32,9 +31,9 @@
|
|||
#include "tools.h"
|
||||
#include "gimage.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define FIELD_COLS 4
|
||||
#define MIN_BLUR 64 /* (8/9 original pixel) */
|
||||
#define MAX_BLUR 0.25 /* (1/33 original pixel) */
|
||||
|
@ -251,7 +250,7 @@ convolve_modifier_key_func (Tool *tool,
|
|||
}
|
||||
|
||||
Tool *
|
||||
tools_new_convolve ()
|
||||
tools_new_convolve (void)
|
||||
{
|
||||
Tool * tool;
|
||||
PaintCore * private;
|
||||
|
@ -290,7 +289,7 @@ convolve_motion (PaintCore *paint_core,
|
|||
{
|
||||
GImage *gimage;
|
||||
TempBuf *area;
|
||||
unsigned char *temp_data;
|
||||
guchar *temp_data;
|
||||
PixelRegion srcPR, destPR, tempPR;
|
||||
gdouble scale;
|
||||
|
||||
|
@ -312,7 +311,8 @@ convolve_motion (PaintCore *paint_core,
|
|||
return;
|
||||
|
||||
/* configure the pixel regions correctly */
|
||||
pixel_region_init (&srcPR, drawable_data (drawable), area->x, area->y, area->width, area->height, FALSE);
|
||||
pixel_region_init (&srcPR, drawable_data (drawable),
|
||||
area->x, area->y, area->width, area->height, FALSE);
|
||||
|
||||
destPR.bytes = area->bytes;
|
||||
destPR.x = 0; destPR.y = 0;
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "appenv.h"
|
||||
#include "channel.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "layer.h"
|
||||
|
@ -34,15 +33,17 @@
|
|||
#include "gimpsignal.h"
|
||||
#include "gimppreviewcache.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
#include "tile.h"
|
||||
|
||||
#include "gimplut.h"
|
||||
#include "lut_funcs.h"
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
enum {
|
||||
REMOVED,
|
||||
LAST_SIGNAL
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "appenv.h"
|
||||
#include "channel.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "layer.h"
|
||||
|
@ -34,15 +33,17 @@
|
|||
#include "gimpsignal.h"
|
||||
#include "gimppreviewcache.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
#include "tile.h"
|
||||
|
||||
#include "gimplut.h"
|
||||
#include "lut_funcs.h"
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
enum {
|
||||
REMOVED,
|
||||
LAST_SIGNAL
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include "gimpdnd.h"
|
||||
#include "gimpui.h"
|
||||
#include "gradient.h"
|
||||
#include "interface.h"
|
||||
#include "paint_options.h"
|
||||
#include "selection.h"
|
||||
#include "tools.h"
|
||||
|
@ -41,9 +40,10 @@
|
|||
#include "tile.h"
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
/* target size */
|
||||
#define TARGET_HEIGHT 15
|
||||
|
|
|
@ -15,18 +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 <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include "config.h"
|
||||
|
||||
#include "appenv.h"
|
||||
#include "drawable.h"
|
||||
#include "interface.h"
|
||||
#include "invert.h"
|
||||
#include "gimage.h"
|
||||
#include "gimplut.h"
|
||||
#include "lut_funcs.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
|
@ -35,7 +32,7 @@ image_invert (GimpImage *gimage)
|
|||
{
|
||||
GimpDrawable *drawable;
|
||||
Argument *return_vals;
|
||||
int nreturn_vals;
|
||||
gint nreturn_vals;
|
||||
|
||||
drawable = gimage_active_drawable (gimage);
|
||||
|
||||
|
@ -63,14 +60,16 @@ void
|
|||
invert (GimpDrawable *drawable)
|
||||
{
|
||||
PixelRegion srcPR, destPR;
|
||||
int x1, y1, x2, y2;
|
||||
gint x1, y1, x2, y2;
|
||||
GimpLut *lut;
|
||||
|
||||
lut = invert_lut_new (gimp_drawable_bytes (drawable));
|
||||
|
||||
drawable_mask_bounds (drawable, &x1, &y1, &x2, &y2);
|
||||
pixel_region_init (&srcPR, drawable_data (drawable), x1, y1, (x2 - x1), (y2 - y1), FALSE);
|
||||
pixel_region_init (&destPR, drawable_shadow (drawable), x1, y1, (x2 - x1), (y2 - y1), TRUE);
|
||||
pixel_region_init (&srcPR, drawable_data (drawable),
|
||||
x1, y1, (x2 - x1), (y2 - y1), FALSE);
|
||||
pixel_region_init (&destPR, drawable_shadow (drawable),
|
||||
x1, y1, (x2 - x1), (y2 - y1), TRUE);
|
||||
|
||||
pixel_regions_process_parallel ((p_func)gimp_lut_process, lut,
|
||||
2, &srcPR, &destPR);
|
||||
|
|
|
@ -27,16 +27,16 @@
|
|||
#include "gdisplay.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "gimpui.h"
|
||||
#include "interface.h"
|
||||
#include "parasitelist.h"
|
||||
|
||||
#include "libgimp/gimpsizeentry.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
#include "layer_pvt.h"
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define ENTRY_WIDTH 60
|
||||
|
||||
typedef struct _OffsetDialog OffsetDialog;
|
||||
|
|
|
@ -97,15 +97,15 @@
|
|||
#include "fsdither.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimpui.h"
|
||||
#include "interface.h"
|
||||
#include "undo.h"
|
||||
#include "palette.h"
|
||||
#include "palette_select.h"
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "layer_pvt.h" /* ick. */
|
||||
#include "drawable_pvt.h" /* ick ick. */
|
||||
#include "tile_manager_pvt.h" /* ick ick ick. */
|
||||
|
|
|
@ -27,16 +27,16 @@
|
|||
#include "gdisplay.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "gimpui.h"
|
||||
#include "interface.h"
|
||||
#include "parasitelist.h"
|
||||
|
||||
#include "libgimp/gimpsizeentry.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
#include "layer_pvt.h"
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define ENTRY_WIDTH 60
|
||||
|
||||
typedef struct _OffsetDialog OffsetDialog;
|
||||
|
|
|
@ -15,17 +15,18 @@
|
|||
* 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 "gimpimageP.h"
|
||||
#include "cursorutil.h"
|
||||
#include "drawable.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "paint_funcs.h"
|
||||
#include "libgimp/parasite.h"
|
||||
#include "parasitelist.h"
|
||||
#include "undo.h"
|
||||
#include "gimpsignal.h"
|
||||
|
@ -33,16 +34,17 @@
|
|||
#include "path.h"
|
||||
#include "gimprc.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
|
||||
#include "tile_manager.h"
|
||||
#include "tile.h"
|
||||
#include "layer_pvt.h"
|
||||
#include "drawable_pvt.h" /* ick ick. */
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
#define TRC(x) printf x
|
||||
|
|
|
@ -17,26 +17,23 @@
|
|||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "drawable.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gimprc.h"
|
||||
#include "interface.h"
|
||||
#include "layer.h"
|
||||
#include "paint_core.h"
|
||||
#include "paint_options.h"
|
||||
#include "undo.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
#include "tile_manager_pvt.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
/* local variables */
|
||||
static int gimage_mask_stroking = FALSE;
|
||||
|
||||
|
|
|
@ -15,17 +15,18 @@
|
|||
* 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 "gimpimageP.h"
|
||||
#include "cursorutil.h"
|
||||
#include "drawable.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "paint_funcs.h"
|
||||
#include "libgimp/parasite.h"
|
||||
#include "parasitelist.h"
|
||||
#include "undo.h"
|
||||
#include "gimpsignal.h"
|
||||
|
@ -33,16 +34,17 @@
|
|||
#include "path.h"
|
||||
#include "gimprc.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
|
||||
#include "tile_manager.h"
|
||||
#include "tile.h"
|
||||
#include "layer_pvt.h"
|
||||
#include "drawable_pvt.h" /* ick ick. */
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
#define TRC(x) printf x
|
||||
|
|
|
@ -15,17 +15,18 @@
|
|||
* 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 "gimpimageP.h"
|
||||
#include "cursorutil.h"
|
||||
#include "drawable.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "paint_funcs.h"
|
||||
#include "libgimp/parasite.h"
|
||||
#include "parasitelist.h"
|
||||
#include "undo.h"
|
||||
#include "gimpsignal.h"
|
||||
|
@ -33,16 +34,17 @@
|
|||
#include "path.h"
|
||||
#include "gimprc.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
|
||||
#include "tile_manager.h"
|
||||
#include "tile.h"
|
||||
#include "layer_pvt.h"
|
||||
#include "drawable_pvt.h" /* ick ick. */
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
#define TRC(x) printf x
|
||||
|
|
|
@ -15,17 +15,18 @@
|
|||
* 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 "gimpimageP.h"
|
||||
#include "cursorutil.h"
|
||||
#include "drawable.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "paint_funcs.h"
|
||||
#include "libgimp/parasite.h"
|
||||
#include "parasitelist.h"
|
||||
#include "undo.h"
|
||||
#include "gimpsignal.h"
|
||||
|
@ -33,16 +34,17 @@
|
|||
#include "path.h"
|
||||
#include "gimprc.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
|
||||
#include "tile_manager.h"
|
||||
#include "tile.h"
|
||||
#include "layer_pvt.h"
|
||||
#include "drawable_pvt.h" /* ick ick. */
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
#define TRC(x) printf x
|
||||
|
|
|
@ -15,17 +15,18 @@
|
|||
* 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 "gimpimageP.h"
|
||||
#include "cursorutil.h"
|
||||
#include "drawable.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "paint_funcs.h"
|
||||
#include "libgimp/parasite.h"
|
||||
#include "parasitelist.h"
|
||||
#include "undo.h"
|
||||
#include "gimpsignal.h"
|
||||
|
@ -33,16 +34,17 @@
|
|||
#include "path.h"
|
||||
#include "gimprc.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
|
||||
#include "tile_manager.h"
|
||||
#include "tile.h"
|
||||
#include "layer_pvt.h"
|
||||
#include "drawable_pvt.h" /* ick ick. */
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
#define TRC(x) printf x
|
||||
|
|
|
@ -15,20 +15,20 @@
|
|||
* 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 "appenv.h"
|
||||
#include "by_color_select.h"
|
||||
#include "channel.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gdisplay_ops.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gimpparasite.h"
|
||||
#include "gimprc.h"
|
||||
#include "layer.h"
|
||||
#include "paint_core.h"
|
||||
|
@ -46,8 +46,8 @@
|
|||
#include "tile.h" /* ick. */
|
||||
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "gimpparasite.h"
|
||||
|
||||
|
||||
/*#define DEBUG*/
|
||||
|
|
|
@ -15,17 +15,18 @@
|
|||
* 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 "gimpimageP.h"
|
||||
#include "cursorutil.h"
|
||||
#include "drawable.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "paint_funcs.h"
|
||||
#include "libgimp/parasite.h"
|
||||
#include "parasitelist.h"
|
||||
#include "undo.h"
|
||||
#include "gimpsignal.h"
|
||||
|
@ -33,16 +34,17 @@
|
|||
#include "path.h"
|
||||
#include "gimprc.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
|
||||
#include "tile_manager.h"
|
||||
#include "tile.h"
|
||||
#include "layer_pvt.h"
|
||||
#include "drawable_pvt.h" /* ick ick. */
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
#define TRC(x) printf x
|
||||
|
|
|
@ -15,12 +15,8 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "appenv.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage.h"
|
||||
#include "gimage_mask.h"
|
||||
|
@ -29,6 +25,7 @@
|
|||
|
||||
#include "tile_manager_pvt.h"
|
||||
|
||||
|
||||
#define WAITING 0
|
||||
#define WORKING 1
|
||||
|
||||
|
@ -41,10 +38,10 @@ typedef struct _ImageMap
|
|||
GimpDrawable *drawable;
|
||||
TileManager *undo_tiles;
|
||||
ImageMapApplyFunc apply_func;
|
||||
void * user_data;
|
||||
gpointer user_data;
|
||||
PixelRegion srcPR, destPR;
|
||||
void *pr;
|
||||
int state;
|
||||
gint state;
|
||||
gint idle;
|
||||
} _ImageMap;
|
||||
|
||||
|
@ -357,4 +354,3 @@ image_map_get_color_at (ImageMap image_map,
|
|||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -15,27 +15,26 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "config.h"
|
||||
|
||||
#include "appenv.h"
|
||||
#include "drawable.h"
|
||||
#include "layer.h"
|
||||
#include "errors.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "interface.h"
|
||||
#include "paint_funcs.h"
|
||||
#include "undo.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "layer_pvt.h"
|
||||
#include "tile_manager_pvt.h" /* ick. */
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
void
|
||||
floating_sel_attach (Layer *layer,
|
||||
GimpDrawable *drawable)
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage.h"
|
||||
|
@ -35,14 +35,16 @@
|
|||
#include "gimpsignal.h"
|
||||
#include "gimppreviewcache.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "layer_pvt.h"
|
||||
#include "tile_manager_pvt.h"
|
||||
#include "tile.h" /* ick. */
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
enum {
|
||||
REMOVED,
|
||||
LAST_SIGNAL
|
||||
|
|
|
@ -15,17 +15,18 @@
|
|||
* 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 "gimpimageP.h"
|
||||
#include "cursorutil.h"
|
||||
#include "drawable.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "paint_funcs.h"
|
||||
#include "libgimp/parasite.h"
|
||||
#include "parasitelist.h"
|
||||
#include "undo.h"
|
||||
#include "gimpsignal.h"
|
||||
|
@ -33,16 +34,17 @@
|
|||
#include "path.h"
|
||||
#include "gimprc.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
|
||||
#include "tile_manager.h"
|
||||
#include "tile.h"
|
||||
#include "layer_pvt.h"
|
||||
#include "drawable_pvt.h" /* ick ick. */
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
#define TRC(x) printf x
|
||||
|
|
|
@ -50,9 +50,10 @@
|
|||
#include "bezier_selectP.h"
|
||||
#include "layer_pvt.h" /* ick. (not alone either) */
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define OVERHEAD 25 /* in units of pixel area */
|
||||
#define EPSILON 5
|
||||
|
|
|
@ -15,8 +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 <stdio.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "cursorutil.h"
|
||||
#include "drawable.h"
|
||||
#include "gdisplay.h"
|
||||
|
@ -25,11 +28,11 @@
|
|||
#include "curves.h"
|
||||
#include "gimplut.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpenv.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#define GRAPH 0x1
|
||||
#define XRANGE_TOP 0x2
|
||||
#define XRANGE_BOTTOM 0x4
|
||||
|
|
|
@ -30,13 +30,13 @@
|
|||
#include "gimpui.h"
|
||||
#include "gradient.h"
|
||||
#include "gradient_header.h"
|
||||
#include "interface.h"
|
||||
#include "session.h"
|
||||
#include "tools.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpenv.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#define CELL_SIZE 20 /* The size of the preview cells */
|
||||
|
||||
#define PREVIEW_EVENT_MASK GDK_BUTTON_PRESS_MASK | \
|
||||
|
|
|
@ -18,15 +18,16 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "dialog_handler.h"
|
||||
#include "gimprc.h"
|
||||
#include "gimpui.h"
|
||||
#include "info_dialog.h"
|
||||
#include "interface.h"
|
||||
#include "session.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpsizeentry.h"
|
||||
|
||||
|
||||
/* static functions */
|
||||
static void info_field_new (InfoDialog *, InfoFieldType, char *, GtkWidget *,
|
||||
|
|
|
@ -26,13 +26,13 @@
|
|||
#include "gximage.h"
|
||||
#include "info_dialog.h"
|
||||
#include "info_window.h"
|
||||
#include "interface.h"
|
||||
#include "scroll.h"
|
||||
#include "tools.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpunit.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#define MAX_BUF 256
|
||||
|
||||
typedef struct _InfoWinData InfoWinData;
|
||||
|
|
|
@ -21,15 +21,17 @@
|
|||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
#include "gtk/gtk.h"
|
||||
|
||||
#include "tips_dialog.h"
|
||||
#include "gimprc.h"
|
||||
#include "gimphelp.h"
|
||||
#include "interface.h"
|
||||
#include "wilber.h"
|
||||
#include "gimpui.h"
|
||||
|
||||
#include "libgimp/gimpenv.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpenv.h"
|
||||
|
||||
#include "wilber.h"
|
||||
|
||||
|
||||
#define TIPS_DIR_NAME "tips"
|
||||
|
||||
|
|
|
@ -1,8 +1,23 @@
|
|||
/* 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 __TIPS_DIALOG_H__
|
||||
#define __TIPS_DIALOG_H__
|
||||
|
||||
|
||||
void tips_dialog_create (void);
|
||||
|
||||
|
||||
#endif /* __TIPS_DIALOG_H__ */
|
||||
|
|
|
@ -18,19 +18,18 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "gdk/gdkkeysyms.h"
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "bucket_fill.h"
|
||||
#include "colormaps.h"
|
||||
#include "cursorutil.h"
|
||||
#include "devices.h"
|
||||
#include "disp_callbacks.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "gimprc.h"
|
||||
#include "info_window.h"
|
||||
#include "interface.h"
|
||||
#include "layer_select.h"
|
||||
#include "move.h"
|
||||
#include "patterns.h"
|
||||
|
|
|
@ -18,19 +18,18 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "gdk/gdkkeysyms.h"
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "bucket_fill.h"
|
||||
#include "colormaps.h"
|
||||
#include "cursorutil.h"
|
||||
#include "devices.h"
|
||||
#include "disp_callbacks.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "gimprc.h"
|
||||
#include "info_window.h"
|
||||
#include "interface.h"
|
||||
#include "layer_select.h"
|
||||
#include "move.h"
|
||||
#include "patterns.h"
|
||||
|
|
|
@ -15,9 +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 <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <gtk/gtkmain.h>
|
||||
#include "config.h"
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
|
@ -31,7 +29,6 @@
|
|||
#include "scale.h"
|
||||
#include "gimprc.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
static void gdisplay_close_warning_callback (GtkWidget *widget,
|
||||
|
|
|
@ -17,9 +17,8 @@
|
|||
*/
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "errors.h"
|
||||
#include "gimprc.h"
|
||||
#include "gximage.h"
|
||||
#include "image_render.h"
|
||||
|
|
|
@ -15,11 +15,9 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include "appenv.h"
|
||||
#include "boundary.h"
|
||||
#include "colormaps.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gdisplay_ops.h"
|
||||
#include "gimage_mask.h"
|
||||
|
|
|
@ -50,9 +50,10 @@
|
|||
#include "bezier_selectP.h"
|
||||
#include "layer_pvt.h" /* ick. (not alone either) */
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define OVERHEAD 25 /* in units of pixel area */
|
||||
#define EPSILON 5
|
||||
|
|
|
@ -18,19 +18,18 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "gdk/gdkkeysyms.h"
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "bucket_fill.h"
|
||||
#include "colormaps.h"
|
||||
#include "cursorutil.h"
|
||||
#include "devices.h"
|
||||
#include "disp_callbacks.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "gimprc.h"
|
||||
#include "info_window.h"
|
||||
#include "interface.h"
|
||||
#include "layer_select.h"
|
||||
#include "move.h"
|
||||
#include "patterns.h"
|
||||
|
|
|
@ -15,18 +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 <stdlib.h>
|
||||
#include "gdk/gdkkeysyms.h"
|
||||
#include "config.h"
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimprc.h"
|
||||
#include "interface.h"
|
||||
#include "layer_select.h"
|
||||
#include "layers_dialogP.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
|
@ -34,7 +32,8 @@
|
|||
|
||||
typedef struct _LayerSelect LayerSelect;
|
||||
|
||||
struct _LayerSelect {
|
||||
struct _LayerSelect
|
||||
{
|
||||
GtkWidget *shell;
|
||||
GtkWidget *layer_preview;
|
||||
GtkWidget *label;
|
||||
|
@ -43,13 +42,13 @@ struct _LayerSelect {
|
|||
|
||||
GImage *gimage;
|
||||
Layer *current_layer;
|
||||
int dirty;
|
||||
int image_width, image_height;
|
||||
double ratio;
|
||||
gboolean dirty;
|
||||
gint image_width, image_height;
|
||||
gdouble ratio;
|
||||
};
|
||||
|
||||
/* layer widget function prototypes */
|
||||
static void layer_select_advance (LayerSelect *, int);
|
||||
static void layer_select_advance (LayerSelect *, gint);
|
||||
static void layer_select_forward (LayerSelect *);
|
||||
static void layer_select_backward (LayerSelect *);
|
||||
static void layer_select_end (LayerSelect *, guint32);
|
||||
|
@ -72,7 +71,7 @@ LayerSelect *layer_select = NULL;
|
|||
|
||||
void
|
||||
layer_select_init (GImage *gimage,
|
||||
int dir,
|
||||
gint dir,
|
||||
guint32 time)
|
||||
{
|
||||
GtkWidget *frame1;
|
||||
|
@ -160,7 +159,7 @@ layer_select_init (GImage *gimage,
|
|||
}
|
||||
|
||||
void
|
||||
layer_select_update_preview_size ()
|
||||
layer_select_update_preview_size (void)
|
||||
{
|
||||
if (layer_select != NULL)
|
||||
{
|
||||
|
@ -177,11 +176,11 @@ layer_select_update_preview_size ()
|
|||
|
||||
static void
|
||||
layer_select_advance (LayerSelect *layer_select,
|
||||
int dir)
|
||||
gint dir)
|
||||
{
|
||||
int index;
|
||||
int length;
|
||||
int count;
|
||||
gint index;
|
||||
gint length;
|
||||
gint count;
|
||||
GSList *list;
|
||||
GSList *nth;
|
||||
Layer *layer;
|
||||
|
@ -260,7 +259,7 @@ static void
|
|||
layer_select_set_gimage (LayerSelect *layer_select,
|
||||
GImage *gimage)
|
||||
{
|
||||
int image_width, image_height;
|
||||
gint image_width, image_height;
|
||||
|
||||
layer_select->gimage = gimage;
|
||||
layer_select->current_layer = gimage->active_layer;
|
||||
|
@ -304,7 +303,8 @@ layer_select_set_layer (LayerSelect *layer_select)
|
|||
return;
|
||||
|
||||
/* Set the layer label */
|
||||
gtk_label_set_text (GTK_LABEL (layer_select->label), drawable_get_name (GIMP_DRAWABLE(layer)));
|
||||
gtk_label_set_text (GTK_LABEL (layer_select->label),
|
||||
drawable_get_name (GIMP_DRAWABLE (layer)));
|
||||
}
|
||||
|
||||
|
||||
|
@ -405,8 +405,8 @@ preview_redraw (LayerSelect *layer_select)
|
|||
{
|
||||
Layer *layer;
|
||||
TempBuf *preview_buf;
|
||||
int w, h;
|
||||
int offx, offy;
|
||||
gint w, h;
|
||||
gint offx, offy;
|
||||
|
||||
if (! (layer = (layer_select->current_layer)))
|
||||
return;
|
||||
|
@ -443,7 +443,8 @@ preview_redraw (LayerSelect *layer_select)
|
|||
gtk_preview_put (GTK_PREVIEW (layer_select->preview),
|
||||
layer_select->layer_pixmap,
|
||||
layer_select->layer_preview->style->black_gc,
|
||||
0, 0, 0, 0, layer_select->image_width, layer_select->image_height);
|
||||
0, 0, 0, 0,
|
||||
layer_select->image_width, layer_select->image_height);
|
||||
|
||||
/* make sure the image has been transfered completely to the pixmap before
|
||||
* we use it again...
|
||||
|
|
|
@ -17,9 +17,8 @@
|
|||
*/
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "errors.h"
|
||||
#include "gimprc.h"
|
||||
#include "gximage.h"
|
||||
#include "image_render.h"
|
||||
|
|
|
@ -15,11 +15,9 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include "appenv.h"
|
||||
#include "boundary.h"
|
||||
#include "colormaps.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gdisplay_ops.h"
|
||||
#include "gimage_mask.h"
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "gdk/gdkkeysyms.h"
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "cursorutil.h"
|
||||
#include "dialog_handler.h"
|
||||
#include "info_dialog.h"
|
||||
|
@ -32,14 +32,14 @@
|
|||
#include "gimprc.h"
|
||||
#include "gimpui.h"
|
||||
#include "gximage.h"
|
||||
#include "interface.h"
|
||||
#include "nav_window.h"
|
||||
#include "scroll.h"
|
||||
#include "scale.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpunit.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "pixmaps/zoom_in.xpm"
|
||||
#include "pixmaps/zoom_out.xpm"
|
||||
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "gdk/gdkkeysyms.h"
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "cursorutil.h"
|
||||
#include "dialog_handler.h"
|
||||
#include "info_dialog.h"
|
||||
|
@ -32,14 +32,14 @@
|
|||
#include "gimprc.h"
|
||||
#include "gimpui.h"
|
||||
#include "gximage.h"
|
||||
#include "interface.h"
|
||||
#include "nav_window.h"
|
||||
#include "scroll.h"
|
||||
#include "scale.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpunit.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "pixmaps/zoom_in.xpm"
|
||||
#include "pixmaps/zoom_out.xpm"
|
||||
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "gimage.h"
|
||||
#include "gximage.h"
|
||||
#include "errors.h"
|
||||
|
||||
typedef struct _GXImage GXImage;
|
||||
|
||||
|
|
|
@ -17,14 +17,10 @@
|
|||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "dodgeburn.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimplut.h"
|
||||
|
@ -36,9 +32,11 @@
|
|||
#include "tools.h"
|
||||
#include "gimage.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
/* the dodgeburn structures */
|
||||
|
||||
typedef struct _DodgeBurnOptions DodgeBurnOptions;
|
||||
|
@ -279,7 +277,6 @@ dodgeburn_make_luts (PaintCore *paint_core,
|
|||
gimp_lut_setup_exact (lut,
|
||||
lut_func, (void *)&exposure,
|
||||
nchannels);
|
||||
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -330,7 +327,7 @@ dodgeburn_modifier_key_func (Tool *tool,
|
|||
}
|
||||
|
||||
Tool *
|
||||
tools_new_dodgeburn ()
|
||||
tools_new_dodgeburn (void)
|
||||
{
|
||||
Tool * tool;
|
||||
PaintCore * private;
|
||||
|
@ -601,23 +598,17 @@ dodgeburn_shadows_lut_func (void *user_data,
|
|||
|
||||
if (exposure >= 0)
|
||||
{
|
||||
factor = .333333 * exposure;
|
||||
factor = 0.333333 * exposure;
|
||||
new_value = factor + value - factor * value;
|
||||
}
|
||||
else /* exposure < 0 */
|
||||
{
|
||||
factor = -.333333 * exposure;
|
||||
factor = -0.333333 * exposure;
|
||||
if (value < factor)
|
||||
new_value = 0;
|
||||
else /*factor <= value <=1*/
|
||||
new_value = (value - factor)/(1 - factor);
|
||||
}
|
||||
|
||||
return new_value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
10
app/eraser.c
10
app/eraser.c
|
@ -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.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "cursorutil.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gimpui.h"
|
||||
|
@ -33,9 +32,9 @@
|
|||
#include "selection.h"
|
||||
#include "tools.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
/* Defaults */
|
||||
#define ERASER_DEFAULT_HARD FALSE
|
||||
#define ERASER_DEFAULT_INCREMENTAL FALSE
|
||||
|
@ -182,7 +181,7 @@ eraser_paint_func (PaintCore *paint_core,
|
|||
}
|
||||
|
||||
Tool *
|
||||
tools_new_eraser ()
|
||||
tools_new_eraser (void)
|
||||
{
|
||||
Tool * tool;
|
||||
PaintCore * private;
|
||||
|
@ -205,8 +204,7 @@ tools_new_eraser ()
|
|||
|
||||
|
||||
void
|
||||
tools_free_eraser (tool)
|
||||
Tool * tool;
|
||||
tools_free_eraser (Tool *tool)
|
||||
{
|
||||
paint_core_free (tool);
|
||||
}
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
#include "cursorutil.h"
|
||||
#include "dialog_handler.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimage.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "gimpui.h"
|
||||
|
@ -59,9 +58,11 @@
|
|||
#include "docindex.h"
|
||||
#include "undo.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
typedef struct _OverwriteBox OverwriteBox;
|
||||
|
||||
struct _OverwriteBox
|
||||
|
|
|
@ -15,27 +15,26 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "config.h"
|
||||
|
||||
#include "appenv.h"
|
||||
#include "drawable.h"
|
||||
#include "layer.h"
|
||||
#include "errors.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "interface.h"
|
||||
#include "paint_funcs.h"
|
||||
#include "undo.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "layer_pvt.h"
|
||||
#include "tile_manager_pvt.h" /* ick. */
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
void
|
||||
floating_sel_attach (Layer *layer,
|
||||
GimpDrawable *drawable)
|
||||
|
|
|
@ -50,9 +50,10 @@
|
|||
#include "bezier_selectP.h"
|
||||
#include "layer_pvt.h" /* ick. (not alone either) */
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define OVERHEAD 25 /* in units of pixel area */
|
||||
#define EPSILON 5
|
||||
|
|
|
@ -15,9 +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 <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <gtk/gtkmain.h>
|
||||
#include "config.h"
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
|
@ -31,7 +29,6 @@
|
|||
#include "scale.h"
|
||||
#include "gimprc.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
static void gdisplay_close_warning_callback (GtkWidget *widget,
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "layer_pvt.h"
|
||||
#include "channel.h"
|
||||
#include "tools.h"
|
||||
#include "general.h"
|
||||
#include "appenv.h"
|
||||
#include "gimpset.h"
|
||||
#include "dialog_handler.h"
|
||||
|
|
|
@ -17,26 +17,23 @@
|
|||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "drawable.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gimprc.h"
|
||||
#include "interface.h"
|
||||
#include "layer.h"
|
||||
#include "paint_core.h"
|
||||
#include "paint_options.h"
|
||||
#include "undo.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
#include "tile_manager_pvt.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
/* local variables */
|
||||
static int gimage_mask_stroking = FALSE;
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "appenv.h"
|
||||
#include "channel.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "layer.h"
|
||||
|
@ -34,15 +33,17 @@
|
|||
#include "gimpsignal.h"
|
||||
#include "gimppreviewcache.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
#include "tile.h"
|
||||
|
||||
#include "gimplut.h"
|
||||
#include "lut_funcs.h"
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
enum {
|
||||
REMOVED,
|
||||
LAST_SIGNAL
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "gimpbrushlist.h"
|
||||
#include "gimprc.h"
|
||||
#include "gradient_header.h"
|
||||
#include "interface.h"
|
||||
#include "tools.h"
|
||||
|
||||
#include "libgimp/gimplimits.h"
|
||||
|
|
|
@ -15,18 +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 <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include "config.h"
|
||||
|
||||
#include "appenv.h"
|
||||
#include "drawable.h"
|
||||
#include "interface.h"
|
||||
#include "invert.h"
|
||||
#include "gimage.h"
|
||||
#include "gimplut.h"
|
||||
#include "lut_funcs.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
|
@ -35,7 +32,7 @@ image_invert (GimpImage *gimage)
|
|||
{
|
||||
GimpDrawable *drawable;
|
||||
Argument *return_vals;
|
||||
int nreturn_vals;
|
||||
gint nreturn_vals;
|
||||
|
||||
drawable = gimage_active_drawable (gimage);
|
||||
|
||||
|
@ -63,14 +60,16 @@ void
|
|||
invert (GimpDrawable *drawable)
|
||||
{
|
||||
PixelRegion srcPR, destPR;
|
||||
int x1, y1, x2, y2;
|
||||
gint x1, y1, x2, y2;
|
||||
GimpLut *lut;
|
||||
|
||||
lut = invert_lut_new (gimp_drawable_bytes (drawable));
|
||||
|
||||
drawable_mask_bounds (drawable, &x1, &y1, &x2, &y2);
|
||||
pixel_region_init (&srcPR, drawable_data (drawable), x1, y1, (x2 - x1), (y2 - y1), FALSE);
|
||||
pixel_region_init (&destPR, drawable_shadow (drawable), x1, y1, (x2 - x1), (y2 - y1), TRUE);
|
||||
pixel_region_init (&srcPR, drawable_data (drawable),
|
||||
x1, y1, (x2 - x1), (y2 - y1), FALSE);
|
||||
pixel_region_init (&destPR, drawable_shadow (drawable),
|
||||
x1, y1, (x2 - x1), (y2 - y1), TRUE);
|
||||
|
||||
pixel_regions_process_parallel ((p_func)gimp_lut_process, lut,
|
||||
2, &srcPR, &destPR);
|
||||
|
|
|
@ -27,16 +27,16 @@
|
|||
#include "gdisplay.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "gimpui.h"
|
||||
#include "interface.h"
|
||||
#include "parasitelist.h"
|
||||
|
||||
#include "libgimp/gimpsizeentry.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
#include "layer_pvt.h"
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define ENTRY_WIDTH 60
|
||||
|
||||
typedef struct _OffsetDialog OffsetDialog;
|
||||
|
|
|
@ -97,15 +97,15 @@
|
|||
#include "fsdither.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimpui.h"
|
||||
#include "interface.h"
|
||||
#include "undo.h"
|
||||
#include "palette.h"
|
||||
#include "palette_select.h"
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "layer_pvt.h" /* ick. */
|
||||
#include "drawable_pvt.h" /* ick ick. */
|
||||
#include "tile_manager_pvt.h" /* ick ick ick. */
|
||||
|
|
|
@ -27,16 +27,16 @@
|
|||
#include "gdisplay.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "gimpui.h"
|
||||
#include "interface.h"
|
||||
#include "parasitelist.h"
|
||||
|
||||
#include "libgimp/gimpsizeentry.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
#include "layer_pvt.h"
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define ENTRY_WIDTH 60
|
||||
|
||||
typedef struct _OffsetDialog OffsetDialog;
|
||||
|
|
|
@ -15,17 +15,18 @@
|
|||
* 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 "gimpimageP.h"
|
||||
#include "cursorutil.h"
|
||||
#include "drawable.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimage_mask.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "paint_funcs.h"
|
||||
#include "libgimp/parasite.h"
|
||||
#include "parasitelist.h"
|
||||
#include "undo.h"
|
||||
#include "gimpsignal.h"
|
||||
|
@ -33,16 +34,17 @@
|
|||
#include "path.h"
|
||||
#include "gimprc.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
|
||||
#include "tile_manager.h"
|
||||
#include "tile.h"
|
||||
#include "layer_pvt.h"
|
||||
#include "drawable_pvt.h" /* ick ick. */
|
||||
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
#define TRC(x) printf x
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage.h"
|
||||
|
@ -35,14 +35,16 @@
|
|||
#include "gimpsignal.h"
|
||||
#include "gimppreviewcache.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "layer_pvt.h"
|
||||
#include "tile_manager_pvt.h"
|
||||
#include "tile.h" /* ick. */
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
enum {
|
||||
REMOVED,
|
||||
LAST_SIGNAL
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
#include "fileops.h"
|
||||
#include "general.h"
|
||||
#include "gimpparasite.h"
|
||||
#include "gimphelp.h"
|
||||
#include "gimprc.h"
|
||||
#include "menus.h"
|
||||
#include "plug_in.h"
|
||||
|
@ -48,10 +47,12 @@
|
|||
#include "tools.h"
|
||||
|
||||
#include "libgimp/gimpenv.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimputils.h"
|
||||
#include "libgimp/parasite.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define ERROR 0
|
||||
#define DONE 1
|
||||
#define OK 2
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
*
|
||||
* - Add a Gradient brush mode (color changes as you move it).
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -58,11 +57,9 @@
|
|||
#endif
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "cursorutil.h"
|
||||
#include "datafiles.h"
|
||||
#include "errors.h"
|
||||
#include "general.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "gimpdnd.h"
|
||||
#include "gimprc.h"
|
||||
|
@ -73,14 +70,16 @@
|
|||
#include "gradient_select.h"
|
||||
|
||||
#include "libgimp/gimpenv.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "pixmaps/zoom_in.xpm"
|
||||
#include "pixmaps/zoom_out.xpm"
|
||||
|
||||
|
||||
/***** Magic numbers *****/
|
||||
|
||||
#define EPSILON 1e-10
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
*
|
||||
* - Add a Gradient brush mode (color changes as you move it).
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -58,11 +57,9 @@
|
|||
#endif
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "cursorutil.h"
|
||||
#include "datafiles.h"
|
||||
#include "errors.h"
|
||||
#include "general.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "gimpdnd.h"
|
||||
#include "gimprc.h"
|
||||
|
@ -73,14 +70,16 @@
|
|||
#include "gradient_select.h"
|
||||
|
||||
#include "libgimp/gimpenv.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "pixmaps/zoom_in.xpm"
|
||||
#include "pixmaps/zoom_out.xpm"
|
||||
|
||||
|
||||
/***** Magic numbers *****/
|
||||
|
||||
#define EPSILON 1e-10
|
||||
|
|
|
@ -21,10 +21,8 @@
|
|||
|
||||
#include "appenv.h"
|
||||
#include "channels_dialog.h"
|
||||
#include "colormaps.h"
|
||||
#include "color_panel.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage.h"
|
||||
#include "gimage_mask.h"
|
||||
|
@ -38,6 +36,8 @@
|
|||
#include "paint_funcs.h"
|
||||
#include "undo.h"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "pixmaps/eye.xbm"
|
||||
|
@ -49,8 +49,6 @@
|
|||
#include "pixmaps/delete.xpm"
|
||||
#include "pixmaps/toselection.xpm"
|
||||
|
||||
#include "channel_pvt.h"
|
||||
|
||||
#define COMPONENT_BASE_ID 0x10000000
|
||||
|
||||
typedef struct _ChannelsDialog ChannelsDialog;
|
||||
|
|
|
@ -17,14 +17,12 @@
|
|||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "color_select.h"
|
||||
#include "colormaps.h"
|
||||
#include "errors.h"
|
||||
#include "gimpdnd.h"
|
||||
#include "gimprc.h"
|
||||
#include "gimpui.h"
|
||||
|
@ -32,8 +30,10 @@
|
|||
#include "color_area.h" /* for color_area_draw_rect */
|
||||
|
||||
#include "libgimp/color_selector.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define XY_DEF_WIDTH 240
|
||||
#define XY_DEF_HEIGHT 240
|
||||
#define Z_DEF_WIDTH 15
|
||||
|
@ -879,7 +879,6 @@ color_select_update_colors (ColorSelect *csp,
|
|||
if (which)
|
||||
{
|
||||
window = csp->orig_color->window;
|
||||
color.pixel = old_color_pixel;
|
||||
red = csp->orig_values[0];
|
||||
green = csp->orig_values[1];
|
||||
blue = csp->orig_values[2];
|
||||
|
@ -887,7 +886,6 @@ color_select_update_colors (ColorSelect *csp,
|
|||
else
|
||||
{
|
||||
window = csp->new_color->window;
|
||||
color.pixel = new_color_pixel;
|
||||
red = csp->values[COLOR_SELECT_RED];
|
||||
green = csp->values[COLOR_SELECT_GREEN];
|
||||
blue = csp->values[COLOR_SELECT_BLUE];
|
||||
|
|
|
@ -15,11 +15,12 @@
|
|||
* 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 "appenv.h"
|
||||
#include "about_dialog.h"
|
||||
#include "app_procs.h"
|
||||
#include "brush_select.h"
|
||||
#include "colormaps.h"
|
||||
#include "colormap_dialog.i.h"
|
||||
#include "color_area.h"
|
||||
#include "commands.h"
|
||||
|
@ -56,8 +57,6 @@
|
|||
#include "tools.h"
|
||||
#include "undo.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
|
|
@ -30,13 +30,13 @@
|
|||
#include "gimpui.h"
|
||||
#include "gradient.h"
|
||||
#include "gradient_header.h"
|
||||
#include "interface.h"
|
||||
#include "session.h"
|
||||
#include "tools.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpenv.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#define CELL_SIZE 20 /* The size of the preview cells */
|
||||
|
||||
#define PREVIEW_EVENT_MASK GDK_BUTTON_PRESS_MASK | \
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
*
|
||||
* - Add a Gradient brush mode (color changes as you move it).
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -58,11 +57,9 @@
|
|||
#endif
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "cursorutil.h"
|
||||
#include "datafiles.h"
|
||||
#include "errors.h"
|
||||
#include "general.h"
|
||||
#include "gimpcontext.h"
|
||||
#include "gimpdnd.h"
|
||||
#include "gimprc.h"
|
||||
|
@ -73,14 +70,16 @@
|
|||
#include "gradient_select.h"
|
||||
|
||||
#include "libgimp/gimpenv.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimplimits.h"
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/gimpcolorspace.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#include "pixmaps/zoom_in.xpm"
|
||||
#include "pixmaps/zoom_out.xpm"
|
||||
|
||||
|
||||
/***** Magic numbers *****/
|
||||
|
||||
#define EPSILON 1e-10
|
||||
|
|
|
@ -15,11 +15,12 @@
|
|||
* 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 "appenv.h"
|
||||
#include "about_dialog.h"
|
||||
#include "app_procs.h"
|
||||
#include "brush_select.h"
|
||||
#include "colormaps.h"
|
||||
#include "colormap_dialog.i.h"
|
||||
#include "color_area.h"
|
||||
#include "commands.h"
|
||||
|
@ -56,8 +57,6 @@
|
|||
#include "tools.h"
|
||||
#include "undo.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "libgimp/gimpmath.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
|
|
@ -18,15 +18,16 @@
|
|||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "dialog_handler.h"
|
||||
#include "gimprc.h"
|
||||
#include "gimpui.h"
|
||||
#include "info_dialog.h"
|
||||
#include "interface.h"
|
||||
#include "session.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpsizeentry.h"
|
||||
|
||||
|
||||
/* static functions */
|
||||
static void info_field_new (InfoDialog *, InfoFieldType, char *, GtkWidget *,
|
||||
|
|
|
@ -26,13 +26,13 @@
|
|||
#include "gximage.h"
|
||||
#include "info_dialog.h"
|
||||
#include "info_window.h"
|
||||
#include "interface.h"
|
||||
#include "scroll.h"
|
||||
#include "tools.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpunit.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#define MAX_BUF 256
|
||||
|
||||
typedef struct _InfoWinData InfoWinData;
|
||||
|
|
|
@ -30,13 +30,13 @@
|
|||
#include "gimpui.h"
|
||||
#include "gradient.h"
|
||||
#include "gradient_header.h"
|
||||
#include "interface.h"
|
||||
#include "session.h"
|
||||
#include "tools.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpenv.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
#define CELL_SIZE 20 /* The size of the preview cells */
|
||||
|
||||
#define PREVIEW_EVENT_MASK GDK_BUTTON_PRESS_MASK | \
|
||||
|
|
|
@ -15,18 +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 <stdlib.h>
|
||||
#include "gdk/gdkkeysyms.h"
|
||||
#include "config.h"
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimprc.h"
|
||||
#include "interface.h"
|
||||
#include "layer_select.h"
|
||||
#include "layers_dialogP.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
|
@ -34,7 +32,8 @@
|
|||
|
||||
typedef struct _LayerSelect LayerSelect;
|
||||
|
||||
struct _LayerSelect {
|
||||
struct _LayerSelect
|
||||
{
|
||||
GtkWidget *shell;
|
||||
GtkWidget *layer_preview;
|
||||
GtkWidget *label;
|
||||
|
@ -43,13 +42,13 @@ struct _LayerSelect {
|
|||
|
||||
GImage *gimage;
|
||||
Layer *current_layer;
|
||||
int dirty;
|
||||
int image_width, image_height;
|
||||
double ratio;
|
||||
gboolean dirty;
|
||||
gint image_width, image_height;
|
||||
gdouble ratio;
|
||||
};
|
||||
|
||||
/* layer widget function prototypes */
|
||||
static void layer_select_advance (LayerSelect *, int);
|
||||
static void layer_select_advance (LayerSelect *, gint);
|
||||
static void layer_select_forward (LayerSelect *);
|
||||
static void layer_select_backward (LayerSelect *);
|
||||
static void layer_select_end (LayerSelect *, guint32);
|
||||
|
@ -72,7 +71,7 @@ LayerSelect *layer_select = NULL;
|
|||
|
||||
void
|
||||
layer_select_init (GImage *gimage,
|
||||
int dir,
|
||||
gint dir,
|
||||
guint32 time)
|
||||
{
|
||||
GtkWidget *frame1;
|
||||
|
@ -160,7 +159,7 @@ layer_select_init (GImage *gimage,
|
|||
}
|
||||
|
||||
void
|
||||
layer_select_update_preview_size ()
|
||||
layer_select_update_preview_size (void)
|
||||
{
|
||||
if (layer_select != NULL)
|
||||
{
|
||||
|
@ -177,11 +176,11 @@ layer_select_update_preview_size ()
|
|||
|
||||
static void
|
||||
layer_select_advance (LayerSelect *layer_select,
|
||||
int dir)
|
||||
gint dir)
|
||||
{
|
||||
int index;
|
||||
int length;
|
||||
int count;
|
||||
gint index;
|
||||
gint length;
|
||||
gint count;
|
||||
GSList *list;
|
||||
GSList *nth;
|
||||
Layer *layer;
|
||||
|
@ -260,7 +259,7 @@ static void
|
|||
layer_select_set_gimage (LayerSelect *layer_select,
|
||||
GImage *gimage)
|
||||
{
|
||||
int image_width, image_height;
|
||||
gint image_width, image_height;
|
||||
|
||||
layer_select->gimage = gimage;
|
||||
layer_select->current_layer = gimage->active_layer;
|
||||
|
@ -304,7 +303,8 @@ layer_select_set_layer (LayerSelect *layer_select)
|
|||
return;
|
||||
|
||||
/* Set the layer label */
|
||||
gtk_label_set_text (GTK_LABEL (layer_select->label), drawable_get_name (GIMP_DRAWABLE(layer)));
|
||||
gtk_label_set_text (GTK_LABEL (layer_select->label),
|
||||
drawable_get_name (GIMP_DRAWABLE (layer)));
|
||||
}
|
||||
|
||||
|
||||
|
@ -405,8 +405,8 @@ preview_redraw (LayerSelect *layer_select)
|
|||
{
|
||||
Layer *layer;
|
||||
TempBuf *preview_buf;
|
||||
int w, h;
|
||||
int offx, offy;
|
||||
gint w, h;
|
||||
gint offx, offy;
|
||||
|
||||
if (! (layer = (layer_select->current_layer)))
|
||||
return;
|
||||
|
@ -443,7 +443,8 @@ preview_redraw (LayerSelect *layer_select)
|
|||
gtk_preview_put (GTK_PREVIEW (layer_select->preview),
|
||||
layer_select->layer_pixmap,
|
||||
layer_select->layer_preview->style->black_gc,
|
||||
0, 0, 0, 0, layer_select->image_width, layer_select->image_height);
|
||||
0, 0, 0, 0,
|
||||
layer_select->image_width, layer_select->image_height);
|
||||
|
||||
/* make sure the image has been transfered completely to the pixmap before
|
||||
* we use it again...
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include "appenv.h"
|
||||
#include "colormaps.h"
|
||||
#include "drawable.h"
|
||||
#include "errors.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gdisplay.h"
|
||||
#include "gimage.h"
|
||||
|
|
|
@ -15,13 +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 <string.h>
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "channels_dialog.h"
|
||||
#include "colormaps.h"
|
||||
#include "commands.h"
|
||||
#include "dialog_handler.h"
|
||||
#include "fileops.h"
|
||||
|
@ -38,10 +40,11 @@
|
|||
#include "gdisplay.h"
|
||||
#include "docindex.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpenv.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
#define MRU_MENU_ENTRY_SIZE (strlen ("/File/MRU00 ") + 1)
|
||||
#define MRU_MENU_ACCEL_SIZE sizeof ("<control>0")
|
||||
|
||||
|
|
|
@ -22,11 +22,10 @@
|
|||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "gdk/gdkkeysyms.h"
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "appenv.h"
|
||||
#include "draw_core.h"
|
||||
#include "colormaps.h"
|
||||
#include "drawable.h"
|
||||
#include "floating_sel.h"
|
||||
#include "gimage.h"
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
* 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"
|
||||
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
|
@ -68,10 +67,6 @@
|
|||
#define _P_NOWAIT P_NOWAIT
|
||||
#endif
|
||||
|
||||
#include "libgimp/parasite.h"
|
||||
#include "libgimp/parasiteP.h" /* ick */
|
||||
#include "libgimp/gimpenv.h"
|
||||
|
||||
#ifdef HAVE_IPC_H
|
||||
#include <sys/ipc.h>
|
||||
#endif
|
||||
|
@ -80,27 +75,28 @@
|
|||
#include <sys/shm.h>
|
||||
#endif
|
||||
|
||||
#include "libgimp/gimpprotocol.h"
|
||||
#include "libgimp/gimpwire.h"
|
||||
|
||||
#include "app_procs.h"
|
||||
#include "appenv.h"
|
||||
#include "brush_select.h" /* Need for closing dialogs */
|
||||
#include "drawable.h"
|
||||
#include "datafiles.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimage.h"
|
||||
#include "gimprc.h"
|
||||
#include "gradient_select.h"
|
||||
#include "interface.h"
|
||||
#include "menus.h"
|
||||
#include "pattern_select.h" /* Needed for closing pattern dialogs */
|
||||
#include "plug_in.h"
|
||||
|
||||
#include "tile.h" /* ick. */
|
||||
|
||||
#include "libgimp/gimpenv.h"
|
||||
#include "libgimp/gimpprotocol.h"
|
||||
#include "libgimp/gimpwire.h"
|
||||
#include "libgimp/parasite.h"
|
||||
#include "libgimp/parasiteP.h" /* ick */
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
* 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"
|
||||
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
|
@ -68,10 +67,6 @@
|
|||
#define _P_NOWAIT P_NOWAIT
|
||||
#endif
|
||||
|
||||
#include "libgimp/parasite.h"
|
||||
#include "libgimp/parasiteP.h" /* ick */
|
||||
#include "libgimp/gimpenv.h"
|
||||
|
||||
#ifdef HAVE_IPC_H
|
||||
#include <sys/ipc.h>
|
||||
#endif
|
||||
|
@ -80,27 +75,28 @@
|
|||
#include <sys/shm.h>
|
||||
#endif
|
||||
|
||||
#include "libgimp/gimpprotocol.h"
|
||||
#include "libgimp/gimpwire.h"
|
||||
|
||||
#include "app_procs.h"
|
||||
#include "appenv.h"
|
||||
#include "brush_select.h" /* Need for closing dialogs */
|
||||
#include "drawable.h"
|
||||
#include "datafiles.h"
|
||||
#include "errors.h"
|
||||
#include "gdisplay.h"
|
||||
#include "general.h"
|
||||
#include "gimage.h"
|
||||
#include "gimprc.h"
|
||||
#include "gradient_select.h"
|
||||
#include "interface.h"
|
||||
#include "menus.h"
|
||||
#include "pattern_select.h" /* Needed for closing pattern dialogs */
|
||||
#include "plug_in.h"
|
||||
|
||||
#include "tile.h" /* ick. */
|
||||
|
||||
#include "libgimp/gimpenv.h"
|
||||
#include "libgimp/gimpprotocol.h"
|
||||
#include "libgimp/gimpwire.h"
|
||||
#include "libgimp/parasite.h"
|
||||
#include "libgimp/parasiteP.h" /* ick */
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
|
||||
|
||||
|
|
|
@ -21,15 +21,17 @@
|
|||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
#include "gtk/gtk.h"
|
||||
|
||||
#include "tips_dialog.h"
|
||||
#include "gimprc.h"
|
||||
#include "gimphelp.h"
|
||||
#include "interface.h"
|
||||
#include "wilber.h"
|
||||
#include "gimpui.h"
|
||||
|
||||
#include "libgimp/gimpenv.h"
|
||||
|
||||
#include "libgimp/gimpintl.h"
|
||||
#include "libgimp/gimpenv.h"
|
||||
|
||||
#include "wilber.h"
|
||||
|
||||
|
||||
#define TIPS_DIR_NAME "tips"
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue