2011-01-23 23:29:07 +00:00
|
|
|
/* 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
|
2012-02-27 13:01:10 +00:00
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
2011-01-23 23:29:07 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GTK_STYLE_CONTEXT_PRIVATE_H__
|
|
|
|
#define __GTK_STYLE_CONTEXT_PRIVATE_H__
|
|
|
|
|
|
|
|
#include "gtkstylecontext.h"
|
2012-01-02 14:43:53 +00:00
|
|
|
#include "gtksymboliccolor.h"
|
2012-03-06 13:16:32 +00:00
|
|
|
#include "gtkcssvalueprivate.h"
|
2011-01-23 23:29:07 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2012-03-18 22:02:33 +00:00
|
|
|
void _gtk_style_context_set_widget (GtkStyleContext *context,
|
|
|
|
GtkWidget *widget);
|
|
|
|
GtkCssValue * _gtk_style_context_peek_property (GtkStyleContext *context,
|
2012-01-03 01:35:05 +00:00
|
|
|
const char *property_name);
|
2012-01-15 04:29:02 +00:00
|
|
|
double _gtk_style_context_get_number (GtkStyleContext *context,
|
|
|
|
const char *property_name,
|
|
|
|
double one_hundred_percent);
|
2011-01-23 23:29:07 +00:00
|
|
|
const GValue * _gtk_style_context_peek_style_property (GtkStyleContext *context,
|
|
|
|
GType widget_type,
|
|
|
|
GtkStateFlags state,
|
|
|
|
GParamSpec *pspec);
|
2012-03-23 02:01:16 +00:00
|
|
|
void _gtk_style_context_validate (GtkStyleContext *context,
|
|
|
|
GtkCssChange change);
|
2012-03-20 02:15:26 +00:00
|
|
|
void _gtk_style_context_queue_invalidate (GtkStyleContext *context,
|
|
|
|
GtkCssChange change);
|
2011-01-23 23:29:07 +00:00
|
|
|
void _gtk_style_context_invalidate_animation_areas (GtkStyleContext *context);
|
|
|
|
void _gtk_style_context_coalesce_animation_areas (GtkStyleContext *context,
|
|
|
|
GtkWidget *widget);
|
|
|
|
gboolean _gtk_style_context_check_region_name (const gchar *str);
|
|
|
|
|
2012-01-02 14:43:53 +00:00
|
|
|
gboolean _gtk_style_context_resolve_color (GtkStyleContext *context,
|
|
|
|
GtkSymbolicColor *color,
|
|
|
|
GdkRGBA *result);
|
2012-03-08 13:52:10 +00:00
|
|
|
GtkCssValue * _gtk_style_context_resolve_color_value (GtkStyleContext *context,
|
|
|
|
GtkSymbolicColor *color);
|
2011-01-29 11:47:09 +00:00
|
|
|
void _gtk_style_context_get_cursor_color (GtkStyleContext *context,
|
|
|
|
GdkRGBA *primary_color,
|
|
|
|
GdkRGBA *secondary_color);
|
2011-01-23 23:29:07 +00:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GTK_STYLE_CONTEXT_PRIVATE_H__ */
|