mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-26 21:30:17 +00:00
fix SLSSurface function signatures
This commit is contained in:
parent
9cca91678f
commit
3e01316557
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue