From 23845a57a940fb7f7077b25059394dc9d4aa03c6 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 17 Nov 2017 12:04:02 +0100 Subject: broadway: Add GskBroadwayRenderer This is a custom renderer for broadway windows, although at the moment it doesn't really do anything other than the old cairo fallbacks. --- gsk/gskbroadwayrendererprivate.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 gsk/gskbroadwayrendererprivate.h (limited to 'gsk/gskbroadwayrendererprivate.h') diff --git a/gsk/gskbroadwayrendererprivate.h b/gsk/gskbroadwayrendererprivate.h new file mode 100644 index 0000000000..acc69f7117 --- /dev/null +++ b/gsk/gskbroadwayrendererprivate.h @@ -0,0 +1,24 @@ +#ifndef __GSK_BROADWAY_RENDERER_PRIVATE_H__ +#define __GSK_BROADWAY_RENDERER_PRIVATE_H__ + +#include "broadway/gdkbroadway.h" +#include + +G_BEGIN_DECLS + +#define GSK_TYPE_BROADWAY_RENDERER (gsk_broadway_renderer_get_type ()) + +#define GSK_BROADWAY_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSK_TYPE_BROADWAY_RENDERER, GskBroadwayRenderer)) +#define GSK_IS_BROADWAY_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSK_TYPE_BROADWAY_RENDERER)) +#define GSK_BROADWAY_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSK_TYPE_BROADWAY_RENDERER, GskBroadwayRendererClass)) +#define GSK_IS_BROADWAY_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GSK_TYPE_BROADWAY_RENDERER)) +#define GSK_BROADWAY_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GSK_TYPE_BROADWAY_RENDERER, GskBroadwayRendererClass)) + +typedef struct _GskBroadwayRenderer GskBroadwayRenderer; +typedef struct _GskBroadwayRendererClass GskBroadwayRendererClass; + +GType gsk_broadway_renderer_get_type (void) G_GNUC_CONST; + +G_END_DECLS + +#endif /* __GSK_BROADWAY_RENDERER_PRIVATE_H__ */ -- cgit v1.2.1