From f46b5124627e47a197ad41ff5b9e27b82e19d945 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 15 Feb 2019 12:51:06 +0100 Subject: Factor out drawing context from platform window implementation --- pugl/pugl_x11_cairo.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pugl/pugl_x11_cairo.h (limited to 'pugl/pugl_x11_cairo.h') diff --git a/pugl/pugl_x11_cairo.h b/pugl/pugl_x11_cairo.h new file mode 100644 index 0000000..ffad90b --- /dev/null +++ b/pugl/pugl_x11_cairo.h @@ -0,0 +1,22 @@ +/* + Copyright 2012-2019 David Robillard + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +*/ + +#ifndef PUGL_X11_CAIRO_H +#define PUGL_X11_CAIRO_H + +PuglDrawContext puglGetX11CairoDrawContext(void); + +#endif // PUGL_X11_CAIRO_H -- cgit v1.2.1