app/gui/Makefile.am added font selection GUI to be used through the PDB.
2003-03-28 Sven Neumann <sven@gimp.org> * app/gui/Makefile.am * app/gui/font-select.[ch]: added font selection GUI to be used through the PDB. * app/gui/brush-select.c * app/gui/gradient-select.c * app/gui/palette-select.c * app/gui/pattern-select.c: unified preview and dialog sizes. * tools/pdbgen/Makefile.am * tools/pdbgen/pdb/font_select.pdb: added new file that provides PDB accessors to the font selection GUI. * app/pdb/font_select_cmds.c * app/pdb/internal_procs.c * libgimp/gimp_pdb.h * libgimp/gimpfontselect_pdb.[ch] * tools/pdbgen/groups.pl: regenerated. * libgimp/Makefile.am * libgimp/gimpfontmenu.c * libgimp/gimpmenu.[ch]: added a simple font selection widget to be used by plug-ins and scripts. * plug-ins/script-fu/script-fu-scripts.c: use the new font selection widget. Fixes bug #105610.
This commit is contained in:

committed by
Sven Neumann

parent
f13f80f04a
commit
c7281b5227
@ -1,3 +1,10 @@
|
||||
2003-03-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimp/libgimp-docs.sgml
|
||||
* libgimp/libgimp-sections.txt
|
||||
* libgimp/tmpl/gimpfonts.sgml
|
||||
* libgimp/tmpl/gimpmenu.sgml: updated for new font selection API.
|
||||
|
||||
2003-03-27 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpwidgets/libgimpwidgets-sections.txt
|
||||
|
@ -11,6 +11,7 @@
|
||||
<!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 GimpGimprc SYSTEM "xml/gimpgimprc.xml">
|
||||
<!ENTITY GimpGradients SYSTEM "xml/gimpgradients.xml">
|
||||
<!ENTITY GimpGuides SYSTEM "xml/gimpguides.xml">
|
||||
@ -67,6 +68,7 @@
|
||||
&GimpEdit;
|
||||
&GimpFileops;
|
||||
&GimpFloatingsel;
|
||||
&GimpFonts;
|
||||
&GimpGimprc;
|
||||
&GimpGradients;
|
||||
&GimpGuides;
|
||||
|
@ -228,6 +228,13 @@ gimp_floating_sel_rigor
|
||||
gimp_floating_sel_relax
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gimpfonts</FILE>
|
||||
gimp_fonts_popup
|
||||
gimp_fonts_close_popup
|
||||
gimp_fonts_set_popup
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gimpgimprc</FILE>
|
||||
gimp_gimprc_query
|
||||
@ -568,25 +575,29 @@ gimp_image_menu_new
|
||||
gimp_layer_menu_new
|
||||
gimp_channel_menu_new
|
||||
gimp_drawable_menu_new
|
||||
gimp_interactive_selection_brush
|
||||
<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_pattern
|
||||
<SUBSECTION>
|
||||
gimp_pattern_select_widget
|
||||
GimpRunPatternCallback
|
||||
gimp_pattern_select_widget_close_popup
|
||||
gimp_pattern_select_widget_set_popup
|
||||
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
|
||||
<SUBSECTION>
|
||||
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>
|
||||
|
||||
|
48
devel-docs/libgimp/tmpl/gimpfonts.sgml
Normal file
48
devel-docs/libgimp/tmpl/gimpfonts.sgml
Normal file
@ -0,0 +1,48 @@
|
||||
<!-- ##### SECTION Title ##### -->
|
||||
gimpfonts
|
||||
|
||||
<!-- ##### SECTION Short_Description ##### -->
|
||||
|
||||
|
||||
<!-- ##### SECTION Long_Description ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_fonts_popup ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@font_callback:
|
||||
@popup_title:
|
||||
@initial_font:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_fonts_close_popup ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@font_callback:
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_fonts_set_popup ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@font_callback:
|
||||
@font_name:
|
||||
@Returns:
|
||||
|
||||
|
@ -161,69 +161,55 @@ Widgets and functions for selecting images, layers, brushes, patterns etc.
|
||||
@w:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_interactive_selection_pattern ##### -->
|
||||
<!-- ##### FUNCTION gimp_interactive_selection_font ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@dialogtitle:
|
||||
@pattern_name:
|
||||
@font_name:
|
||||
@callback:
|
||||
@data:
|
||||
@Returns:
|
||||
<!-- # Unused Parameters # -->
|
||||
@udata:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_pattern_select_widget ##### -->
|
||||
<!-- ##### FUNCTION gimp_font_select_widget ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@dname:
|
||||
@ipattern:
|
||||
@ifont:
|
||||
@cback:
|
||||
@data:
|
||||
@Returns:
|
||||
<!-- # Unused Parameters # -->
|
||||
@Param4:
|
||||
|
||||
|
||||
<!-- ##### USER_FUNCTION GimpRunPatternCallback ##### -->
|
||||
<!-- ##### USER_FUNCTION GimpRunFontCallback ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@name:
|
||||
@width:
|
||||
@height:
|
||||
@bpp:
|
||||
@mask_data:
|
||||
@dialog_closing:
|
||||
@user_data:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_pattern_select_widget_close_popup ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@widget:
|
||||
<!-- # Unused Parameters # -->
|
||||
@Returns:
|
||||
@w:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_pattern_select_widget_set_popup ##### -->
|
||||
<!-- ##### FUNCTION gimp_font_select_widget_set_popup ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@widget:
|
||||
@pname:
|
||||
<!-- # Unused Parameters # -->
|
||||
@Returns:
|
||||
@w:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_font_select_widget_close_popup ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@widget:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_interactive_selection_gradient ##### -->
|
||||
@ -291,3 +277,68 @@ Widgets and functions for selecting images, layers, brushes, patterns etc.
|
||||
@w:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_interactive_selection_pattern ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@dialogtitle:
|
||||
@pattern_name:
|
||||
@callback:
|
||||
@data:
|
||||
@Returns:
|
||||
<!-- # Unused Parameters # -->
|
||||
@udata:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_pattern_select_widget ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@dname:
|
||||
@ipattern:
|
||||
@cback:
|
||||
@data:
|
||||
@Returns:
|
||||
<!-- # Unused Parameters # -->
|
||||
@Param4:
|
||||
|
||||
|
||||
<!-- ##### USER_FUNCTION GimpRunPatternCallback ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@name:
|
||||
@width:
|
||||
@height:
|
||||
@bpp:
|
||||
@mask_data:
|
||||
@dialog_closing:
|
||||
@user_data:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_pattern_select_widget_close_popup ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@widget:
|
||||
<!-- # Unused Parameters # -->
|
||||
@Returns:
|
||||
@w:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gimp_pattern_select_widget_set_popup ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@widget:
|
||||
@pname:
|
||||
<!-- # Unused Parameters # -->
|
||||
@Returns:
|
||||
@w:
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user