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-09-10 10:35:46 +00:00
|
|
|
#include "gtkstyleproviderprivate.h"
|
2012-01-02 14:43:53 +00:00
|
|
|
#include "gtksymboliccolor.h"
|
2012-07-18 14:55:32 +00:00
|
|
|
#include "gtkbitmaskprivate.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-03-31 03:42:28 +00:00
|
|
|
guint property_id);
|
2012-01-15 04:29:02 +00:00
|
|
|
double _gtk_style_context_get_number (GtkStyleContext *context,
|
2012-03-31 03:42:28 +00:00
|
|
|
guint property_id,
|
2012-01-15 04:29:02 +00:00
|
|
|
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,
|
2012-04-07 20:44:00 +00:00
|
|
|
gint64 timestamp,
|
2012-07-18 14:55:32 +00:00
|
|
|
GtkCssChange change,
|
|
|
|
const GtkBitmask*parent_changes);
|
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
|
|
|
gboolean _gtk_style_context_check_region_name (const gchar *str);
|
|
|
|
|
2012-08-27 15:27:06 +00:00
|
|
|
gboolean _gtk_style_context_resolve_color (GtkStyleContext *context,
|
|
|
|
GtkSymbolicColor *color,
|
|
|
|
GdkRGBA *result,
|
|
|
|
GtkCssDependencies *dependencies);
|
|
|
|
GtkCssValue * _gtk_style_context_resolve_color_value (GtkStyleContext *context,
|
|
|
|
GtkCssValue *current,
|
|
|
|
GtkCssDependencies current_deps,
|
|
|
|
GtkCssValue *color,
|
|
|
|
GtkCssDependencies *dependencies);
|
|
|
|
void _gtk_style_context_get_cursor_color (GtkStyleContext *context,
|
|
|
|
GdkRGBA *primary_color,
|
|
|
|
GdkRGBA *secondary_color);
|
|
|
|
|
2012-09-17 09:22:06 +00:00
|
|
|
void _gtk_style_context_update_animating (GtkStyleContext *context);
|
2012-04-10 13:50:00 +00:00
|
|
|
|
2011-01-23 23:29:07 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GTK_STYLE_CONTEXT_PRIVATE_H__ */
|