Commit Graph

9 Commits

Author SHA1 Message Date
Sven Neumann 59cb5d75ba added MIME type as a construct property to GimpData.
2005-05-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.[ch]: added MIME type as a construct property
	to GimpData.

	* app/core/gimpbrush-load.c
	* app/core/gimpbrushgenerated.c
	* app/core/gimpbrushpipe.c
	* app/core/gimpgradient-load.c
	* app/core/gimppalette.c
	* app/core/gimppattern.c: set the MIME type when loading a data
	object from file. MIME types needs review and GimpPalette isn't
	quite done yet...

	* app/core/gimpdashpattern.c: cosmetics.
2005-05-25 23:25:45 +00:00
Sven Neumann 7358758f68 minor cleanup.
2005-05-22  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.c: minor cleanup.

	* app/widgets/gimpcellrendererdashes.c: don't draw a background,
	draw the dash pattern twice, use the correct widget state.
2005-05-22 12:20:25 +00:00
Sven Neumann a8318e18c5 added utility functions to copy and to free a dash pattern.
2005-05-21  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.[ch]: added utility functions to copy
	and to free a dash pattern.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcellrendererdashes.[ch]: added a simple cell
	renderer to visualize a dash pattern.

	* app/widgets/gimpstrokeeditor.c: show previews of the dash
	presets in the combo-box.
2005-05-21 20:24:42 +00:00
Michael Natterer 05b0266911 don't include "libgimpbase/gimpbase.h"
2005-05-20  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdashpattern.c: don't include "libgimpbase/gimpbase.h"
2005-05-20 15:30:57 +00:00
Sven Neumann 9bb255a3cf app/core/gimpdashpattern.[ch] moved more code out of GimpDashEditor to
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.[ch]
	* app/widgets/gimpdasheditor.c: moved more code out of
	GimpDashEditor to gimpdashpattern.c. Fixed bug in last commit.
2005-05-19 00:40:48 +00:00
Sven Neumann c7ba1dfc71 app/core/gimpdashpattern.[ch] moved code out of GimpDashEditor to
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.[ch]
	* app/widgets/gimpdasheditor.c: moved code out of GimpDashEditor
	to gimpdashpattern.c.
2005-05-18 23:59:35 +00:00
Sven Neumann 9aa2efcb32 use code from gimpdashpattern.c instead of duplicating it.
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdasheditor.c: use code from gimpdashpattern.c
	instead of duplicating it.
2005-05-18 23:44:04 +00:00
Sven Neumann 533481d220 app/core/gimpdashpattern.[ch] moved more code to the new files.
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.[ch]
	* app/core/gimpstrokeoptions.c: moved more code to the new files.
2005-05-18 23:26:53 +00:00
Sven Neumann 146e4eee58 app/core/Makefile.am new files with coode split out of
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/gimpdashpattern.[ch]: new files with coode split out of
	gimpstrokeoptions.c.

	* app/core/gimpstrokeoptions.c: use gimp_dash_pattern_from_preset().
2005-05-18 22:50:54 +00:00