/* $Id: balou.h 20833 2006-04-09 18:08:17Z benny $ */
/*-
* Copyright (c) 2003-2004 Benedikt Meurer <benny@xfce.org>
* All rights reserved.
*
* 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, 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 __BALOU_H__
#define __BALOU_H__
#include <gtk/gtk.h>
#include <engines/balou/balou-theme.h>
G_BEGIN_DECLS;
#define BALOU(obj) ((Balou *)(obj))
typedef struct _BalouWindow BalouWindow;
typedef struct _Balou Balou;
struct _Balou
{
GdkColor bgcolor;
GdkColor fgcolor;
BalouTheme *theme;
BalouWindow *mainwin;
BalouWindow *windows;
gint nwindows;
GdkRectangle fader_area;
GdkPixmap *fader_pm;
};
void balou_init (Balou *balou,
GdkDisplay *display,
GdkScreen *mainscreen,
gint mainmonitor,
BalouTheme *theme);
void balou_fadein (Balou *balou,
const gchar *text);
void balou_fadeout (Balou *balou);
int balou_run (Balou *balou,
GtkWidget *dialog);
void balou_destroy (Balou *balou);
G_END_DECLS;
#endif /* !__BALOU_H__ */
syntax highlighted by Code2HTML, v. 0.9.1