diff options
author | Alexander Larsson <alexl@redhat.com> | 2017-11-17 12:04:02 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2017-11-23 10:46:47 +0100 |
commit | 23845a57a940fb7f7077b25059394dc9d4aa03c6 (patch) | |
tree | adab4ea0337200e75fe3df9ea79122441c2b2ded /gsk/gskbroadwayrendererprivate.h | |
parent | 9fef90b0f764999793734ce918ae69f332543228 (diff) | |
download | gtk+-23845a57a940fb7f7077b25059394dc9d4aa03c6.tar.gz |
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.
Diffstat (limited to 'gsk/gskbroadwayrendererprivate.h')
-rw-r--r-- | gsk/gskbroadwayrendererprivate.h | 24 |
1 files changed, 24 insertions, 0 deletions
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 <gsk/gskrenderer.h> + +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__ */ |