Commit Graph

36 Commits

Author SHA1 Message Date
Téo Mazars 92e9c0dc4b gfig: Remove unneeded and deprecated drawable accessors. 2013-07-13 19:18:25 +02:00
Massimo Valentini 261da8a4ab Bug 642728: Use cairo to draw Gfig 2012-02-16 18:07:59 +01:00
Michael Natterer 8c4d99f883 Bug 645456 - Inconsistent window (role) naming scheme
Applied patch from Christoph Kappel which adds a "gimp-" prefix to all
plug-in dialog window roles.
2011-04-08 20:31:34 +02:00
Michael Natterer d9b5207aa2 Change licence to GPLv3 (and to LGPLv3 for libgimp).
2009-01-17  Michael Natterer  <mitch@gimp.org>

	* all files with a GPL header and all COPYING files:

	Change licence to GPLv3 (and to LGPLv3 for libgimp).

	Cleaned up some copyright headers and regenerated the parsers in
	the ImageMap plugin.


svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Michael Natterer e801795022 app/core/gimpimagefile.c app/tools/gimpaligntool.c
2008-05-17  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimagefile.c
	* app/tools/gimpaligntool.c
	* app/tools/gimpselectiontool.c
	* app/tools/gimpvectortool.c
	* plug-ins/color-rotate/color-rotate-dialog.c
	* plug-ins/common/noise-rgb.c
	* plug-ins/common/value-propagate.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig.h
	* plug-ins/gimpressionist/general.c
	* plug-ins/gimpressionist/gimpressionist.h
	* plug-ins/gimpressionist/orientation.c
	* plug-ins/gimpressionist/size.c
	* plug-ins/gimpressionist/utils.c
	* plug-ins/gradient-flare/gradient-flare.c
	* plug-ins/ifs-compose/ifs-compose.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_preferences.c: in latest GLib _() returns
	"const gchar*" as it should. Add const qualifiers to local utility
	functions and some explicit casts to fix the warnings caused by
	this.


svn path=/trunk/; revision=25685
2008-05-17 13:08:19 +00:00
Mukund Sivaraman c2d1214551 Changed "The GIMP" to "GIMP" everywhere, where it's used as a name.
2007-06-06  Mukund Sivaraman  <muks@mukund.org>

        Changed "The GIMP" to "GIMP" everywhere, where it's used as a name.


svn path=/trunk/; revision=22715
2007-06-06 08:44:52 +00:00
Sven Neumann 1fe1e1da54 plug-ins/gfig/gfig-dialog.[ch] plug-ins/gfig/gfig-dobject.h put extern
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.[ch]
	* plug-ins/gfig/gfig-dobject.h
	* plug-ins/gfig/gfig.[ch]: put extern variables where they
belong.
	Patch from Daniel Richard G. (bug #342455).
2006-06-27 08:07:18 +00:00
Raphael Quinet 7d8998a99c automatically removed trailing whitespace from 3460 lines.
2006-01-17  Raphael Quinet  <raphael@gimp.org>

	* (about 130 *.[ch] files): automatically removed trailing
	whitespace from 3460 lines.
2006-01-17 12:43:50 +00:00
Michael Natterer b6b126903d plug-ins/bmp/bmp.c plug-ins/faxg3/faxg3.c plug-ins/fits/fits.c
2005-08-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/bmp/bmp.c
	* plug-ins/faxg3/faxg3.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig.[ch]
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/help/help.c
	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/jpeg/jpeg.[ch]
	* plug-ins/maze/maze.[ch]
	* plug-ins/maze/maze_face.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/rcm/rcm.[ch]
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/sel2path/sel2path.c
	* plug-ins/sgi/sgi.c
	* plug-ins/uri/uri.c
	* plug-ins/xjt/xjt.c: canonicalize procedure and parameter names.
	#define them instead of repeating the same string several times.
	Minor cleanups.
2005-08-12 15:46:46 +00:00
Michael Schumacher 845fa0cbd3 plug-ins/gfig/gfig-dialog.c plug-ins/gfig/gfig-grid.c applied a patch by
2005-07-13  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig-grid.c
	* plug-ins/gfig/gfig.h: applied a patch by Ted Shaneyfelt that
	addresses parts of bug 151092: less sectors on inner, more sectors
	on outer tracks.
2005-07-13 20:05:41 +00:00
David Odin ed4dbde140 plug-ins/gfig/gfig-rectangle.[ch] news files to implement a rectangle tool
* plug-ins/gfig/gfig-rectangle.[ch]
* plug-ins/gfig/images/stock-rectangle.png: news files to implement a
  rectangle tool to gfig.

* plug-ins/gfig/gfig-stock.c
* plug-ins/gfig/gfig-stock.h
* plug-ins/gfig/Makefile.am: modified accordingly.

* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.c
* plug-ins/gfig/gfig.h: modified to support the new shape and
  implement two new filling types: vertical and horizontal gradients.
  These gradients are imho much more useful than the shapeburst one.
2004-12-29 01:16:20 +00:00
David Odin 5a1a005074 plug-ins/gfig/gfig-arc.c plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-style.h
* plug-ins/gfig/gfig.h: plugged some memory-leaks, and done some cleanups.
2004-12-26 21:09:48 +00:00
David Odin c5d0b8dbe0 code cleanup
* plug-ins/gfig/*[ch]: code cleanup
2004-11-29 23:02:39 +00:00
David Odin c90ab3046d plug-ins/gfig/gfig-style.c create a new function to get the current style
* plug-ins/gfig/gfig-style.c
* plug-ins/gfig/gfig-style.h: create a new function to get the current
  style instead of using a global pointer for this
  (gfig_context_get_current_style ())

* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig.h: use this function everywhere it is needed. And
  remove the current_style field from GfigContext.

  (unrelated):
* plug-ins/FractalExplorer/Dialogs.h
* plug-ins/FractalExplorer/FractalExplorer.c: small cleanups
2004-11-28 22:46:19 +00:00
Sven Neumann a2c6e2679e plug-ins/gfig/gfig-dialog.c plug-ins/gfig/gfig-style.[ch] removed unused
2004-11-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig-style.[ch]
	* plug-ins/gfig/gfig.h: removed unused stack of styles. Removed
	gimp_style from GFigContext.
2004-11-28 21:19:44 +00:00
David Odin bac40a781f plug-ins/gfig/gfig-arc.c plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig.h: makes which object is selected more obvious by
  using filled handles for the selected object.  Not perfect, but
  certainly a good hint.
2004-11-21 19:50:18 +00:00
David Odin a3f6b3e630 plug-ins/gfig/gfig-arc.c plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-style.c
* plug-ins/gfig/gfig-style.h
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.h: added a toggle so we can now choose to stroke
	the painting or not.
2004-11-16 22:45:35 +00:00
David Odin 8f0f5f11f5 renamed the DObject type to GfigObject, according to our common type
* plug-ins/gfig/gfig-dobject.h: renamed the DObject type to
  GfigObject, according to our common type naming.  This type will
  certainly become an abstract class in a near future.

* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-bezier.h
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-line.h
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-poly.h
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.c
* plug-ins/gfig/gfig.h: changed accordingly.
2004-11-16 14:10:20 +00:00
David Odin ef1db26bf1 plug-ins/gfig/gfig-dialog.c plug-ins/gfig/gfig-dialog.h
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dialog.h
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.c
* plug-ins/gfig/gfig.h: replace the crappy DAllObjs struct by a GList.
  Makes the code cleaner and less error prone.
2004-11-14 15:55:10 +00:00
David Odin 8ad5aefa69 plug-ins/gfig/images/stock-show-all.png added these two stock icons.
* plug-ins/gfig/images/stock-show-all.png
* plug-ins/gfig/images/stock-select-object.png: added these two stock
  icons. Jimmac, these two are screaming to be redone, please.

* plug-ins/gfig/images/Makefile.am: added these icons.

* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-bezier.h
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-poly.h
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-spiral.h
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-star.h
* plug-ins/gfig/gfig-stock.c
* plug-ins/gfig/gfig-stock.h
* plug-ins/gfig/gfig.h: moved all the buttons to a GtkUIManager
  toolbar, which makes the code simpler and easier to read.
2004-11-12 01:54:02 +00:00
David Odin 015c640322 plug-ins/gfig/gfig-dobject.c plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-preview.c
* plug-ins/gfig/gfig-style.h
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.h: some more cleanups. The current_style bug is
  still there :(
2004-11-01 23:58:43 +00:00
David Odin e681ca8061 new file to hold the types gfig uses. This makes the sources easier to
* plug-ins/gfig/gfig-types.h: new file to hold the types gfig uses.
  This makes the sources easier to read.

* plug-ins/gfig/Makefile.am: added gfig-types.h

* plug-ins/gfig/gfig.h: removed some types definitions and put them
  in gfig-types.h and ...

* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-style.h: ...into these files.
2004-11-01 12:03:32 +00:00
David Odin ae73a6d440 plug-ins/gfig/gfig-dialog.[ch] plug-ins/gfig/gfig-poly.[ch]
* plug-ins/gfig/gfig-dialog.[ch]
* plug-ins/gfig/gfig-poly.[ch]
* plug-ins/gfig/gfig-spiral.[ch]
* plug-ins/gfig/gfig-star.[ch]
* plug-ins/gfig/gfig.h: first step of moving all the hidden popup
  dialogs for the tool options in a GtkNotebook showing the options
  within one page for each tool.
2004-10-27 18:47:08 +00:00
David Odin 60a9853c16 preliminary cleanups: removed all trailing spaces.
* plug-ins/gfig/*[ch]: preliminary cleanups: removed all trailing spaces.
2004-10-27 06:43:52 +00:00
William Skaggs 784dde6482 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig-preview.[ch}
	* plug-ins/gfig/gfig.h: Made Cancel work properly.  Moved "show grid",
	"snap to grid", and "show image" checkbuttons back onto main
	interface.  Eliminated GtkPreview and removed undef of
	GTK_DISABLE_DEPRECATED from gfig-preview.c.  Removed some
	unused code.
2004-07-13 18:47:53 +00:00
William Skaggs 08319b790e Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig-dobject.[ch]
	* plug-ins/gfig/gfig.c: added buttons to select an object, and
	raise or lower the selected object; also a few minor cleanups.
2004-07-11 18:39:30 +00:00
William Skaggs 4563aa0498 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* gimp/plug-ins/gfig/gfig-circle.c
	* gimp/plug-ins/gfig/gfig-dialog.c
	* gimp/plug-ins/gfig/gfig-dobject.c
	* gimp/plug-ins/gfig/gfig-ellipse.c
	* gimp/plug-ins/gfig/gfig-poly.c
	* gimp/plug-ins/gfig/gfig-preview.c
	* gimp/plug-ins/gfig/gfig-star.c
	* gimp/plug-ins/gfig/gfig-style.c
	* gimp/plug-ins/gfig/gfig-style.h
	* gimp/plug-ins/gfig/gfig.c
	* gimp/plug-ins/gfig/gfig.h: Made FG, BG, and pattern fill work for
	fillable objects; other miscellaneous cleanups and minor fixes.
2004-07-09 22:09:40 +00:00
William Skaggs f8869bd1cd Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/gfig/*.[ch]: Use single centralized functions to
	create, load, and save objects, instead of separate functions
	for each type of object. A few other miscellaneous fixes.
2004-07-07 17:52:16 +00:00
William Skaggs 2b46a2536f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/gfig/*.[ch]:  a bunch of code clean-up and
	debugging.  Created "classes" for the objects, and
	attached functions to classes rather than objects.
2004-07-06 19:32:55 +00:00
William Skaggs 0fd3c264d7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/gfig/gfig-dialog.[ch]:
	* plug-ins/gfig/gfig-style.[ch]:
	* plug-ins/gfig/notes.txt:       New files.
	* plug-ins/gfig/*.[ch]:  Complete reworking of the gfig plug-in.
	See 'notes.txt' for a summary of what has changed, and how to use
	it now.  Plenty of bugs have been  introduced, which will take a
	while to straighten out.
2004-07-04 20:50:25 +00:00
William Skaggs 5fe683a51e Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/gfig/gfig.[ch]:
	* plug-ins/gfig/gfig-preview.c: Let gfig use a thumbnail of the
	image as background for its preview, if the image is RGB and "Show
	image" is checked in the Options tab.  (Next best thing to
	previewing in the image.)
2004-06-24 22:51:55 +00:00
Michael Natterer 0418750367 added help IDs for the libgimp export and unit dialogs.
2004-01-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp-ids.h: added help IDs for the libgimp
	export and unit dialogs.

	* libgimp/gimpexport.c
	* libgimpwidgets/gimpunitmenu.c: replaced html links by the new
	help IDs.

	* plug-ins/*/*.c: replaced all html help links by help IDs. A
	plug-in's help ID is its procedure name with '_' relaced by '-'.

	(e.g. file_tiff_save's help ID is file-tiff-save)

	Did some random indentation and whitespace cleanup.
2004-01-20 17:10:16 +00:00
Maurits Rijk ed0a346861 Moved code from gfig.c to 2 new files. 2003-11-11 21:23:33 +00:00
Maurits Rijk fadfcf5f11 Replaced underscores in filenames by hyphens. 2003-10-24 13:28:46 +00:00
Maurits Rijk 6461262d65 More code clean-up for the gfig plug-in. 2003-10-19 21:03:21 +00:00
Maurits Rijk 416d2e2fdc Fix for #124158. (always show both the Paint
and Select Tab). Also first attempt to split this hug file into
smaller pieces to make this plug-in a bit more manageable.
2003-10-19 09:44:46 +00:00