]> Pileus Git - ~andy/gtk/blob - gtk/gtkcsscolorvalueprivate.h
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtkcsscolorvalueprivate.h
1 /* GTK - The GIMP Toolkit
2  * Copyright (C) 2010 Carlos Garnacho <carlosg@gnome.org>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16  */
17
18 #ifndef __GTK_CSS_COLOR_VALUE_PRIVATE_H__
19 #define __GTK_CSS_COLOR_VALUE_PRIVATE_H__
20
21 #include "gtkcssparserprivate.h"
22 #include "gtkcssvalueprivate.h"
23
24 G_BEGIN_DECLS
25
26
27 GtkCssValue *   _gtk_css_color_value_new_literal        (const GdkRGBA  *color);
28 GtkCssValue *   _gtk_css_color_value_new_rgba           (double          red,
29                                                          double          green,
30                                                          double          blue,
31                                                          double          alpha);
32 GtkCssValue *   _gtk_css_color_value_new_name           (const gchar    *name);
33 GtkCssValue *   _gtk_css_color_value_new_shade          (GtkCssValue    *color,
34                                                          gdouble         factor);
35 GtkCssValue *   _gtk_css_color_value_new_alpha          (GtkCssValue    *color,
36                                                          gdouble         factor);
37 GtkCssValue *   _gtk_css_color_value_new_mix            (GtkCssValue    *color1,
38                                                          GtkCssValue    *color2,
39                                                          gdouble         factor);
40 GtkCssValue *   _gtk_css_color_value_new_win32          (const gchar    *theme_class,
41                                                          gint            id);
42 GtkCssValue *   _gtk_css_color_value_new_current_color  (void);
43
44 GtkCssValue *   _gtk_css_color_value_parse              (GtkCssParser   *parser);
45
46 GtkCssValue *   _gtk_css_color_value_resolve            (GtkCssValue             *color,
47                                                          GtkStyleProviderPrivate *provider,
48                                                          GtkCssValue             *current,
49                                                          GtkCssDependencies       current_deps,
50                                                          GtkCssDependencies      *dependencies);
51
52
53 G_END_DECLS
54
55 #endif /* __GTK_CSS_COLOR_VALUE_PRIVATE_H__ */