changed license to GPL v2
[livewp] / applet / src / livewp-multiactor.h
index a08857b..42f6e7e 100644 (file)
@@ -7,8 +7,8 @@
  *       for the code
  * 
  * This software is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * as published by the Free Software Foundation; either version 2.1 of
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2 of
  * the License, or (at your option) any later version.
  * 
  * This software is distributed in the hope that it will be useful, but
 #include <glib-object.h>
 
 #include <libhildondesktop/libhildondesktop.h>
-
-typedef struct {
-    gchar * name;
-    GSList * child;
-    gint x;
-    gint y;
-    gint z;
-    double scale;
-    gboolean visible;
-
-} MultiActor;
+#include "livewp-common.h"
 /*******************************************************************************/
 MultiActor * multiactor_init(gchar * name, GSList * child, gint x, gint y, gint z, double scale, gboolean visible);
 void multiactor_set_visible(MultiActor *ma, gboolean visible);
 void multiactor_set_scale(MultiActor *ma, double scale);
+void multiactor_set_position(MultiActor *ma, gint dx, gint dy, gint dz);
+void actor_set_position_full(GtkWidget *actor, gint x, gint y, gint z);
 #endif