1. 18 Aug, 1999 3 commits
    • Tor Lillqvist's avatar
      Actually use the enum types GimpImageType, GimpImageBaseType, · f6858e21
      Tor Lillqvist authored
      	* app/*.[ch]: Actually use the enum types GimpImageType,
      	GimpImageBaseType, LayerModeEffects, PaintApplicationMode,
      	BrushApplicationMode, GimpFillType and ConvertPaletteType, instead
      	of just int or gint. Hopefully I catched most of the places
      	where these should be used.
      
      	Add an enum ConvolutionType, suffix the too general constants
      	NORMAL, ABSOLUTE and NEGATIVE with _CONVOL. Use NORMAL_MODE
      	instead of NORMAL in some places (this was what was intended). Fix
      	some minor gccisms.
      
      	* app/apptypes.h: New file. This file contains the above
      	enumeration types, and some opaque struct typedefs. It was
      	necessary to collect these in one header that doesn't include
      	other headers, because when we started using the above mentioned
      	types in the headers, all hell broke loose because of the
      	spaghetti-like cross-inclusion mess between headers.
      
      	(An example: Header A includes header B, which includes header C
      	which includes A. B uses a type defined in A. This is not defined,
      	because A hasn't defined it yet at the point where it includes B,
      	and A included from B of course is skipped as we already are
      	reading A.)
      f6858e21
    • Sven Neumann's avatar
      almost done with the measure tool ... · 088a9d71
      Sven Neumann authored
      
      --Sven
      088a9d71
    • Tor Lillqvist's avatar
      e9ae1a59
  2. 17 Aug, 1999 6 commits
    • Tor Lillqvist's avatar
      Fix it. Now the hose itself, interpreted as a pixmap brush (which the hose · 4b22d03f
      Tor Lillqvist authored
      	* app/gimpbrushhose.c (gimp_brush_hose_load): Fix it. Now the hose
      	itself, interpreted as a pixmap brush (which the hose is a
      	subclass of), is the first brush in its list. The rest of the
      	pixmap brushes in the list are separately allocated ones. Don't
      	read the pattern names into dummy buffers, just seek past.
      
      	* app/pixmapbrush.c (pixmapbrush_motion): Now works better, and
      	actually steps through the pixmaps in the hose's list. The
      	paint_core->brush (which points to a brush hose in the cases we're
      	interested in) is temporarily replaced with the current pixmap
      	brush to use, and restored after applying the pixmap brush.
      
      	* app/makefile.{cygwin,msc}: Add new files.
      4b22d03f
    • Marc Lehmann's avatar
      just reformatted · ffd97288
      Marc Lehmann authored
      ffd97288
    • Asbjørn Pettersen's avatar
      test hash lookup result · 1e3c91f3
      Asbjørn Pettersen authored
      1e3c91f3
    • Adrian Likins's avatar
      ooops, forgot Makefile.am · 0c08558b
      Adrian Likins authored
      0c08558b
    • Adrian Likins's avatar
      oops, missed a couple of file · 33a045c1
      Adrian Likins authored
      33a045c1
    • Adrian Likins's avatar
      app/gimpbrushhose.c new files to implement a GimpBrushHose type. The idea · e87ae53a
      Adrian Likins authored
      Mon Aug 16 20:48:33 1999 Adrian Likins <alikins@redhat.com>
      
              * app/gimpbrushhose.c
              * app/gimpbrushhose.h: new files to implement a GimpBrushHose
              type. The idea being its derived from gimpbrushes, so we can
              make regular tools use it if need be, and fold it into the brushes
              dialog nice and easy.
      
              * app/gimpbrush.c
              * app/gimpbrushgenerated.c
              * app/gimpbrushpixmap.c:
              * app/gimpbrushpixmap.h: Modified the *_get_type() functions
              to behave more correctly. As suggested by Tim Janik <tim@gtk.org>
      
              * app/pixmapbrush.c: Since pixmapbrush tool wasnt doing anything
              useful anyway, start using it as a testbed for "image hoses".
              Right now it doesnt really work correctly.
      
      I'll try to upload a sample hose to http://adrian.gimp.org/pixmap-brushes/
      shortly, and maybe some docs about the lame format.
      
      -adrian
      e87ae53a
  3. 16 Aug, 1999 5 commits
    • Tor Lillqvist's avatar
      Use RINT instead of rint. · 97346fb1
      Tor Lillqvist authored
      	* app/transform_core.c: Use RINT instead of rint.
      
      	* plug-ins/common/curve_bend.c
      	* plug-ins/sel2path/spline.c: Workarounds for gccisms, thanks to
      	Hans Breuer.
      
      	* app/makefile.msc
      	* plug-ins/makefile.msc: Misc fixes.
      97346fb1
    • jaycox's avatar
      put the gimp_matrix_is_simple optimization back in. · 2c206a48
      jaycox authored
      
      	* app/transform_core.c: put the gimp_matrix_is_simple
      	optimization back in.
      2c206a48
    • jaycox's avatar
      data access optomizations from David Hodson <hodsond@acm.org> · 60475da0
      jaycox authored
      
      	* app/transform_core.c: data access optomizations from
      	David Hodson <hodsond@acm.org>
      60475da0
    • Tor Lillqvist's avatar
      Add G_SQRT2. · b5d790e6
      Tor Lillqvist authored
      	* app/appenv.h: Add G_SQRT2.
      
      	* app/iscissors.c: Use it.
      
      	* app/makefile.{cygwin,msc}: Add new files.
      
      	* */makefile.{cygwin,msc}: Use libintl extracted from glibc from a
      	separate directory, not from gettext, because of licensing issues
      	(we want to use the LGPL version in GTk+, so use it here, too).
      b5d790e6
    • Manish Singh's avatar
      added a G_PI_2 · 1fd1919f
      Manish Singh authored
      * app/appenv.h: added a G_PI_2
      
      * app/brush_header.h
      * app/pattern_header.h: prefixed each FILE_VERSION with
      G{BRUSH,PATTERN} to avoid namespace collision
      
      * app/patterns.c: reflect above change
      
      * app/iscissors.[ch]: merged in Austin's iscissors rewrite.. still
      unfinished, but it's not like the old one did anything useful
      anyway ;)
      
      -Yosh
      1fd1919f
  4. 15 Aug, 1999 5 commits
  5. 14 Aug, 1999 2 commits
  6. 13 Aug, 1999 5 commits
    • Kjartan Maraas's avatar
      Updated translation. · 9aebe4b2
      Kjartan Maraas authored
      1999-08-14  Kjartan Maraas  <kmaraas@online.no>
      
      		* no.po: Updated translation.
      9aebe4b2
    • Manish Singh's avatar
      add pixmaps/dropper.xpm to EXTRA_DIST · 374e55bc
      Manish Singh authored
      * Makefile.am: add pixmaps/dropper.xpm to EXTRA_DIST
      
      * app/appenv.h: minor formatting changes
      
      * app/channel.c: #include "gdisplay.h"
      
      * app/color_transfer.c
      * app/dodgeburn.c
      * app/gdisplay.c
      * app/iscissors.c
      * app/paint_core.c: remove extra SQR and ROUND definitions
      
      * app/flip_tool.c: hackaround the flip tool options constant problem
      
      * app/flip_tool.[ch]: use InternalOrientationType for flip_tool_flip
      prototype
      
      * app/interface.c: use GTK_LABEL case in gtk_label_set_justify
      
      * plug-ins/common/mkgen.pl
      * plug-ins/common/plugin-defs.pl: add @extra EXTRA_DIST processing
      
      -Yosh
      374e55bc
    • Adrian Likins's avatar
      ooops, forgot to include paint_func.*. Fixed now. · 8162b43d
      Adrian Likins authored
      
      
      ooops, forgot to include paint_func.*.   Fixed now.
      8162b43d
    • Adrian Likins's avatar
      app/airbrush.c app/paintbrush.c app/pencil.c app/pixmapbrush.c · 29709cb9
      Adrian Likins authored
      Fri Aug 13 16:39:25 1999 Adrian Likins <alikins@redhat.com>
      
              * app/airbrush.c
              * app/paintbrush.c
              * app/pencil.c
              * app/pixmapbrush.c
              * app/pixmapbrush.h
      
              Added support for pixmap brushes to airbrush, pencil,
              and paintbrush. Merging this into paintbrush makes
              the pixmaptool itself kind of useless at the moment,
              but that will change ;->
      
              Still a few rough edges here, but its mostly there.
              I still need to make the "incremental" button for
              the tools to accurately reflect that pixmap always
              uses this mode.
      
              * app/eraser.c
              * app/eraser.h
              * app/tools_cmds.c
              * tools/pdbgen/pdb/tools.pdb
      
              Applied patch from  Shuji Narazaki <narazaki@gimp.org>
              to implement the anti-eraser. Neat.
      29709cb9
    • Kelly Martin's avatar
      Color brushes now appear in the brush selector in color. Scaling is · f369da0a
      Kelly Martin authored
      
      
      * app/brush_select.c: Color brushes now appear in the brush
      selector in color.  Scaling is disabled for color brushes because
      I can't figure out how to do it just now.  Still need to fix the
      toolbox to do this too.
      
      --klm
      f369da0a
  7. 12 Aug, 1999 9 commits
  8. 10 Aug, 1999 4 commits
  9. 09 Aug, 1999 1 commit
    • Adrian Likins's avatar
      app/pixmapbrush.c app/pixmapbrush.h app/gimpbrushpixmap.c New files, · 204d4123
      Adrian Likins authored
      Mon Aug  9 01:20:24 1999 Adrian Likins <alikins@redhat.com>
      
              * app/pixmapbrush.c
              * app/pixmapbrush.h
              * app/gimpbrushpixmap.c
              * app/gimpbrushpixmap.h: New files, implement the GimpBrushPixmap
                object, and the pixmap brush tool.
      
              * app/context_manager.c
              * app/tool_options.c
              * app/tools.c
              * app/toolsF.h: add the pixmap brush tool in
      
              * app/gimpbrushlist.c: allow for loading of pixmap brushes and
              displaying them in the brush dialog. Currently it only shows the
              grey scale mask.
      
              *app/Makefile.am: add the pixmap tool stuff to the build process
      
              These Changes implement a pixmap brush tool. Sort of a "image stamp".
              Some examples can be seen at http://adrian.gimp.org/pixmap-brush/.
      
              Some examples of pixmap brushes can be found there too (.gpb
              extension), but these are easy enough to make (for now, make
              a pattern and a brush the same size and `cat foo.gbr foo.pat >
              foo.gpb` ;->
      
              Theres still a few rough edges that need some tweaking, but
              the framework is there. Figured I'd sneak it in before the
              freeze.
      204d4123