mirror of https://github.com/GNOME/gimp.git
![]() 2000-12-29 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/channel_pvt.h * app/drawable_pvt.h * app/gdisplayF.h * app/gimpdrawableP.h * app/gimpimageP.h * app/layer_pvt.h * app/toolsF.h: removed these files. * app/apptypes.h * tools/pdbgen/enums.pl: added tons of opaque typedefs and enums. * tools/pdbgen/pdb/brush_select.pdb * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/channel.pdb * tools/pdbgen/pdb/color.pdb * tools/pdbgen/pdb/convert.pdb * tools/pdbgen/pdb/display.pdb * tools/pdbgen/pdb/drawable.pdb * tools/pdbgen/pdb/fileops.pdb * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/help.pdb * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/layer.pdb * tools/pdbgen/pdb/pattern_select.pdb * tools/pdbgen/pdb/patterns.pdb * tools/pdbgen/pdb/selection.pdb * tools/pdbgen/pdb/tools.pdb * app/*: chainsaw #include cleanup: - Never (never!!) include stuff in header files except where we need access to structures' contents (like derived objects). - Added prototypes and proper formating in many files. - The #include order in *all* *.c files is as follows: #include "config.h" #include <system stuff> #include <gtk/gtk.h> #include "apptypes.h" #include "gimp stuff" #include "libgimp stuff" #include "libgimp/gimpintl.h" By following this scheme we can easily see a file's dependencies from it's #include's and can grep for the inclusion to find out where a file is used. * tools/pdbgen/app.pl: changed to follow the include scheme above. * libgimp/Makefile.am * libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h and from app/apptypes.h. * libgimp/gimpcolorbutton.[ch] * libgimp/gimpdialog.[ch] * libgimp/gimphelpui.[ch] * libgimp/gimpparasite.[ch] * libgimp/gimppatheditor.[ch] * libgimp/gimpprotocol.c * libgimp/gimpquerybox.[ch] * libgimp/gimpsizeentry.[ch] * libgimp/gimptypes.h * libgimp/gimpui.h * libgimp/gimpunit.h * libgimp/gimpunitmenu.[ch] * libgimp/gimpwidgets.[ch]: changed accordingly. * plug-ins/FractalExplorer/Dialogs.c * plug-ins/gdyntext/message_window.c * plug-ins/imagemap/imap_default_dialog.c * plug-ins/imagemap/imap_file.c: these files used to include "libgimp/gimpui.h" without including "libgimp/gimp.h". This is no longer possible because the libgimpui headers don't inlcude "libgimp/gimpunit.h" any more. |
||
---|---|---|
.. | ||
graphics | ||
.cvsignore | ||
ChangeLog | ||
Makefile.am | ||
README | ||
TODO | ||
charmap.c | ||
charmap.h | ||
charmap_window.c | ||
charmap_window.h | ||
font_selection.c | ||
font_selection.h | ||
gdyntext.c | ||
gdyntext.h | ||
gdyntext_ui.c | ||
gdyntext_ui.h | ||
gdyntextcompat.c | ||
gdyntextcompat.h | ||
message_window.c | ||
message_window.h |
README
GIMP Dynamic Text -- image filter plug-in for The GIMP program ============================================================== GDynText 1.5.2 Copyright (C) 1998,1999,2000 Marco Lamberto E-mail: lm@geocities.com Web page: http://www.geocities.com/Tokyo/1474/gimp/ Legal stuff =========== 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 (see "COPYING" file); if not, write to the Free Software Foundation Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Intro ===== GIMP Dynamic Text is a GIMP plug-in that works like the text tool but allows you writing multi-line text and made you able of modifying it later as you want (text/font/font size/color/...). However I hope that a feature like this will be available on GIMP 1.2 as a standard tool. GIMP version required: 1.1.24+ or 1.2 Plug-in menu path: <Image>/Filters/Render/Dynamic Text... Suggested hotkey: Alt+T PDB function: plug_in_dynamic_text Parasite: plug_in_gdyntext/data This is my second plug-in, the first one was an xvpict loader now embedded into the Guash plug-in of Shuji Narazaki. It's rather far from being a complete work and I've just starded in playing with GTK+ ... it's a really powerful but also a complex toolkit for a programmer that had used only Java AWT for opening windows on X11! Compiling ========= You must edit the Makefile and change GIMPBIN in order to reflect the path where the GIMP binary and gimptool are installed then you could run 'make install'. Thanks ====== * Glade, the GTK+ gui builder, was a good starting point for learning how to write GTK+ applications. * The "Writing a GIMP plug-in" tutorial written by Kevin Turner help me in figuring better how the GIMP plug-in system works. * I've taken few lines of code for the preview initialization from the bumpmap plug-in written by Federico Mena Quintero and Jens Lautenbacher. * The GIMP Team ;) /* vim: set ts=2 sw=2 tw=79 ai expandtab: */