continued restructuring
[livewp] / applet / src / livewp-common.h
index 213777d..9b7fee3 100644 (file)
 #define GETTEXT_PACKAGE "livewp"
 #include <glib/gi18n-lib.h>
 
+/* Position of plugin on desktop */
+#define Xstartposition 700 
+#define Ystartposition 448 
+
 #define THEME_PATH "/usr/share/livewp/theme"
 #define SHORT_TIMER 75 /* 100 milisecond */
 //#define LONG_TIMER 5*60*1000 /* 10 minutes */
@@ -48,7 +52,6 @@ enum { SHORT_TIMER_TYPE, LONG_TIMER_TYPE };
 #define TRAM_LEVEL 20 
 
 typedef struct _Scene Scene;
-typedef struct _Actor Actor;
 typedef struct _AWallpaperPlugin AWallpaperPlugin;
 typedef struct _AWallpaperPluginClass AWallpaperPluginClass;
 typedef struct _Animation_WallpaperPrivate Animation_WallpaperPrivate;
@@ -83,26 +86,6 @@ struct _AWallpaperPluginClass
 
 };
 
-struct _Actor
-{
-    GtkWidget * widget;
-    gchar  *name;
-    gchar *filename;
-    gint x;
-    gint y;
-    gint z;
-    gint width;
-    gint height;
-    gint scale;
-    gint opacity; 
-    gboolean visible;
-    void (*func_change)(gpointer, gpointer);
-    time_t time_start_animation;
-    gint duration_animation;
-    void (*func_probability)(gpointer);
-    GPtrArray *child;
-
-};
 
 struct _Scene 
 {