Add CGWindow strings

This commit is contained in:
Duncan Cunningham 2024-03-16 16:43:41 +01:00
parent 9eee5ab344
commit a199647362
2 changed files with 4 additions and 0 deletions

View File

@ -22,8 +22,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
const CFStringRef kCGWindowAlpha = CFSTR("kCGWindowAlpha"); const CFStringRef kCGWindowAlpha = CFSTR("kCGWindowAlpha");
const CFStringRef kCGWindowBounds = CFSTR("kCGWindowBounds"); const CFStringRef kCGWindowBounds = CFSTR("kCGWindowBounds");
const CFStringRef kCGWindowLayer = CFSTR("kCGWindowLayer"); const CFStringRef kCGWindowLayer = CFSTR("kCGWindowLayer");
const CFStringRef kCGWindowOwnerName = CFSTR("kCGWindowOwnerName");
const CFStringRef kCGWindowOwnerPID = CFSTR("kCGWindowOwnerPID"); const CFStringRef kCGWindowOwnerPID = CFSTR("kCGWindowOwnerPID");
const CFStringRef kCGWindowNumber = CFSTR("kCGWindowNumber"); const CFStringRef kCGWindowNumber = CFSTR("kCGWindowNumber");
const CFStringRef kCGWindowName = CFSTR("kCGWindowName");
@implementation CGWindow @implementation CGWindow

View File

@ -29,6 +29,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
extern const CFStringRef kCGWindowAlpha; extern const CFStringRef kCGWindowAlpha;
extern const CFStringRef kCGWindowBounds; extern const CFStringRef kCGWindowBounds;
extern const CFStringRef kCGWindowLayer; extern const CFStringRef kCGWindowLayer;
extern const CFStringRef kCGWindowName;
extern const CFStringRef kCGWindowOwnerName;
extern const CFStringRef kCGWindowOwnerPID; extern const CFStringRef kCGWindowOwnerPID;
#ifdef __OBJC__ #ifdef __OBJC__