include number-pair-entry instead of ratio-entry.

2007-08-08  Sven Neumann  <sven@gimp.org>

	* tools/widgets.c: include number-pair-entry instead of 
ratio-entry.

	* libgimpwidgets/images/gimp-ratio-entry.png
	* libgimpwidgets/images/gimp-number-pair-entry.png: replaced
	screenshots.

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.types
	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/tmpl/gimpnumberpairentry.sgml
	* libgimpwidgets/tmpl/gimpratioentry.sgml: adopt to change from
	GimpRatioEntry to GimpNumberPairEntry.


svn path=/trunk/; revision=23156
This commit is contained in:
Sven Neumann
2007-08-08 18:55:56 +00:00
committed by Sven Neumann
parent aa51fd4c06
commit 4cba8a2364
9 changed files with 163 additions and 165 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -41,6 +41,7 @@
<xi:include href="xml/gimpintcombobox.xml" />
<xi:include href="xml/gimpintstore.xml" />
<xi:include href="xml/gimpmemsizeentry.xml" />
<xi:include href="xml/gimpnumberpairentry.xml" />
<xi:include href="xml/gimpoffsetarea.xml" />
<xi:include href="xml/gimppageselector.xml" />
<xi:include href="xml/gimppatheditor.xml" />
@ -48,7 +49,6 @@
<xi:include href="xml/gimppixmap.xml" />
<xi:include href="xml/gimppreviewarea.xml" />
<xi:include href="xml/gimppreview.xml" />
<xi:include href="xml/gimpratioentry.xml" />
<xi:include href="xml/gimpscrolledpreview.xml" />
<xi:include href="xml/gimpsizeentry.xml" />
<xi:include href="xml/gimpstringcombobox.xml" />

View File

@ -486,26 +486,23 @@ gimp_size_entry_update_policy_get_type
</SECTION>
<SECTION>
<FILE>gimpratioentry</FILE>
<TITLE>GimpRatioEntry</TITLE>
GimpRatioEntry
<FILE>gimpnumberpairentry</FILE>
<TITLE>GimpNumberPairEntry</TITLE>
GimpNumberPairEntry
GimpAspectType
gimp_ratio_entry_new
gimp_ratio_entry_set_fraction
gimp_ratio_entry_get_fraction
gimp_ratio_entry_set_ratio
gimp_ratio_entry_get_ratio
gimp_ratio_entry_set_aspect
gimp_ratio_entry_get_aspect
gimp_number_pair_entry_new
gimp_number_pair_entry_set_default_values
gimp_number_pair_entry_set_values
gimp_number_pair_entry_get_values
<SUBSECTION Standard>
GIMP_RATIO_ENTRY
GIMP_IS_RATIO_ENTRY
GIMP_TYPE_RATIO_ENTRY
gimp_ratio_entry_get_type
GimpRatioEntryClass
GIMP_RATIO_ENTRY_CLASS
GIMP_IS_RATIO_ENTRY_CLASS
GIMP_RATIO_ENTRY_GET_CLASS
GIMP_NUMBER_PAIR_ENTRY
GIMP_IS_NUMBER_PAIR_ENTRY
GIMP_TYPE_NUMBER_PAIR_ENTRY
gimp_number_pair_entry_get_type
GimpNumberPairEntryClass
GIMP_NUMBER_PAIR_ENTRY_CLASS
GIMP_IS_NUMBER_PAIR_ENTRY_CLASS
GIMP_NUMBER_PAIR_ENTRY_GET_CLASS
GIMP_TYPE_ASPECT_TYPE
gimp_aspect_type_get_type
</SECTION>

View File

@ -29,6 +29,7 @@ gimp_hint_box_get_type
gimp_int_combo_box_get_type
gimp_int_store_get_type
gimp_memsize_entry_get_type
gimp_number_pair_entry_get_type
gimp_offset_area_get_type
gimp_page_selector_get_type
gimp_path_editor_get_type
@ -36,7 +37,6 @@ gimp_pick_button_get_type
gimp_pixmap_get_type
gimp_preview_area_get_type
gimp_preview_get_type
gimp_ratio_entry_get_type
gimp_scrolled_preview_get_type
gimp_size_entry_get_type
gimp_string_combo_box_get_type

View File

@ -0,0 +1,110 @@
<!-- ##### SECTION Title ##### -->
GimpNumberPairEntry
<!-- ##### SECTION Short_Description ##### -->
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GimpNumberPairEntry ##### -->
<para>
</para>
<!-- ##### SIGNAL GimpNumberPairEntry::numbers-changed ##### -->
<para>
</para>
@gimpnumberpairentry: the object which received the signal.
<!-- ##### SIGNAL GimpNumberPairEntry::ratio-changed ##### -->
<para>
</para>
@gimpnumberpairentry: the object which received the signal.
<!-- ##### ARG GimpNumberPairEntry:aspect ##### -->
<para>
</para>
<!-- ##### ARG GimpNumberPairEntry:left-number ##### -->
<para>
</para>
<!-- ##### ARG GimpNumberPairEntry:ratio ##### -->
<para>
</para>
<!-- ##### ARG GimpNumberPairEntry:right-number ##### -->
<para>
</para>
<!-- ##### ENUM GimpAspectType ##### -->
<para>
</para>
@GIMP_ASPECT_SQUARE:
@GIMP_ASPECT_PORTRAIT:
@GIMP_ASPECT_LANDSCAPE:
<!-- ##### FUNCTION gimp_number_pair_entry_new ##### -->
<para>
</para>
@separators:
@allow_simplification:
@min_valid_value:
@max_valid_value:
@Returns:
<!-- ##### FUNCTION gimp_number_pair_entry_set_default_values ##### -->
<para>
</para>
@entry:
@left:
@right:
<!-- ##### FUNCTION gimp_number_pair_entry_set_values ##### -->
<para>
</para>
@entry:
@left:
@right:
<!-- ##### FUNCTION gimp_number_pair_entry_get_values ##### -->
<para>
</para>
@entry:
@left:
@right:

View File

@ -1,125 +0,0 @@
<!-- ##### SECTION Title ##### -->
GimpRatioEntry
<!-- ##### SECTION Short_Description ##### -->
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GimpRatioEntry ##### -->
<para>
</para>
<!-- ##### SIGNAL GimpRatioEntry::ratio-changed ##### -->
<para>
</para>
@gimpratioentry: the object which received the signal.
<!-- ##### ARG GimpRatioEntry:aspect ##### -->
<para>
</para>
<!-- ##### ARG GimpRatioEntry:denominator ##### -->
<para>
</para>
<!-- ##### ARG GimpRatioEntry:numerator ##### -->
<para>
</para>
<!-- ##### ARG GimpRatioEntry:ratio ##### -->
<para>
</para>
<!-- ##### ENUM GimpAspectType ##### -->
<para>
</para>
@GIMP_ASPECT_SQUARE:
@GIMP_ASPECT_PORTRAIT:
@GIMP_ASPECT_LANDSCAPE:
<!-- ##### FUNCTION gimp_ratio_entry_new ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION gimp_ratio_entry_set_fraction ##### -->
<para>
</para>
@entry:
@numerator:
@denominator:
<!-- ##### FUNCTION gimp_ratio_entry_get_fraction ##### -->
<para>
</para>
@entry:
@numerator:
@denominator:
<!-- ##### FUNCTION gimp_ratio_entry_set_ratio ##### -->
<para>
</para>
@entry:
@ratio:
<!-- ##### FUNCTION gimp_ratio_entry_get_ratio ##### -->
<para>
</para>
@entry:
@Returns:
<!-- ##### FUNCTION gimp_ratio_entry_set_aspect ##### -->
<para>
</para>
@entry:
@aspect:
<!-- ##### FUNCTION gimp_ratio_entry_get_aspect ##### -->
<para>
</para>
@entry:
@Returns: