]> Pileus Git - ~andy/gtk/blob - gtk/gtkwin32themeprivate.h
win32-theme: Support multiple parts being combined
[~andy/gtk] / gtk / gtkwin32themeprivate.h
1 /* GTK - The GIMP Toolkit
2  * Copyright (C) 2011 Red Hat, Inc.
3  *
4  * Authors: Alexander Larsson <alexl@gnome.org>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library 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 GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21
22 #ifndef __GTK_WIN32_THEME_PART_H__
23 #define __GTK_WIN32_THEME_PART_H__
24
25 #include "gtkcssparserprivate.h"
26
27 G_BEGIN_DECLS
28
29 typedef struct _GtkWin32ThemePart GtkWin32ThemePart;
30
31 #define GTK_TYPE_WIN32_THEME_PART (_gtk_win32_theme_part_get_type ())
32
33 GType              _gtk_win32_theme_part_get_type  (void) G_GNUC_CONST;
34
35 GtkWin32ThemePart *_gtk_win32_theme_part_ref       (GtkWin32ThemePart *part);
36 void               _gtk_win32_theme_part_unref     (GtkWin32ThemePart *part);
37 int                _gtk_win32_theme_part_parse     (GtkCssParser      *parser, 
38                                                     GFile             *base, 
39                                                     GValue            *value);
40 cairo_pattern_t   *_gtk_win32_theme_part_render   (GtkWin32ThemePart  *part,
41                                                    int                 width,
42                                                    int                 height);
43 int                _gtk_win32_theme_int_parse     (GtkCssParser      *parser,
44                                                    GFile             *base,
45                                                    int               *value);
46
47 G_END_DECLS
48
49 #endif /* __GTK_WIN32_THEME_PART_H__ */