| Top |
| GnomeBGCrossfade * | gnome_bg_crossfade_new () |
| gboolean | gnome_bg_crossfade_set_start_surface () |
| gboolean | gnome_bg_crossfade_set_end_surface () |
| void | gnome_bg_crossfade_start () |
| gboolean | gnome_bg_crossfade_is_started () |
| void | gnome_bg_crossfade_stop () |
GnomeBGCrossfade * gnome_bg_crossfade_new (int width,int height);
Creates a new object to manage crossfading a window background between two cairo_surface_ts.
gboolean gnome_bg_crossfade_set_start_surface (GnomeBGCrossfade *fade,cairo_surface_t *surface);
Before initiating a crossfade with gnome_bg_crossfade_start()
a start and end surface have to be set. This function sets
the surface shown at the beginning of the crossfade effect.
gboolean gnome_bg_crossfade_set_end_surface (GnomeBGCrossfade *fade,cairo_surface_t *surface);
Before initiating a crossfade with gnome_bg_crossfade_start()
a start and end surface have to be set. This function sets
the surface shown at the end of the crossfade effect.
void gnome_bg_crossfade_start (GnomeBGCrossfade *fade,GdkWindow *window);
This function initiates a quick crossfade between two surfaces on
the background of window
. Before initiating the crossfade both
gnome_bg_crossfade_start() and gnome_bg_crossfade_end() need to
be called. If animations are disabled, the crossfade is skipped,
and the window background is set immediately to the end surface.
gboolean
gnome_bg_crossfade_is_started (GnomeBGCrossfade *fade);
This function reveals whether or not fade
is currently
running on a window. See gnome_bg_crossfade_start() for
information on how to initiate a crossfade.
void
gnome_bg_crossfade_stop (GnomeBGCrossfade *fade);
This function stops any in progress crossfades that may be
happening. It's harmless to call this function if fade
is
already stopped.