mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
a2bd2ac28c
2002-02-26 Michael Natterer <mitch@gimp.org> Added some kind of paint core registry. It's ugly and will change... * app/core/gimp.c: call paint_init() and paint_exit(). * app/core/gimptoolinfo.[ch]: added "gchar *paint_core_name" to the GimpToolInfo structure and the contstructor. * app/tools/tool_manager.c: pass the class names of the GimpPaintCore subclasses to gimp_tool_info_new(). * app/paint/Makefile.am * app/paint/paint.[ch]: new files. Simlply ref/unref all paint core classes so we can find them using g_type_from_name(). * app/paint/gimppaintcore-stroke.[ch]: changed to take an array of GimpCoords, not just gdouble. * tools/pdbgen/pdb/paint_tools.pdb: convert the stroke array here. * app/gui/vectors-commands.c: ad-hoc implementation of vectors stroking. Double click now sets the active vectors in the vectors tool. * app/pdb/paint_tools_cmds.c: regenerated.
28 lines
969 B
C
28 lines
969 B
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995-2001 Spencer Kimball, Peter Mattis and others
|
|
*
|
|
* 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 __PAINT_H__
|
|
#define __PAINT_H__
|
|
|
|
|
|
void paint_init (Gimp *gimp);
|
|
void paint_exit (Gimp *gimp);
|
|
|
|
|
|
#endif /* __PAINT_H__ */
|