~ubuntu-branches/ubuntu/karmic/xfce4-session/karmic

« back to all changes in this revision

Viewing changes to engines/balou/balou-theme.h

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2005-11-06 22:01:12 UTC
  • mto: (4.1.1 lenny) (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051106220112-5rusox237ymjghsp
Tags: upstream-4.2.3
ImportĀ upstreamĀ versionĀ 4.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: balou-theme.h 4618 2004-07-14 20:17:58Z benny $ */
 
2
/*-
 
3
 * Copyright (c) 2004 Benedikt Meurer <benny@xfce.org>
 
4
 * All rights reserved.
 
5
 *
 
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)
 
9
 * any later version.
 
10
 *                                                                              
 
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.
 
15
 *                                                                              
 
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
 
19
 * 02111-1307, USA.
 
20
 */
 
21
 
 
22
#ifndef __BALOU_THEME_H__
 
23
#define __BALOU_THEME_H__
 
24
 
 
25
#include <gdk/gdk.h>
 
26
 
 
27
 
 
28
G_BEGIN_DECLS;
 
29
 
 
30
typedef struct _BalouTheme BalouTheme;
 
31
 
 
32
 
 
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,
 
42
                                           gint              available_width,
 
43
                                           gint              available_height);
 
44
void         balou_theme_draw_gradient    (const BalouTheme *theme,
 
45
                                           GdkDrawable      *drawable,
 
46
                                           GdkGC            *gc,
 
47
                                           GdkRectangle      logobox,
 
48
                                           GdkRectangle      textbox);
 
49
GdkPixbuf   *balou_theme_generate_preview (const BalouTheme *theme,
 
50
                                           gint              width,
 
51
                                           gint              height);
 
52
void         balou_theme_destroy          (BalouTheme       *theme);
 
53
 
 
54
G_END_DECLS;
 
55
 
 
56
 
 
57
#endif /* !__BALOU_THEME_H__ */