diff --git a/src/window.h b/src/window.h index 785dc89..d5b6c7e 100644 --- a/src/window.h +++ b/src/window.h @@ -34,12 +34,13 @@ extern int SLSSpaceGetType(int cid, uint64_t sid); extern CGError SLSAddSurface(int cid, uint32_t wid, uint32_t* outSID); extern CGError SLSRemoveSurface(int cid, uint32_t wid, uint32_t sid); -extern CGError SLSBindSurface(int cid, uint32_t wid, uint32_t sid, int x, int y, CGContextRef ctx); +extern CGError SLSBindSurface(int cid, uint32_t wid, uint32_t sid, int param1, int param2, unsigned int context_id); extern CGError SLSSetSurfaceBounds(int cid, uint32_t wid, uint32_t sid, CGRect bounds); extern CGError SLSSetSurfaceOpacity(int cid, uint32_t wid, uint32_t sid, bool opaque); -extern CGError SLSOrderSurface(int cid, uint32_t wid, uint32_t surface, uint32_t other_surface, int order); +extern CGError SLSOrderSurface(int cid, uint32_t wid, uint32_t surface, int mode, uint32_t other_surface); extern CGError SLSSetSurfaceResolution(int cid, uint32_t wid, uint32_t sid, CGFloat scale); extern CGError SLSFlushSurface(int cid, uint32_t wid, uint32_t surface, int param); +extern CGError SLSSetSurfaceColorSpace(int cid, uint32_t wid, uint32_t surface, CGColorSpaceRef color_space); #define kCGSHighQualityResamplingTagBit (1ULL << 4) #define kCGSStickyTagBit (1ULL << 11)