mutter/clutter/cltr-animator.h

44 lines
929 B
C
Raw Normal View History

2005-05-15 23:16:19 +00:00
#ifndef _HAVE_CLTR_ANIMATOR_H
#define _HAVE_CLTR_ANIMATOR_H
#include "cltr.h"
typedef struct CltrAnimator CltrAnimator;
typedef enum CltrAnimatorType
{
CltrAnimatorFullZoom
}
CltrAnimatorType;
typedef void (*CltrAnimatorFinishFunc) (CltrAnimator *anim, void *userdata) ;
2005-05-16 22:38:57 +00:00
CltrAnimator*
cltr_animator_zoom_new(CltrWidget *widget,
int src_x1,
int src_y1,
int src_x2,
int src_y2,
int dst_x1,
int dst_y1,
int dst_x2,
int dst_y2);
2005-05-15 23:16:19 +00:00
CltrAnimator*
cltr_animator_fullzoom_new(CltrWidget *widget,
int x1,
int y1,
int x2,
int y2);
2005-05-16 22:38:57 +00:00
/* HACK */
void
cltr_animator_reset(CltrAnimator *anim);
2005-05-15 23:16:19 +00:00
void
cltr_animator_run(CltrAnimator *anim,
CltrAnimatorFinishFunc finish_callback,
gpointer *finish_data);
#endif