various fixes to MidiRegionView selection handling, key handling, drawing of ghost...
[ardour2.git] / libs / clearlooks-newer / animation.h
blobda70b6ce667bb2e366cf978154a463079d780379
1 /* Clearlooks Engine
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Library General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) any later version.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Library General Public License for more details.
13 * You should have received a copy of the GNU Library General Public
14 * License along with this library; if not, write to the
15 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16 * Boston, MA 02111-1307, USA.
19 #include "config.h"
21 #ifdef HAVE_ANIMATION
22 #include <gtk/gtk.h>
23 #include <ge-support.h>
25 #define CL_IS_PROGRESS_BAR(widget) GE_IS_PROGRESS_BAR(widget) && widget->allocation.x != -1 && widget->allocation.y != -1
26 #define ANIMATION_DELAY 100
27 #define CHECK_ANIMATION_TIME 0.5
29 GE_INTERNAL void clearlooks_animation_progressbar_add (GtkWidget *progressbar);
30 GE_INTERNAL void clearlooks_animation_connect_checkbox (GtkWidget *widget);
31 GE_INTERNAL gboolean clearlooks_animation_is_animated (GtkWidget *widget);
32 GE_INTERNAL gdouble clearlooks_animation_elapsed (gpointer data);
33 GE_INTERNAL void clearlooks_animation_cleanup ();
34 #endif /* HAVE_ANIMATION */