removed GimpZoomWidgetType.

2005-09-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgetsenums.[ch]: removed GimpZoomWidgetType.

	* libgimpwidgets/gimpzoommodel.[ch]: removed gimp_zoom_widget_new()
	in favor of gimp_zoom_button_new().

	* libgimp/gimpzoompreview.c: changed accordingly.

	* libgimpwidgets/gimpwidgets.def: updated.

	* plug-ins/MapObject/mapobject_main.[ch]
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_ui.c: use a GimpZoomModel and let
	it create the zoom buttons.

	* plug-ins/MapObject/mapobject_apply.c
	* plug-ins/MapObject/mapobject_image.c
	* plug-ins/MapObject/mapobject_shade.c: include "gimp/gimpui.h".
This commit is contained in:
Sven Neumann
2005-09-25 21:22:39 +00:00
committed by Sven Neumann
parent d4776ce092
commit 3d0adbf117
18 changed files with 167 additions and 155 deletions

View File

@ -1,3 +1,9 @@
2005-09-25 Sven Neumann <sven@gimp.org>
* libgimpwidgets/libgimpwidgets-sections.txt
* libgimpwidgets/tmpl/gimpstock.sgml
* libgimpwidgets/tmpl/gimpzoommodel.sgml: updated.
2005-09-25 Sven Neumann <sven@gimp.org>
* libgimpwidgets/libgimpwidgets-sections.txt

View File

@ -569,8 +569,8 @@ GIMP_STOCK_PASTE_AS_NEW
GIMP_STOCK_PASTE_INTO
GIMP_STOCK_PATH_STROKE
GIMP_STOCK_PLUGIN
GIMP_STOCK_QMASK_OFF
GIMP_STOCK_QMASK_ON
GIMP_STOCK_QUICK_MASK_OFF
GIMP_STOCK_QUICK_MASK_ON
GIMP_STOCK_HISTOGRAM
GIMP_STOCK_HISTOGRAM_LINEAR
GIMP_STOCK_HISTOGRAM_LOGARITHMIC
@ -694,6 +694,7 @@ GIMP_STOCK_TOOL_DODGE
GIMP_STOCK_TOOL_ELLIPSE_SELECT
GIMP_STOCK_TOOL_ERASER
GIMP_STOCK_TOOL_FLIP
GIMP_STOCK_TOOL_FOREGROUND_SELECT
GIMP_STOCK_TOOL_FREE_SELECT
GIMP_STOCK_TOOL_FUZZY_SELECT
GIMP_STOCK_TOOL_HUE_SATURATION
@ -1018,11 +1019,13 @@ GIMP_SCROLLED_PREVIEW_GET_CLASS
<FILE>gimpzoommodel</FILE>
<TITLE>GimpZoomModel</TITLE>
GimpZoomModel
GimpZoomType
gimp_zoom_model_new
gimp_zoom_model_set_range
gimp_zoom_model_zoom
gimp_zoom_model_get_factor
gimp_zoom_model_get_fraction
gimp_zoom_widget_new
gimp_zoom_button_new
gimp_zoom_model_zoom_step
<SUBSECTION Standard>
GimpZoomModelClass
@ -1033,6 +1036,8 @@ gimp_zoom_model_get_type
GIMP_ZOOM_MODEL_CLASS
GIMP_IS_ZOOM_MODEL_CLASS
GIMP_ZOOM_MODEL_GET_CLASS
GIMP_TYPE_ZOOM_TYPE
gimp_zoom_type_get_type
</SECTION>
<SECTION>

View File

@ -156,16 +156,16 @@ RTL variant
<!-- ##### MACRO GIMP_STOCK_QMASK_OFF ##### -->
<!-- ##### MACRO GIMP_STOCK_QUICK_MASK_OFF ##### -->
<para xml:base="../../gimpstock.xml">
<inlinegraphic fileref="stock-qmask-off-16.png" format="png"></inlinegraphic>
<inlinegraphic fileref="stock-quick-mask-off-16.png" format="png"></inlinegraphic>
</para>
<!-- ##### MACRO GIMP_STOCK_QMASK_ON ##### -->
<!-- ##### MACRO GIMP_STOCK_QUICK_MASK_ON ##### -->
<para xml:base="../../gimpstock.xml">
<inlinegraphic fileref="stock-qmask-on-16.png" format="png"></inlinegraphic>
<inlinegraphic fileref="stock-quick-mask-on-16.png" format="png"></inlinegraphic>
</para>
@ -1102,6 +1102,14 @@ RTL variant
<!-- ##### MACRO GIMP_STOCK_TOOL_FOREGROUND_SELECT ##### -->
<para xml:base="../../gimpstock.xml">
<inlinegraphic fileref="stock-tool-foreground-select-22.png" format="png"></inlinegraphic>
<inlinegraphic fileref="stock-tool-foreground-select-16.png" format="png"></inlinegraphic>
</para>
<!-- ##### MACRO GIMP_STOCK_TOOL_FREE_SELECT ##### -->
<para xml:base="../../gimpstock.xml">
<inlinegraphic fileref="stock-tool-free-select-22.png" format="png"></inlinegraphic>

View File

@ -48,6 +48,19 @@ GimpZoomModel
</para>
<!-- ##### ENUM GimpZoomType ##### -->
<para>
</para>
@GIMP_ZOOM_IN:
@GIMP_ZOOM_OUT:
@GIMP_ZOOM_IN_MORE:
@GIMP_ZOOM_OUT_MORE:
@GIMP_ZOOM_IN_MAX:
@GIMP_ZOOM_OUT_MAX:
@GIMP_ZOOM_TO:
<!-- ##### FUNCTION gimp_zoom_model_new ##### -->
<para>
@ -66,6 +79,16 @@ GimpZoomModel
@max:
<!-- ##### FUNCTION gimp_zoom_model_zoom ##### -->
<para>
</para>
@model:
@zoom_type:
@scale:
<!-- ##### FUNCTION gimp_zoom_model_get_factor ##### -->
<para>
@ -80,18 +103,19 @@ GimpZoomModel
</para>
@zoom_factor:
@model:
@numerator:
@denominator:
<!-- ##### FUNCTION gimp_zoom_widget_new ##### -->
<!-- ##### FUNCTION gimp_zoom_button_new ##### -->
<para>
</para>
@model:
@type:
@zoom_type:
@icon_size:
@Returns: