syndilights/blib-1.1.7/blib/bmodule-internal.h

53 lines
2.4 KiB
C

/* blib - Library of useful things to hack the Blinkenlights
*
* Copyright (c) 2001-2002 The Blinkenlights Crew
* Daniel Mack <daniel@yoobay.net>
* Sven Neumann <sven@gimp.org>
* Michael Natterer <mitch@gimp.org>
*
* This program 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 program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __B_MODULE_INTERNAL_H__
#define __B_MODULE_INTERNAL_H__
G_BEGIN_DECLS
BModule * b_module_new (GType module_type,
gint width,
gint height,
guchar *buffer,
BModulePaintCallback paint_callback,
gpointer paint_data,
GError **error);
void b_module_set_aspect (BModule *module,
gdouble aspect_ratio);
gboolean b_module_prepare (BModule *module,
GError **error);
void b_module_relax (BModule *module);
void b_module_start (BModule *module);
void b_module_stop (BModule *module);
void b_module_event (BModule *module,
BModuleEvent *event);
gint b_module_tick (BModule *module);
void b_module_describe (BModule *module,
gchar **title,
gchar **description,
gchar **author);
G_END_DECLS
#endif /* __B_MODULE_INTERNAL_H__ */