forked from AuroraMiddleware/gtk
e87cf5d789
Instead of on-demand resolvage, we now resolve during lookup. The step is done via _gtk_css_style_property_compute_value() which currently calls into _gtk_css_style_compute_value() That function has all the old resolving machinery. The only part missing for now is the handling of win32 code. It will be added back later.
40 lines
1.8 KiB
C
40 lines
1.8 KiB
C
/* GTK - The GIMP Toolkit
|
|
* Copyright (C) 2010 Carlos Garnacho <carlosg@gnome.org>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __GTK_CSS_STYLE_FUNCS_PRIVATE_H__
|
|
#define __GTK_CSS_STYLE_FUNCS_PRIVATE_H__
|
|
|
|
#include "gtkcssparserprivate.h"
|
|
#include "gtkstylecontext.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
gboolean _gtk_css_style_parse_value (GValue *value,
|
|
GtkCssParser *parser,
|
|
GFile *base);
|
|
void _gtk_css_style_print_value (const GValue *value,
|
|
GString *string);
|
|
void _gtk_css_style_compute_value (GValue *computed,
|
|
GtkStyleContext *context,
|
|
const GValue *specified);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GTK_CSS_STYLE_FUNCS_PRIVATE_H__ */
|