diff options
Diffstat (limited to 'gtk/inspector/gtkrenderoperationicon.h')
-rw-r--r-- | gtk/inspector/gtkrenderoperationicon.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/gtk/inspector/gtkrenderoperationicon.h b/gtk/inspector/gtkrenderoperationicon.h new file mode 100644 index 0000000000..9adfac7a13 --- /dev/null +++ b/gtk/inspector/gtkrenderoperationicon.h @@ -0,0 +1,67 @@ +/* + * Copyright © 2015 Red Hat Inc. + * + * 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.1 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, see <http://www.gnu.org/licenses/>. + * + * Authors: Benjamin Otte <otte@gnome.org> + */ + +#ifndef __GTK_RENDER_OPERATION_ICON_PRIVATE_H__ +#define __GTK_RENDER_OPERATION_ICON_PRIVATE_H__ + +#include "gtkrenderoperation.h" + +#include "gtkcssimagebuiltinprivate.h" + +G_BEGIN_DECLS + +#define GTK_TYPE_RENDER_OPERATION_ICON (gtk_render_operation_icon_get_type ()) +#define GTK_RENDER_OPERATION_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GTK_TYPE_RENDER_OPERATION_ICON, GtkRenderOperationIcon)) +#define GTK_RENDER_OPERATION_ICON_CLASS(cls) (G_TYPE_CHECK_CLASS_CAST (cls, GTK_TYPE_RENDER_OPERATION_ICON, GtkRenderOperationIconClass)) +#define GTK_IS_RENDER_OPERATION_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GTK_TYPE_RENDER_OPERATION_ICON)) +#define GTK_IS_RENDER_OPERATION_ICON_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE (obj, GTK_TYPE_RENDER_OPERATION_ICON)) +#define GTK_RENDER_OPERATION_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RENDER_OPERATION_ICON, GtkRenderOperationIconClass)) + +typedef struct _GtkRenderOperationIcon GtkRenderOperationIcon; +typedef struct _GtkRenderOperationIconClass GtkRenderOperationIconClass; + +struct _GtkRenderOperationIcon +{ + GtkRenderOperation parent; + + GtkCssStyle *style; + double x; + double y; + double width; + double height; + GtkCssImageBuiltinType builtin_type; +}; + +struct _GtkRenderOperationIconClass +{ + GtkRenderOperationClass parent_class; +}; + +GType gtk_render_operation_icon_get_type (void) G_GNUC_CONST; + +GtkRenderOperation * gtk_render_operation_icon_new (GtkCssStyle *style, + double x, + double y, + double width, + double height, + GtkCssImageBuiltinType builtin_type); + +G_END_DECLS + +#endif /* __GTK_RENDER_OPERATION_ICON_PRIVATE_H__ */ |