libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.def

2004-07-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimppreviewarea.[ch]: added GimpPreviewArea, a
	replacement for GtkPreview, loosely based on patches from Geert
	Jordaens and David Odin. Fixes bug #144759.

	* plug-ins/common/sharpen.c: use the new widget instead of a
	GtkPreview; saves about 100 lines of rather complex code :)
This commit is contained in:
Sven Neumann
2004-07-29 17:10:28 +00:00
committed by Sven Neumann
parent 1e005bfb12
commit c307429a24
13 changed files with 664 additions and 114 deletions

View File

@ -36,6 +36,7 @@
<xi:include href="xml/gimppatheditor.xml" />
<xi:include href="xml/gimppickbutton.xml" />
<xi:include href="xml/gimppixmap.xml" />
<xi:include href="xml/gimppreviewarea.xml" />
<xi:include href="xml/gimpunitmenu.xml" />
</part>

View File

@ -769,6 +769,24 @@ GIMP_IS_PICK_BUTTON_CLASS
GIMP_PICK_BUTTON_GET_CLASS
</SECTION>
<SECTION>
<FILE>gimppreviewarea</FILE>
<TITLE>GimpPreviewArea</TITLE>
GimpPreviewArea
gimp_preview_area_new
gimp_preview_area_draw
gimp_preview_area_set_cmap
<SUBSECTION Standard>
GimpPreviewAreaClass
GIMP_PREVIEW_AREA
GIMP_IS_PREVIEW_AREA
GIMP_TYPE_PREVIEW_AREA
gimp_preview_area_get_type
GIMP_PREVIEW_AREA_CLASS
GIMP_IS_PREVIEW_AREA_CLASS
GIMP_PREVIEW_AREA_GET_CLASS
</SECTION>
<SECTION>
<FILE>gimpoldwidgets</FILE>
gimp_int_option_menu_new

View File

@ -29,5 +29,6 @@ gimp_offset_area_get_type
gimp_path_editor_get_type
gimp_pick_button_get_type
gimp_pixmap_get_type
gimp_preview_area_get_type
gimp_size_entry_get_type
gimp_unit_menu_get_type

View File

@ -25,12 +25,12 @@ GimpCellRendererColor
</para>
<!-- ##### ARG GimpCellRendererColor:opaque ##### -->
<!-- ##### ARG GimpCellRendererColor:icon-size ##### -->
<para>
</para>
<!-- ##### ARG GimpCellRendererColor:stock-size ##### -->
<!-- ##### ARG GimpCellRendererColor:opaque ##### -->
<para>
</para>

View File

@ -0,0 +1,57 @@
<!-- ##### SECTION Title ##### -->
GimpPreviewArea
<!-- ##### SECTION Short_Description ##### -->
<!-- ##### SECTION Long_Description ##### -->
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### STRUCT GimpPreviewArea ##### -->
<para>
</para>
<!-- ##### FUNCTION gimp_preview_area_new ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION gimp_preview_area_draw ##### -->
<para>
</para>
@area:
@x:
@y:
@width:
@height:
@type:
@buf:
@rowstride:
<!-- # Unused Parameters # -->
@image_type:
<!-- ##### FUNCTION gimp_preview_area_set_cmap ##### -->
<para>
</para>
@area:
@cmap:
@num_colors: