Commit 92297ab6 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

removed all brush, font, gradient and pattern related code.

2003-07-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpmenu.[ch]: removed all brush, font, gradient
	and pattern related code.

	* libgimp/gimpbrushselect.[ch]
	* libgimp/gimpfontselect.[ch]
	* libgimp/gimpgradientselect.[ch]
	* libgimp/gimppatternselect.[ch]: new files containing the
	wrappers around their resp. _pdb.[ch] files. Changed function
	names to gimp_*_select_new(). Added gimp_*_select_destroy()
	functions so we're not forced to leak all wrappers. Cleanup.

	* libgimp/gimpbrushmenu.h
	* libgimp/gimpfontmenu.h
	* libgimp/gimpgradientmenu.h
	* libgimp/gimppatternmenu.h: new files. Changed function names
	here too.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpfontmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppatternmenu.c: changed accordingly. Free the
	foo_select wrappers when they are no longer needed (generally,
	free everthing instead of leaking everything). Lots of cleanup.

	* libgimp/Makefile.am
	* libgimp/gimp.def
	* libgimp/gimpui.def: changed accordingly.

	* libgimp/gimp.h
	* libgimp/gimpui.h: include the new headers.

	* libgimp/gimpcompat.h: added the old function names here.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/film.c
	* plug-ins/gfig/gfig.c
	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.

2003-07-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt: follow libgimp cleanup, moved the
	brush, font, gradient and pattern selection stuff to their own
	sections.

	* libgimp/tmpl/gimpfonts.sgml: removed.

	* libgimp/tmpl/gimpbrushmenu.sgml
	* libgimp/tmpl/gimpbrushselect.sgml
	* libgimp/tmpl/gimpfontmenu.sgml
	* libgimp/tmpl/gimpfontselect.sgml
	* libgimp/tmpl/gimpgradientmenu.sgml
	* libgimp/tmpl/gimpgradientselect.sgml
	* libgimp/tmpl/gimppatternmenu.sgml
	* libgimp/tmpl/gimppatternselect.sgml: new files.

	* libgimp/tmpl/gimpbrushes.sgml
	* libgimp/tmpl/gimpgradients.sgml
	* libgimp/tmpl/gimpmenu.sgml
	* libgimp/tmpl/gimppatterns.sgml: regenerated.
parent 2eb4486d
2003-07-01 Michael Natterer <mitch@gimp.org>
* libgimp/gimpmenu.[ch]: removed all brush, font, gradient
and pattern related code.
* libgimp/gimpbrushselect.[ch]
* libgimp/gimpfontselect.[ch]
* libgimp/gimpgradientselect.[ch]
* libgimp/gimppatternselect.[ch]: new files containing the
wrappers around their resp. _pdb.[ch] files. Changed function
names to gimp_*_select_new(). Added gimp_*_select_destroy()
functions so we're not forced to leak all wrappers. Cleanup.
* libgimp/gimpbrushmenu.h
* libgimp/gimpfontmenu.h
* libgimp/gimpgradientmenu.h
* libgimp/gimppatternmenu.h: new files. Changed function names
here too.
* libgimp/gimpbrushmenu.c
* libgimp/gimpfontmenu.c
* libgimp/gimpgradientmenu.c
* libgimp/gimppatternmenu.c: changed accordingly. Free the
foo_select wrappers when they are no longer needed (generally,
free everthing instead of leaking everything). Lots of cleanup.
* libgimp/Makefile.am
* libgimp/gimp.def
* libgimp/gimpui.def: changed accordingly.
* libgimp/gimp.h
* libgimp/gimpui.h: include the new headers.
* libgimp/gimpcompat.h: added the old function names here.
* plug-ins/FractalExplorer/Dialogs.c
* plug-ins/common/film.c
* plug-ins/gfig/gfig.c
* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.
2003-07-01 Sven Neumann <sven@gimp.org>
* tools/authorsgen/contributors: removed a double entry, added
2003-07-01 Michael Natterer <mitch@gimp.org>
* libgimp/libgimp-docs.sgml
* libgimp/libgimp-sections.txt: follow libgimp cleanup, moved the
brush, font, gradient and pattern selection stuff to their own
sections.
* libgimp/tmpl/gimpfonts.sgml: removed.
* libgimp/tmpl/gimpbrushmenu.sgml
* libgimp/tmpl/gimpbrushselect.sgml
* libgimp/tmpl/gimpfontmenu.sgml
* libgimp/tmpl/gimpfontselect.sgml
* libgimp/tmpl/gimpgradientmenu.sgml
* libgimp/tmpl/gimpgradientselect.sgml
* libgimp/tmpl/gimppatternmenu.sgml
* libgimp/tmpl/gimppatternselect.sgml: new files.
* libgimp/tmpl/gimpbrushes.sgml
* libgimp/tmpl/gimpgradients.sgml
* libgimp/tmpl/gimpmenu.sgml
* libgimp/tmpl/gimppatterns.sgml: regenerated.
2003-06-19 Sven Neumann <sven@gimp.org>
* libgimp/tmpl/gimp.sgml: updated, removed unused parameters.
......
......@@ -3,6 +3,7 @@
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY Gimp SYSTEM "xml/gimp.xml">
<!ENTITY GimpBrushes SYSTEM "xml/gimpbrushes.xml">
<!ENTITY GimpBrushSelect SYSTEM "xml/gimpbrushselect.xml">
<!ENTITY GimpChannel SYSTEM "xml/gimpchannel.xml">
<!ENTITY GimpColor SYSTEM "xml/gimpcolor.xml">
<!ENTITY GimpConvert SYSTEM "xml/gimpconvert.xml">
......@@ -11,9 +12,10 @@
<!ENTITY GimpEdit SYSTEM "xml/gimpedit.xml">
<!ENTITY GimpFileops SYSTEM "xml/gimpfileops.xml">
<!ENTITY GimpFloatingsel SYSTEM "xml/gimpfloatingsel.xml">
<!ENTITY GimpFonts SYSTEM "xml/gimpfonts.xml">
<!ENTITY GimpFontSelect SYSTEM "xml/gimpfontselect.xml">
<!ENTITY GimpGimprc SYSTEM "xml/gimpgimprc.xml">
<!ENTITY GimpGradients SYSTEM "xml/gimpgradients.xml">
<!ENTITY GimpGradientSelect SYSTEM "xml/gimpgradientselect.xml">
<!ENTITY GimpGuides SYSTEM "xml/gimpguides.xml">
<!ENTITY GimpHelp SYSTEM "xml/gimphelp.xml">
<!ENTITY GimpImage SYSTEM "xml/gimpimage.xml">
......@@ -21,6 +23,7 @@
<!ENTITY GimpMessage SYSTEM "xml/gimpmessage.xml">
<!ENTITY GimpPalette SYSTEM "xml/gimppalette.xml">
<!ENTITY GimpPatterns SYSTEM "xml/gimppatterns.xml">
<!ENTITY GimpPatternSelect SYSTEM "xml/gimppatternselect.xml">
<!ENTITY GimpPixelrgn SYSTEM "xml/gimppixelrgn.xml">
<!ENTITY GimpPlugin SYSTEM "xml/gimpplugin.xml">
<!ENTITY GimpProceduraldb SYSTEM "xml/gimpproceduraldb.xml">
......@@ -32,6 +35,10 @@
<!ENTITY GimpEnums SYSTEM "xml/gimpenums.xml">
<!ENTITY GimpExport SYSTEM "xml/gimpexport.xml">
<!ENTITY GimpMenu SYSTEM "xml/gimpmenu.xml">
<!ENTITY GimpBrushMenu SYSTEM "xml/gimpbrushmenu.xml">
<!ENTITY GimpFontMenu SYSTEM "xml/gimpfontmenu.xml">
<!ENTITY GimpGradientMenu SYSTEM "xml/gimpgradientmenu.xml">
<!ENTITY GimpPatternMenu SYSTEM "xml/gimppatternmenu.xml">
<!ENTITY GimpUI SYSTEM "xml/gimpui.xml">
<!ENTITY version SYSTEM "version.xml">
]>
......@@ -68,7 +75,6 @@
&GimpEdit;
&GimpFileops;
&GimpFloatingsel;
&GimpFonts;
&GimpGimprc;
&GimpGradients;
&GimpGuides;
......@@ -86,6 +92,11 @@
&GimpTile;
&GimpTools;
&GimpUndo;
&GimpBrushSelect;
&GimpFontSelect;
&GimpGradientSelect;
&GimpPatternSelect;
</part>
<part id="libgimpui">
......@@ -93,5 +104,9 @@
&GimpUI;
&GimpExport;
&GimpMenu;
&GimpBrushMenu;
&GimpFontMenu;
&GimpGradientMenu;
&GimpPatternMenu;
</part>
</book>
......@@ -106,6 +106,13 @@ gimp_brushes_set_paint_mode
gimp_brushes_get_spacing
gimp_brushes_set_spacing
gimp_brushes_get_brush_data
</SECTION>
<SECTION>
<FILE>gimpbrushselect</FILE>
GimpRunBrushCallback
gimp_brush_select_new
gimp_brush_select_destroy
gimp_brushes_popup
gimp_brushes_close_popup
gimp_brushes_set_popup
......@@ -236,7 +243,10 @@ gimp_floating_sel_relax
</SECTION>
<SECTION>
<FILE>gimpfonts</FILE>
<FILE>gimpfontselect</FILE>
GimpRunFontCallback
gimp_font_select_new
gimp_font_select_destroy
gimp_fonts_popup
gimp_fonts_close_popup
gimp_fonts_set_popup
......@@ -259,6 +269,13 @@ gimp_gradients_set_gradient
gimp_gradients_sample_uniform
gimp_gradients_sample_custom
gimp_gradients_get_gradient_data
</SECTION>
<SECTION>
<FILE>gimpgradientselect</FILE>
GimpRunGradientCallback
gimp_gradient_select_new
gimp_gradient_select_destroy
gimp_gradients_popup
gimp_gradients_close_popup
gimp_gradients_set_popup
......@@ -449,6 +466,13 @@ gimp_patterns_get_list
gimp_patterns_get_pattern
gimp_patterns_set_pattern
gimp_patterns_get_pattern_data
</SECTION>
<SECTION>
<FILE>gimppatternselect</FILE>
GimpRunPatternCallback
gimp_pattern_select_new
gimp_pattern_select_destroy
gimp_patterns_popup
gimp_patterns_close_popup
gimp_patterns_set_popup
......@@ -581,29 +605,32 @@ gimp_image_menu_new
gimp_layer_menu_new
gimp_channel_menu_new
gimp_drawable_menu_new
<SUBSECTION>
gimp_interactive_selection_brush
gimp_brush_select_widget
GimpRunBrushCallback
gimp_brush_select_widget_set_popup
gimp_brush_select_widget_close_popup
<SUBSECTION>
gimp_interactive_selection_font
gimp_font_select_widget
GimpRunFontCallback
gimp_font_select_widget_set_popup
gimp_font_select_widget_close_popup
<SUBSECTION>
gimp_interactive_selection_gradient
gimp_gradient_select_widget
GimpRunGradientCallback
gimp_gradient_select_widget_close_popup
gimp_gradient_select_widget_set_popup
<SUBSECTION>
gimp_interactive_selection_pattern
gimp_pattern_select_widget
GimpRunPatternCallback
gimp_pattern_select_widget_close_popup
gimp_pattern_select_widget_set_popup
</SECTION>
<SECTION>
<FILE>gimpbrushmenu</FILE>
gimp_brush_select_widget_new
gimp_brush_select_widget_close
gimp_brush_select_widget_set
</SECTION>
<SECTION>
<FILE>gimpfontmenu</FILE>
gimp_font_select_widget_new
gimp_font_select_widget_close
gimp_font_select_widget_set
</SECTION>
<SECTION>
<FILE>gimpgradientmenu</FILE>
gimp_gradient_select_widget_new
gimp_gradient_select_widget_close
gimp_gradient_select_widget_set
</SECTION>
<SECTION>
<FILE>gimppatternmenu</FILE>
gimp_pattern_select_widget_new
gimp_pattern_select_widget_close
gimp_pattern_select_widget_set
</SECTION>
......@@ -122,39 +122,3 @@ Functions related to getting and setting brushes.
@pname:
<!-- ##### FUNCTION gimp_brushes_popup ##### -->
<para>
</para>
@brush_callback:
@popup_title:
@initial_brush:
@opacity:
@spacing:
@paint_mode:
@Returns:
<!-- ##### FUNCTION gimp_brushes_close_popup ##### -->
<para>
</para>
@brush_callback:
@Returns:
<!-- ##### FUNCTION gimp_brushes_set_popup ##### -->
<para>
</para>
@brush_callback:
@brush_name:
@opacity:
@spacing:
@paint_mode:
@Returns:
<!-- ##### SECTION Title ##### -->
gimpbrushmenu
<!-- ##### SECTION Short_Description ##### -->
A widget for selecting brushes
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### FUNCTION gimp_brush_select_widget_new ##### -->
<para>
</para>
@title:
@brush_name:
@opacity:
@spacing:
@paint_mode:
@callback:
@data:
@Returns:
<!-- ##### FUNCTION gimp_brush_select_widget_close ##### -->
<para>
</para>
@widget:
<!-- ##### FUNCTION gimp_brush_select_widget_set ##### -->
<para>
</para>
@widget:
@brush_name:
@opacity:
@spacing:
@paint_mode:
<!-- ##### SECTION Title ##### -->
gimpbrushselect
<!-- ##### SECTION Short_Description ##### -->
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### USER_FUNCTION GimpRunBrushCallback ##### -->
<para>
</para>
@brush_name:
@opacity:
@spacing:
@paint_mode:
@width:
@height:
@mask_data:
@dialog_closing:
@user_data:
<!-- # Unused Parameters # -->
@name:
<!-- ##### FUNCTION gimp_brush_select_new ##### -->
<para>
</para>
@title:
@brush_name:
@opacity:
@spacing:
@paint_mode:
@callback:
@data:
@Returns:
<!-- ##### FUNCTION gimp_brush_select_destroy ##### -->
<para>
</para>
@brush_callback:
<!-- ##### FUNCTION gimp_brushes_popup ##### -->
<para>
</para>
@brush_callback:
@popup_title:
@initial_brush:
@opacity:
@spacing:
@paint_mode:
@Returns:
<!-- ##### FUNCTION gimp_brushes_close_popup ##### -->
<para>
</para>
@brush_callback:
@Returns:
<!-- ##### FUNCTION gimp_brushes_set_popup ##### -->
<para>
</para>
@brush_callback:
@brush_name:
@opacity:
@spacing:
@paint_mode:
@Returns:
<!-- ##### SECTION Title ##### -->
gimpfontmenu
<!-- ##### SECTION Short_Description ##### -->
A widget for selecting fonts
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### FUNCTION gimp_font_select_widget_new ##### -->
<para>
</para>
@title:
@font_name:
@callback:
@data:
@Returns:
<!-- ##### FUNCTION gimp_font_select_widget_close ##### -->
<para>
</para>
@widget:
<!-- ##### FUNCTION gimp_font_select_widget_set ##### -->
<para>
</para>
@widget:
@font_name:
......@@ -14,6 +14,38 @@ gimpfonts
</para>
<!-- ##### USER_FUNCTION GimpRunFontCallback ##### -->
<para>
</para>
@font_name:
@dialog_closing:
@user_data:
<!-- # Unused Parameters # -->
@name:
<!-- ##### FUNCTION gimp_font_select_new ##### -->
<para>
</para>
@title:
@font_name:
@callback:
@data:
@Returns:
<!-- ##### FUNCTION gimp_font_select_destroy ##### -->
<para>
</para>
@font_callback:
<!-- ##### FUNCTION gimp_fonts_popup ##### -->
<para>
......
<!-- ##### SECTION Title ##### -->
gimpgradientmenu
<!-- ##### SECTION Short_Description ##### -->
A widget for selecting gradient
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### FUNCTION gimp_gradient_select_widget_new ##### -->
<para>
</para>
@title:
@gradient_name:
@callback:
@data:
@Returns:
<!-- ##### FUNCTION gimp_gradient_select_widget_close ##### -->
<para>
</para>
@widget:
<!-- ##### FUNCTION gimp_gradient_select_widget_set ##### -->
<para>
</para>
@widget:
@gradient_name:
......@@ -80,40 +80,3 @@ Operations related to gradients.
@Returns:
<!-- ##### FUNCTION gimp_gradients_popup ##### -->
<para>
</para>
@gradient_callback:
@popup_title:
@initial_gradient:
@sample_size:
@Returns:
<!-- # Unused Parameters # -->
@gradients_callback:
<!-- ##### FUNCTION gimp_gradients_close_popup ##### -->
<para>
</para>
@gradient_callback:
@Returns:
<!-- # Unused Parameters # -->
@gradients_callback:
<!-- ##### FUNCTION gimp_gradients_set_popup ##### -->
<para>
</para>
@gradient_callback:
@gradient_name:
@Returns:
<!-- # Unused Parameters # -->
@gradients_callback:
<!-- ##### SECTION Title ##### -->
gimpgradientselect
<!-- ##### SECTION Short_Description ##### -->
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### USER_FUNCTION GimpRunGradientCallback ##### -->
<para>
</para>
@gradient_name:
@width:
@grad_data:
@dialog_closing:
@user_data:
<!-- # Unused Parameters # -->
@name:
<!-- ##### FUNCTION gimp_gradient_select_new ##### -->
<para>
</para>
@title:
@gradient_name:
@sample_size:
@callback:
@data:
@Returns:
<!-- ##### FUNCTION gimp_gradient_select_destroy ##### -->
<para>
</para>
@gradient_callback:
<!-- ##### FUNCTION gimp_gradients_popup ##### -->
<para>
</para>
@gradient_callback:
@popup_title:
@initial_gradient:
@sample_size:
@Returns:
<!-- # Unused Parameters # -->
@gradients_callback:
<!-- ##### FUNCTION gimp_gradients_close_popup ##### -->
<para>
</para>
@gradient_callback:
@Returns:
<!-- # Unused Parameters # -->
@gradients_callback:
<!-- ##### FUNCTION gimp_gradients_set_popup ##### -->
<para>
</para>
@gradient_callback:
@gradient_name:
@Returns:
<!-- # Unused Parameters # -->
@gradients_callback:
......@@ -2,7 +2,7 @@
gimpmenu
<!-- ##### SECTION Short_Description ##### -->
Widgets and functions for selecting images, layers, brushes, patterns etc.
Menus for selecting images, layers, channels and drawables
<!-- ##### SECTION Long_Description ##### -->
<para>
......@@ -82,263 +82,3 @@ Widgets and functions for selecting images, layers, brushes, patterns etc.
@Returns:
<!-- ##### FUNCTION gimp_interactive_selection_brush ##### -->
<para>
</para>
@title:
@brush_name:
@opacity:
@spacing:
@paint_mode:
@callback:
@data:
@Returns:
<!-- # Unused Parameters # -->
@dialogname:
<!-- ##### FUNCTION gimp_brush_select_widget ##### -->
<para>
</para>
@title:
@brush_name:
@opacity:
@spacing:
@paint_mode:
@callback:
@data:
@Returns:
<!-- # Unused Parameters # -->
@cback:
@dname:
@ibrush:
<!-- ##### USER_FUNCTION GimpRunBrushCallback ##### -->
<para>
</para>
@name:
@opacity:
@spacing:
@paint_mode:
@width:
@height: <