1
/* $Id: balou-theme.h 4618 2004-07-14 20:17:58Z benny $ */
3
* Copyright (c) 2004 Benedikt Meurer <benny@xfce.org>
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2, or (at your option)
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22
#ifndef __BALOU_THEME_H__
23
#define __BALOU_THEME_H__
30
typedef struct _BalouTheme BalouTheme;
33
BalouTheme *balou_theme_load (const gchar *name);
34
const gchar *balou_theme_get_name (const BalouTheme *theme);
35
const gchar *balou_theme_get_description (const BalouTheme *theme);
36
const gchar *balou_theme_get_font (const BalouTheme *theme);
37
void balou_theme_get_bgcolor (const BalouTheme *theme,
38
GdkColor *color_return);
39
void balou_theme_get_fgcolor (const BalouTheme *theme,
40
GdkColor *color_return);
41
GdkPixbuf *balou_theme_get_logo (const BalouTheme *theme,
43
gint available_height);
44
void balou_theme_draw_gradient (const BalouTheme *theme,
45
GdkDrawable *drawable,
48
GdkRectangle textbox);
49
GdkPixbuf *balou_theme_generate_preview (const BalouTheme *theme,
52
void balou_theme_destroy (BalouTheme *theme);
57
#endif /* !__BALOU_THEME_H__ */