1 | /* GTK - The GIMP Toolkit |
2 | * Copyright (C) 2015 Benjamin Otte <otte@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_STYLE_CHANGE_PRIVATE_H__ |
19 | #define __GTK_CSS_STYLE_CHANGE_PRIVATE_H__ |
20 | |
21 | #include "gtkcssstyleprivate.h" |
22 | |
23 | G_BEGIN_DECLS |
24 | |
25 | struct _GtkCssStyleChange { |
26 | GtkCssStyle *old_style; |
27 | GtkCssStyle *new_style; |
28 | |
29 | GtkCssAffects affects; |
30 | GtkBitmask *changes; |
31 | }; |
32 | |
33 | void gtk_css_style_change_init (GtkCssStyleChange *change, |
34 | GtkCssStyle *old_style, |
35 | GtkCssStyle *new_style); |
36 | void gtk_css_style_change_finish (GtkCssStyleChange *change); |
37 | |
38 | GtkCssStyle * gtk_css_style_change_get_old_style (GtkCssStyleChange *change); |
39 | GtkCssStyle * gtk_css_style_change_get_new_style (GtkCssStyleChange *change); |
40 | |
41 | gboolean gtk_css_style_change_has_change (GtkCssStyleChange *change); |
42 | gboolean gtk_css_style_change_affects (GtkCssStyleChange *change, |
43 | GtkCssAffects affects); |
44 | gboolean gtk_css_style_change_changes_property (GtkCssStyleChange *change, |
45 | guint id); |
46 | void gtk_css_style_change_print (GtkCssStyleChange *change, GString *string); |
47 | |
48 | char * gtk_css_style_change_to_string (GtkCssStyleChange *change); |
49 | G_END_DECLS |
50 | |
51 | #endif /* __GTK_CSS_STYLE_CHANGE_PRIVATE_H__ */ |
52 | |