X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=applet%2Fsrc%2Flivewp-multiactor.h;h=42f6e7ee7401f50bb46a63ff0364bd3792c5a1c6;hb=67ad3fe0e3a8715d861279e5da8a35806aab124c;hp=a08857bfc81da8f513183007c0c48f20b45a382d;hpb=2900e1b564a222919fe8f60fbd0877fd1350bcf4;p=livewp diff --git a/applet/src/livewp-multiactor.h b/applet/src/livewp-multiactor.h index a08857b..42f6e7e 100644 --- a/applet/src/livewp-multiactor.h +++ b/applet/src/livewp-multiactor.h @@ -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 @@ -28,19 +28,11 @@ #include #include - -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