diff options
author | Havoc Pennington <hp@redhat.com> | 2001-05-07 15:58:47 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-05-07 15:58:47 +0000 |
commit | b4e4a0ed9d66132efad0539bc5901b35ea262d88 (patch) | |
tree | 7eea37afc0c2f32334112872547373758ac7d6b6 /docs/reference/gdk-pixbuf | |
parent | 607ac1e1b31dc21598830a22930bcc39a77cb5c3 (diff) | |
download | gtk+-b4e4a0ed9d66132efad0539bc5901b35ea262d88.tar.gz |
fix some shell typos
2001-05-04 Havoc Pennington <hp@redhat.com>
* configure.in: fix some shell typos
* gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix
* gtk/gtkimage.c: handle animations
* gtk/gtkcheckbutton.c (gtk_check_button_size_request): request
border_width * 2, not just border_width
* gtk/gtkscale.c: add "format_value" signal to allow people
to override the way values are drawn.
(gtk_scale_get_value_size): fix width/height mistake,
and compute size from actual displayed text, not
from made-up text.
* gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in
signal registration
* tests/testtext.c: Add "Remove all tags" menu item for testing
* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement
* demos/gtk-demo/main.c (main): add hack so we can find modules
without installing gtk
* demos/gtk-demo/textview.c (insert_text): demo font scaling
* gtk/gtkcellrenderertext.c: Add "scale" property (font scaling
factor)
(gtk_cell_renderer_text_set_property): remove some bogus
g_object_notify
* gtk/gtktexttag.c: add "scale" property which is a font scaling
factor
* gtk/gtktextlayout.c (add_text_attrs): add font scale attribute
to layout
* gtk/gtktextiter.c (gtk_text_iter_is_start): rename from
gtk_text_iter_is_first
2001-05-04 Havoc Pennington <hp@redhat.com>
* pixops/pixops.c (pixops_process): merge fix from stable: Patch
from hoshem@mel.comcen.com.au to fix nonzero X offsets. Fixes
bug #50371.
* gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): merge
from stable: Patch from OKADA Mitsuru <m-okada@fjb.co.jp> to fix
confusion of using "src" instead of "p".
(pixops_composite_color_nearest): Use a more accurate (and
correct, to begin with) compositing method. This cures checks
showing through on images with no alpha.
* gdk-pixbuf.c (gdk_pixbuf_fill): fix bug that left some trailing
bytes unfilled.
* gdk-pixbuf-io.h: fix UpdatedNotifyFunc to use signed ints
* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Change
area_updated signal to use signed ints. Removed animation-related
signals.
* io-gif.c, io-gif-animation.h, io-gif-animation.c: Massive
rewrite action
* gdk-pixbuf-animation.c: Add GdkPixbufAnimationIter to abstract
all the pesky details. Remove old frame-based API. Make
GdkPixbufAnimation an abstract base class, derived by the loaders.
Diffstat (limited to 'docs/reference/gdk-pixbuf')
-rw-r--r-- | docs/reference/gdk-pixbuf/tmpl/animation.sgml | 126 | ||||
-rw-r--r-- | docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml | 21 | ||||
-rw-r--r-- | docs/reference/gdk-pixbuf/tmpl/module_interface.sgml | 19 |
3 files changed, 10 insertions, 156 deletions
diff --git a/docs/reference/gdk-pixbuf/tmpl/animation.sgml b/docs/reference/gdk-pixbuf/tmpl/animation.sgml index 9e9d4b2ff5..f13b066aca 100644 --- a/docs/reference/gdk-pixbuf/tmpl/animation.sgml +++ b/docs/reference/gdk-pixbuf/tmpl/animation.sgml @@ -2,15 +2,17 @@ Animations <!-- ##### SECTION Short_Description ##### --> -Animations as multi-frame structures. +Animated images. <!-- ##### SECTION Long_Description ##### --> <para> - The &gdk-pixbuf; library provides a simple mechanism to load and - represent animations, primarily animated GIF files. Animations - are represented as lists of #GdkPixbufFrame structures. Each - frame structure contains a #GdkPixbuf structure and information - about the frame's overlay mode and duration. + The &gdk-pixbuf; library provides a simple mechanism to load and represent + animations. An animation is conceptually a series of frames to be displayed + over time. Each frame is the same size. The animation may not be represented + as a series of frames internally; for example, it may be stored as a + sprite and instructions for moving the sprite around a background. To display + an animation you don't need to understand its representation, however; you just + ask &gdk-pixbuf; what should be displayed at a given point in time. </para> <!-- ##### SECTION See_Also ##### --> @@ -18,34 +20,9 @@ Animations as multi-frame structures. #GdkPixbufLoader </para> -<!-- ##### ENUM GdkPixbufFrameAction ##### --> - <para> - Each animation frame can have several things happen to it when the - next frame is displayed. The #GdkPixbufFrameAction determines - this. These are essentially the overlay modes supported by GIF - animations. - </para> - -@GDK_PIXBUF_FRAME_RETAIN: The previous image should remain displayed, -and will potentially be occluded by the new frame. -@GDK_PIXBUF_FRAME_DISPOSE: The animation will be reverted to the state -before the frame was shown. -@GDK_PIXBUF_FRAME_REVERT: The animation will be reverted to the first -frame. - -<!-- ##### STRUCT GdkPixbufFrame ##### --> - <para> - This structure describes a frame in a #GdkPixbufAnimation. Each - frame consists of a #GdkPixbuf, an offset of the frame within the - animation's bounding box, a duration, and an overlay mode or - action. - </para> - - <!-- ##### STRUCT GdkPixbufAnimation ##### --> <para> - This structure describes an animation, which is represented as a - list of #GdkPixbufFrame structures. + This object describes an animation. </para> @@ -76,15 +53,6 @@ frame. @animation: -<!-- ##### FUNCTION gdk_pixbuf_animation_get_frames ##### --> -<para> - -</para> - -@animation: -@Returns: - - <!-- ##### FUNCTION gdk_pixbuf_animation_get_width ##### --> <para> @@ -94,15 +62,6 @@ frame. @Returns: -<!-- ##### FUNCTION gdk_pixbuf_animation_get_num_frames ##### --> -<para> - -</para> - -@animation: -@Returns: - - <!-- ##### FUNCTION gdk_pixbuf_animation_get_height ##### --> <para> @@ -112,70 +71,3 @@ frame. @Returns: -<!-- ##### FUNCTION gdk_pixbuf_frame_copy ##### --> -<para> - -</para> - -@src: -@Returns: - - -<!-- ##### FUNCTION gdk_pixbuf_frame_free ##### --> -<para> - -</para> - -@frame: - - -<!-- ##### FUNCTION gdk_pixbuf_frame_get_pixbuf ##### --> -<para> - -</para> - -@frame: -@Returns: - - -<!-- ##### FUNCTION gdk_pixbuf_frame_get_action ##### --> -<para> - -</para> - -@frame: -@Returns: - - -<!-- ##### FUNCTION gdk_pixbuf_frame_get_y_offset ##### --> -<para> - -</para> - -@frame: -@Returns: - - -<!-- ##### FUNCTION gdk_pixbuf_frame_get_delay_time ##### --> -<para> - -</para> - -@frame: -@Returns: - - -<!-- ##### FUNCTION gdk_pixbuf_frame_get_x_offset ##### --> -<para> - -</para> - -@frame: -@Returns: <!-- -Local variables: -mode: sgml -sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "") -End: ---> - - diff --git a/docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml b/docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml index b2f07bd0ef..acdebe537c 100644 --- a/docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml +++ b/docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml @@ -132,15 +132,6 @@ Application-driven progressive image loading. @Returns: -<!-- ##### SIGNAL GdkPixbufLoader::animation-done ##### --> - <para> - This signal is emitted when an animation is done loading. - </para> - -@gdkpixbufloader: the object which received the signal. -<!-- # Unused Parameters # --> -@loader: Loader which emitted the signal. - <!-- ##### SIGNAL GdkPixbufLoader::area-prepared ##### --> <para> This signal is emitted when the pixbuf loader has been fed the @@ -194,15 +185,3 @@ sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "") End: --> -<!-- ##### SIGNAL GdkPixbufLoader::frame-done ##### --> - <para> - This signal is emitted when a frame is done loading. It will be - emitted for each frame in an animation data stream. - </para> - -@gdkpixbufloader: the object which received the signal. -@arg1: -<!-- # Unused Parameters # --> -@loader: Loader which emitted the signal. -@frame: Frame which just completed loading. - diff --git a/docs/reference/gdk-pixbuf/tmpl/module_interface.sgml b/docs/reference/gdk-pixbuf/tmpl/module_interface.sgml index 563fabb57e..139ee467d3 100644 --- a/docs/reference/gdk-pixbuf/tmpl/module_interface.sgml +++ b/docs/reference/gdk-pixbuf/tmpl/module_interface.sgml @@ -28,6 +28,7 @@ Module Interface </para> @pixbuf: +@anim: @user_data: @@ -44,24 +45,6 @@ Module Interface @user_data: -<!-- ##### USER_FUNCTION ModuleFrameDoneNotifyFunc ##### --> -<para> - -</para> - -@frame: -@user_data: - - -<!-- ##### USER_FUNCTION ModuleAnimationDoneNotifyFunc ##### --> -<para> - -</para> - -@pixbuf: -@user_data: - - <!-- ##### STRUCT GdkPixbufModule ##### --> <para> |