mirror of https://github.com/GNOME/gimp.git
parent
1d7590123c
commit
6dae68bd8c
51
ChangeLog
51
ChangeLog
|
@ -11,6 +11,57 @@ Wed Aug 25 17:27:40 PDT 1999 Manish Singh <yosh@gimp.org>
|
|||
* plug-ins/unsharp/dialog_i.c
|
||||
* plug-ins/unsharp/unsharp.c: // IS NOT A VALID C COMMENT
|
||||
|
||||
1999-08-26 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
Overhaul of pixmap brushes and pipes: No separate pixmap pipe
|
||||
brush tool any longer. The paintbrush, airbrush and pencil
|
||||
tools, which already knew how to handle the single-pixmap
|
||||
brushes now also handle the pipes as well.
|
||||
|
||||
* app/pixmapbrush.{h,c}
|
||||
* app/gimpbrushpixmap.{h,c}: Removed these files.
|
||||
|
||||
* app/Makefile.am
|
||||
* app/makefile.{cygwin,msc}: Remove from here, too.
|
||||
|
||||
* app/gimpbrushpipe.{h,c}: Total overhaul.
|
||||
|
||||
* app/gimpbrushpipeP.h: New file.
|
||||
|
||||
* app/paint_core.h
|
||||
* app/apptypes.h: Some more types moved to apptypes.h
|
||||
|
||||
* app/context_manager.c
|
||||
* app/tool_options.c
|
||||
* app/tools.c
|
||||
* app/toolsF.h: Remove PIXMAPBRUSH tool.
|
||||
|
||||
* app/gimpbrush.h: New method: select_brush. Used to change the
|
||||
brush in paint_core, for pipe brushes.
|
||||
|
||||
* app/gimpbrush.c: Add gimp_brush_select_brush, which is dummy for
|
||||
the normal brushes (returns the same brush).
|
||||
|
||||
* app/paint_core.c: Call the brush's select_brush method to get a
|
||||
potential new brush before calling the paint_func.
|
||||
|
||||
* app/gimpbrushlist.c: Various changes related to the pixmap and
|
||||
pipe overhaul.
|
||||
|
||||
* app/airbrush.c
|
||||
* app/pencil.c: Reorder code a bit in the tool motion function to
|
||||
avoid executing unnecessary code in the case of a pixmap brush.
|
||||
|
||||
Other changes in the same commit:
|
||||
|
||||
* app/install.c: Make quote_spaces extern.
|
||||
|
||||
* app/appenv.h: Declare it.
|
||||
|
||||
* libgimp/gimpui.def: Add missing entry points.
|
||||
|
||||
* libgimp/makefile.{cygwin,msc}: Add missing objects to gimpui.
|
||||
|
||||
1999-08-26 Tomas Ogren <stric@ing.umu.se>
|
||||
|
||||
* app/module_db.c: Put the list above the description instead of
|
||||
|
|
|
@ -0,0 +1,58 @@
|
|||
/* The GIMP -- an image manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
* Copyright (C) 1999 Adrian Likins and Tor Lillqvist
|
||||
*
|
||||
* 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 __GIMPBRUSHPIPEP_H__
|
||||
#define __GIMPBRUSHPIPEP_H__
|
||||
|
||||
/* A GimpBrushPixmap always exists as part in one and only one GimpBrushPipe
|
||||
* It contains a back-pointer to the GimpBrushPipe so that we can select
|
||||
* the next brush in the pipe with just a reference to the GimpBrushPipe.
|
||||
*/
|
||||
|
||||
struct _GimpBrushPixmap
|
||||
{
|
||||
GimpBrush gbrush;
|
||||
TempBuf *pixmap_mask;
|
||||
GimpBrushPipe *pipe;
|
||||
};
|
||||
|
||||
struct _GimpBrushPipe
|
||||
{
|
||||
GimpBrushPixmap pixmap; /* Also itself a pixmap brush */
|
||||
GimpBrushPixmap *current; /* Currently selected brush */
|
||||
int dimension;
|
||||
int *rank; /* Size in each dimension */
|
||||
int nbrushes; /* Might be less than the product of the
|
||||
* ranks in some special case */
|
||||
GimpBrushPixmap **brushes;
|
||||
PipeSelectModes *select; /* One mode per dimension */
|
||||
int *index; /* Current index for incremental dimensions */
|
||||
};
|
||||
|
||||
typedef struct _GimpBrushPixmapClass
|
||||
{
|
||||
GimpBrushClass parent_class;
|
||||
} GimpBrushPixmapClass;
|
||||
|
||||
typedef struct _GimpBrushPipeClass
|
||||
{
|
||||
GimpBrushPixmapClass parent_class;
|
||||
} GimpBrushPipeClass;
|
||||
|
||||
#endif /* __GIMPBRUSHPIPEP_H__ */
|
Loading…
Reference in New Issue