mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 570625, part 6: Add gfxXlibSurface::XScreen(). sr=roc
This commit is contained in:
parent
8d2b6d00c9
commit
b7034dad64
@ -496,6 +496,12 @@ gfxXlibSurface::FindRenderFormat(Display *dpy, gfxImageFormat format)
|
||||
return (XRenderPictFormat*)NULL;
|
||||
}
|
||||
|
||||
Screen*
|
||||
gfxXlibSurface::XScreen()
|
||||
{
|
||||
return cairo_xlib_surface_get_screen(CairoSurface());
|
||||
}
|
||||
|
||||
XRenderPictFormat*
|
||||
gfxXlibSurface::XRenderFormat()
|
||||
{
|
||||
|
@ -85,6 +85,7 @@ public:
|
||||
virtual const gfxIntSize GetSize() const { return mSize; }
|
||||
|
||||
Display* XDisplay() { return mDisplay; }
|
||||
Screen* XScreen();
|
||||
Drawable XDrawable() { return mDrawable; }
|
||||
XRenderPictFormat* XRenderFormat();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user