*****************************/
GType gdk_offscreen_window_get_type (void);
void _gdk_offscreen_window_new (GdkWindow *window,
- GdkScreen *screen,
GdkWindowAttr *attributes,
gint attributes_mask);
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include <config.h>
+#include "config.h"
+
#include <math.h>
-#include "gdk.h"
+
#include "gdkwindow.h"
#include "gdkinternals.h"
#include "gdkwindowimpl.h"
-#include "gdkdrawable.h"
-#include "gdktypes.h"
-#include "gdkscreen.h"
-#include "gdkcolor.h"
/* LIMITATIONS:
GdkDrawable parent_instance;
GdkWindow *wrapper;
- GdkScreen *screen;
cairo_surface_t *surface;
GdkWindow *embedder;
void
_gdk_offscreen_window_new (GdkWindow *window,
- GdkScreen *screen,
GdkWindowAttr *attributes,
gint attributes_mask)
{
offscreen = GDK_OFFSCREEN_WINDOW (private->impl);
offscreen->wrapper = window;
- offscreen->screen = screen;
-
offscreen->surface = gdk_window_create_similar_surface ((GdkWindow *)private->parent,
CAIRO_CONTENT_COLOR,
private->width,
if (gdk_window_is_offscreen (private))
{
- _gdk_offscreen_window_new (window, screen, attributes, attributes_mask);
+ _gdk_offscreen_window_new (window, attributes, attributes_mask);
private->impl_window = private;
}
else if (native)