/*vim: set sw=4 ts=4 et: */
/*
* This file is part of Live Wallpaper (livewp)
- *
+ *
* Copyright (C) 2010 Vlad Vasiliev
* Copyright (C) 2010 Tanya Makova
* for the code
- *
+ *
* This software is free software; you can redistribute it and/or
* 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
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
- *
+ *
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
#ifndef _livewp_actor_h
#define _livewp_actor_h 1
-#include "livewp-common.h"
+#include "livewp-common.h"
#include <sys/time.h>
#include "livewp-rules.h"
#include <sqlite3.h>
gint width;
gint height;
gint scale;
- gint opacity;
+ gint opacity;
gboolean visible;
void (*func_change)(gpointer, gpointer);
time_t time_start_animation;
};
/*******************************************************************************/
-Actor* init_object(AWallpaperPlugin *desktop_plugin,
- gchar * name,
- gchar * filename,
- gint x,
- gint y,
- gint z,
- gint width,
- gint height,
- gboolean visible,
+Actor* init_object(AWallpaperPlugin *desktop_plugin,
+ gchar * name,
+ gchar * filename,
+ gint x,
+ gint y,
+ gint z,
+ gint width,
+ gint height,
+ gboolean visible,
gboolean load_image,
- gint scale,
- gint opacity,
+ gint scale,
+ gint opacity,
void (*pfunc_change)(Actor*),
void (*pfunc_probability)(Actor*),
GPtrArray *child
);
void destroy_hildon_actor(Actor *actor);
-void create_hildon_actor_text(Actor *actor, AWallpaperPlugin *desktop_plugin);
+void create_hildon_actor_text(Actor *actor, AWallpaperPlugin *desktop_plugin);
void create_hildon_actor(Actor *actor, AWallpaperPlugin *desktop_plugin);
void change_hildon_actor(Actor *actor, AWallpaperPlugin *desktop_plugin);
void destroy_actor(Actor *actor);
void set_actor_visible(Actor *actor, gboolean visible);
void change_obj(Actor * actor, AWallpaperPlugin *desktop_plugin);
void change_tape(Actor * actor, AWallpaperPlugin *desktop_plugin);
+void change_slideshow(Actor * actor, AWallpaperPlugin *desktop_plugin);
void change_billboard(Actor * actor, AWallpaperPlugin *desktop_plugin);
void change_moon(Actor * actor, AWallpaperPlugin *desktop_plugin);
void change_sun(Actor * actor, AWallpaperPlugin *desktop_plugin);