Git Product home page Git Product logo

cgsinternal's Introduction

CGSInternal

A collection of private CoreGraphics routines.

cgsinternal's People

Contributors

codafi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cgsinternal's Issues

CGSSetUniversalOwner

According to CGSConnection.h, sets a "Universal Owner" for the connection ID. Currently, that owner is Dock.app.

My theory was on Mojave

  1. kill the dock like so "/bin/launchctl load /System/Library/LaunchAgents/com.apple.Dock.plist; /bin/launchctl start com.apple.Dock.agent"

  2. CGSMainConnectionID
    2a) (Dock only) _RegisterApplication

  3. CGSNewConnection

  4. CGSSetUniversalOwner with CID from step 2.

  5. CGSSetOtherUniversalConnection using CID from step 2/step 3.

5a) Attempt to move a test window that I have open and know the WID of.

  1. re-launchctl the dock.

That was the theory, looks almost exactly what the Dock app is actually doing. But it's not working.

My questions...

  1. Which OS did this work on for Skylight? If I roll back to OS 10.x should it work?

  2. Is there something I am missing?

  3. Is there an example someplace that works? Maybe I am being mentally challenged.

  4. Is there a contact at Apple that could tell me what I am doing wrong?

Thanks!

CGSWindowTagBit

How did you extract and verify the values of CGSWindowTagBit? I noticed some have changed since 2016, so I need the updated values. Cheers!

cc @avaidyam

Disable fn key

I want to disable fn key from showing the emoji menu globally when my app is active / background

I am already achieving this using CGSSetGlobalHotKeyOperatingMode(connection, kCGSGlobalHotKeyDisable)

However, this disables all hotkeys and I'm calling this on keydown and then re-activating on key-up

Is there a way I can only target the fn key and disable it instead of this toggle on / off behaviour for all keys?

Support for App Expose on Catalina?

Very nice about the project, I was able to detect when the mission control is active.
Is there any support to check also when the App Expose is active?
Thank you.

Missing symbols

I've wanted to leave an issue on this for at least a year, maybe two, but meh here it goes. As of 10.13, here are the CGS symbols (which have all been replaced by SLS symbols, too). I haven't gone through the list to confirm which exist and which don't, but I know that a good number of symbols are still undocumented. For further reference, see here.

Window

CGSWindowAnimationChangeShiftPoint
CGSWindowAnimationChangeSubLevel
CGSWindowAnimationHideSlot
CGSWindowBackdropActivateAll
CGSWindowBackdropBlendModeStringToEnum
CGSWindowBackdropCreateWithLevelAndMask
CGSWindowBackdropDeactivateAll
CGSWindowBackdropGetTypeID
CGSWindowBackdropMaterialStringToEnum
CGSWindowDirtyRegionSeed
CGSWindowFreezeBackdrops
CGSWindowFreezeWithOptions
CGSWindowGetTileRect
CGSWindowIsOrderedIn
CGSWindowIsVisible
CGSWindowListSetLockedBounds
CGSWindowRightForKey
CGSWindowRightKeyForMask
CGSWindowRightsSetGrantCompletedBlockForToken
CGSWindowRightsSetGrantOfferedBlockForToken
CGSWindowScrollRegion
CGSWindowSetActiveShadowLegacy
CGSWindowSetKeepsExcessBackingAllocation
CGSWindowSetResizeRegionShape
CGSWindowThaw
CGSWindowThawBackdrops
CGSWindowVisibleRegionSeed
CGSGetWindowAccelerationCapability
CGSGetWindowBounds
CGSGetWindowDepth
CGSGetWindowEventReceiver
CGSGetWindowFlushSeed
CGSGetWindowFrameBounds
CGSGetWindowGeometry
CGSGetWindowListWithTags
CGSGetWindowPresenter
CGSGetWindowResizeState
CGSGetWindowResolution
CGSGetWindowSize
CGSGetWindowSubLevel
CGSGetWindowTransformAtPlacement
CGSGetWindowType
CGSGetWindowWorkspaceIgnoringVisibility
CGSSetWindowAccelerationState
CGSSetWindowAlphaShape
CGSSetWindowBackgroundBlurRadius
CGSSetWindowBackgroundBlurRadiusStyle
CGSSetWindowBackgroundBlurRadiusWithOpacityHint
CGSSetWindowCaptureExcludeShape
CGSSetWindowCornerMask
CGSSetWindowDepth
CGSSetWindowDidOrderInOnNonCurrentManagedSpacesOnlyNotificationBlock
CGSSetWindowDidOrderOutOnNonCurrentManagedSpacesNotificationBlock
CGSSetWindowFiltering
CGSSetWindowHasMainAppearance
CGSSetWindowLevelForGroup
CGSSetWindowLevelsForActivation
CGSSetWindowListBrightness
CGSSetWindowListFadeProperties
CGSSetWindowListGlobalClipShape
CGSSetWindowListSystemAlpha
CGSSetWindowListSystemLevel
CGSSetWindowListTags
CGSSetWindowListWorkspace
CGSSetWindowMovementGroup
CGSSetWindowOpaqueShape
CGSSetWindowParent
CGSSetWindowRegionsLegacy
CGSSetWindowResizeState
CGSSetWindowResolution
CGSSetWindowShadowAndRimParametersWithStretch
CGSSetWindowShadowGroup
CGSSetWindowSubLevel
CGSSetWindowToReleaseBackingOnOrderOut
CGSSetWindowTransformAtPlacement
CGSSetWindowTransforms
CGSSetWindowTransformsAtPlacement
CGSSetWindowType
CGSUnlockWindowBackingStore
CGSUnlockWindowBits
CGSUnlockWindowRectBits
CGSUnlockWindowVisibleRegion
CGSUpdateWindowAnimationEdges
CGSUpdateWindowAnimationOrigin
CGSShapeWindow
CGSAccessWindowBackingStore
CGSAddButtonRegionInWindow
CGSAddDragRegionInWindow
CGSClearWindowListTags
CGSClearWindowMovementGroup
CGSClearWindowOrderingGroup
CGSCopyWindowAlphaShape
CGSCopyWindowGroup
CGSCopyWindowProperty
CGSCopyWindowRoutingRecordsForScreenLocation
CGSCopyWindowShape
CGSCopyWindowsWithOptionsAndTags
CGSCopyWindowsWithOptionsAndTagsAndSpaceOptions
CGSCreateSheetWindowAnimation
CGSCreateSheetWindowAnimationWithParent
CGSCreateWindowDebugInfo
CGSCycleWindows
CGSDeferWindowMoveEvents
CGSFindWindow
CGSFindWindowAndOwner
CGSFindWindowByGeometry
CGSFlushWindowContentRegion
CGSGetCatenatedWindowTransform
CGSGetOnscreenWindowBounds
CGSGetParentWindowList
CGSGetSharedWindow
CGSAddWindowToWindowMovementGroup
CGSAddWindowToWindowOrderingGroup
CGSBlockWindowOrdering
CGSCaptureWindowsContentsToRect
CGSCaptureWindowsContentsToRectWithOptions
CGSClearButtonRegionInWindow
CGSCompleteWindowRightsGrant
CGSCopyAssociatedWindows
CGSGetMagicZoomWindowID
CGSGetSystemWindow
CGSGrantWindowRightsReservingWithTimeoutAndToken
CGSInvalidateGroupedWindowShadow
CGSLockWindowBackingStore
CGSLockWindowBits
CGSLockWindowRectBits
CGSLockWindowVisibleRegion
CGSMoveWindowList
CGSMoveWindowWithGroup
CGSMoveWindowsToManagedSpace
CGSOrderWindowList
CGSOrderWindowListWithGroups
CGSOrderWindowListWithOperation
CGSOrderWindowWithGroup
CGSReleaseWindowAnimation
CGSReleaseWindowList
CGSRemoveWindowFromWindowMovementGroup
CGSReorderWindows
CGSRequestNotificationsForWindows
CGSResetWindows
CGSSetFrontWindow
CGSSetIgnoreAsFrontWindow
CGSSuperShieldingWindowID
CGSTranslatePointForWindow

Region

CGSStructuralRegionIDRangeExtend
CGSStructuralRegionIDRangeFree
CGSStructuralRegionMove
CGSStructuralRegionSetChildRegionTransform
CGSStructuralRegionSetClippedByWindow
CGSStructuralRegionSetEventMask
CGSStructuralRegionSetLevel
CGSStructuralRegionSetShape
CGSAddStructuralRegion
CGSRemoveStructuralRegion
CGSBoundsEqualToBounds
CGSBoundsIntersection
CGSBoundsUnion
CGSClearActivationRegion

Transaction

CGSTransactionAddWindowToSpace
CGSTransactionAddWindowToSpaceAndRemoveFromSpaces
CGSTransactionClearMenuBarSystemOverrideAlphas
CGSTransactionClearWindowLockedBounds
CGSTransactionClearWindowSystemLevel
CGSTransactionCommit
CGSTransactionCreate
CGSTransactionDeferWindowMoveEvents
CGSTransactionDestroySpace
CGSTransactionGetTypeID
CGSTransactionHideSpace
CGSTransactionMoveWindowsToManagedSpace
CGSTransactionOrderWindow
CGSTransactionOrderWindowGroup
CGSTransactionRemoveWindowFromSpace
CGSTransactionRemoveWindowFromSpaces
CGSTransactionResetSpaceMenuBar
CGSTransactionResetWindow
CGSTransactionSetEventCapture
CGSTransactionSetManagedDisplayCurrentSpace
CGSTransactionSetManagedDisplayIsAnimating
CGSTransactionSetMenuBarBounds
CGSTransactionSetMenuBarSystemOverrideAlpha
CGSTransactionSetSpaceAbsoluteLevel
CGSTransactionSetSpaceAlpha
CGSTransactionSetSpaceOrderingWeight
CGSTransactionSetSpaceShape
CGSTransactionSetSpaceTransform
CGSTransactionSetWindowAlpha
CGSTransactionSetWindowBrightness
CGSTransactionSetWindowGlobalClipShape
CGSTransactionSetWindowLevel
CGSTransactionSetWindowLockedBounds
CGSTransactionSetWindowSystemAlpha
CGSTransactionSetWindowSystemLevel
CGSTransactionSetWindowTransform
CGSTransactionSetWindowWarp
CGSTransactionShowSpace
CGSTransactionUpdateRegion
CGSTransactionWillSwitchSpaces

MenuBar

CGSSystemStatusBarGetCurrentNavigationWindow
CGSSystemStatusBarGetWindowPreferredPosition
CGSSystemStatusBarNavigateFromWindow
CGSSystemStatusBarRegisterReplicantWindow
CGSSystemStatusBarRegisterSortedWindow
CGSSystemStatusBarWindowIsDraggedOutOfBar
CGSSetMenuBar
CGSSetMenuBarAutohideEnabled
CGSSetMenuBarBounds
CGSSetMenuBarCompanionWindow
CGSSetMenuBarDrawingStyle
CGSSetMenuBarInsetAndAlpha
CGSSetMenuBarSystemOverrideAlpha
CGSSetMenuBars

Display

CGSConfigureDisplayEnabled
CGSConfigureDisplayFadeEffect
CGSConfigureDisplayMirrorOfDisplay
CGSConfigureDisplayMirrored
CGSConfigureDisplayResolution
CGSConfigureDisplayStereoOperation
CGSCopyDisplayColorSpace
CGSCopyDisplayInfoDictionary
CGSCopyDisplayModePixelEncoding
CGSCopyDisplayRegion
CGSCopyDisplayUUID
CGSCopyManagedDisplayForSpace
CGSCopyManagedDisplayForWindow
CGSCopyManagedDisplays
CGSDetectDisplays
CGSDisplayChangedSeed
CGSDisplayConfigurationOrigin
CGSDisplayCopyCurrentMetalDevice
CGSDisplayGetRefreshTiming
CGSDisplayLoadUserPreferences
CGSDisplayMappingChangedSeed
CGSDisplayMuxAcquired
CGSDisplayMuxReleased
CGSDisplayRegisterReconfigurationCallbackWithUUID
CGSDisplaySystemStateSeed
CGSEnableAmbientDisplay
CGSEnableHDR
CGSGetDisplayAddress
CGSGetDisplayAliasList
CGSGetDisplayBaseAddress
CGSGetDisplayBrightness
CGSGetDisplayForUUID
CGSGetDisplayHardwareBounds
CGSGetDisplayList
CGSGetDisplayMaxOpenGLSurfaceSize
CGSGetDisplayMaximumHDRValue
CGSGetDisplayModeDescription
CGSGetDisplayModeDescriptionsOfLength
CGSGetDisplayOpenGLDisplayAliasMask
CGSGetDisplayOpenGLDisplayMask
CGSGetDisplayPixelEncoding
CGSGetDisplayPixelEncodingOfLength
CGSGetDisplayPixelFormat
CGSGetDisplayReconfigureTimeWhenWindowsLastMoved
CGSGetDisplayTransfer
CGSGetDisplayTransferByFormula
CGSGetDisplayTransferByTable
CGSGetDisplayTransferByTableInternal
CGSGetDisplaysWithOpenGLDisplayMask
CGSGetDisplaysWithUUID
CGSMainDisplayBoundsIgnoringCapture
CGSManagedDisplayCurrentSpaceAllowsWindow
CGSManagedDisplayGetCurrentSpace
CGSManagedDisplayIsAnimating
CGSManagedDisplaySetIsAnimating
CGSManagedDisplaySetRoleWindow
CGSManagedDisplaysCopyRoleWindows
CGSManagedDisplaysGetRoleWindows
CGSSetDisplayAcceleratorBoost
CGSSetDisplayBrightness
CGSSetDisplayColorSpace
CGSSetDisplayColorSpaceAndTransfer
CGSSetDisplayIntention
CGSSetDisplayIntentionWiper
CGSSetDisplayOption
CGSSetDisplayOption_
CGSSetDisplayRotation
CGSSetDisplayTransfer
CGSSetDisplayTransferByFormula
CGSSetDisplayTransferByFormulaWithOption
CGSSetDisplayTransferByTable
CGSSetDisplayTransferByTableInternal
CGSSetDisplayTransferByTableWithOption
CGSAcceleratorForDisplayAlias
CGSAcceleratorForDisplayNumber
CGSBringAirDisplayOffline
CGSBringAirDisplayOnline
CGSCaptureDisplay
CGSCompleteDisplayConfigurationWithOption
CGSCopyActiveMenuBarDisplayIdentifier

SnappingInfo

CGSSnappingInfoAddMovement
CGSSnappingInfoCreate
CGSSnappingInfoEnumerateSnappingRects
CGSSnappingInfoGetCurrentSnappedEdgesForRect
CGSSnappingInfoGetCurrentVelocity
CGSSnappingInfoGetLastSnappedRect
CGSSnappingInfoGetSizeSnapRectForFrame
CGSSnappingInfoGetSnappedEdges
CGSSnappingInfoRelease
CGSSnappingInfoResetMovement
CGSSnappingInfoServerCreate
CGSSnappingInfoSetIsForResizing
CGSSnappingInfoSetPrefs
CGSSnappingInfoSetSnappedEdges
CGSSnappingInfoSnapFrameForResizing
CGSSnappingInfoSnapOriginWithFrame

Space

CGSSpaceAddOwner
CGSSpaceAddWindowsAndRemoveFromSpaces
CGSSpaceClientDrivenMoveSpacersToPoint
CGSSpaceFinishedResizeForRect
CGSSpaceGetAbsoluteLevel
CGSSpaceGetAlpha
CGSSpaceGetCompatID
CGSSpaceGetRect
CGSSpaceGetSpacersAtPoint
CGSSpaceMoveSpacersToPoint
CGSSpacePreferCurrentDisplay
CGSSpaceRemoveOwner
CGSSpaceResetMenuBar
CGSSpaceSetAbsoluteLevel
CGSSpaceSetAlpha
CGSSpaceSetCompatID
CGSSpaceSetEdgeReservation
CGSSpaceSetFrontPSN
CGSSpaceSetOrderingWeight
CGSSpaceSetOwners
CGSSpaceSetRelativeLevel
CGSSpaceSetType
CGSSpaceTileMoveToSpaceAtIndex
CGSSpaceWithName

Event

CGSAreEventsCaptured
CGSAreEventsCapturedReturningMask
CGSClearEvent
CGSClearEventOfLength
CGSCoalesceEventsInMask
CGSCreateKeyboardEvent
CGSCreateKeyboardEventOfLength
CGSCreateKeyboardEventWithFlagsAndStateOfLength
CGSCurrentEventFlags
CGSCurrentEventMask
CGSCurrentEventTimestamp
CGSCurrentKeyboardEventSeed
CGSEventAppUnresponsiveStatus
CGSEventCounter
CGSEventFlagForVirtualKeyCode
CGSEventRecordGetContextID
CGSEventRecordGetContextOrigin
CGSEventRecordGetStagePressure
CGSEventRecordGetTransitionProgress
CGSEventRecordLength
CGSEventRecordSetContextID
CGSEventRecordSetContextOrigin
CGSEventRecordTimeFromRealTimeStamp
CGSEventTapCreate
CGSExtractEventRecordsFromMessage
CGSGetCoalesceEventsMask
CGSGetEventTapList
CGSGetEventTapTimeout
CGSGetGestureEventSubmask
CGSGetHIDEventRecord
CGSGetNextEventRecord
CGSGetNextEventRecordFromMessage
CGSGetNextEventRecordInternal
CGSGetUnflippedEventLocation
CGSGetUnflippedWindowEventLocation
CGSHIDEventRecordReplay
CGSInhibitLocalEvents
CGSPostEventRecord
CGSPostKeyboardEvent
CGSPostMouseEvent
CGSPostMouseEvents
CGSPostMouseEventsVButtons
CGSRealTimeStampFromEventRecordTime
CGSSecondsSinceLastInputEvent
CGSSecondsSinceMostRecentEventInMask
CGSSetBackgroundEventMaskAndShape
CGSSetEventCapture
CGSSetEventCaptureWindowAndMask
CGSSetEventMask
CGSSetEventTapOption
CGSSetEventTapTimeout
CGSSetGestureEventSubmask
CGSSetLocalEventsSuppressionInterval

HotKeys

CGSGetHotButton
CGSGetHotKeyRepresentation
CGSGetHotKeyType
CGSGetHotModifier
CGSSetHotButtonWithExclusion
CGSSetHotKeyEnabled
CGSSetHotKeyRepresentation
CGSSetHotKeyRepresentationWithOptions
CGSSetHotKeyType
CGSSetHotKeyWithExclusion
CGSSetHotKeyWithOptions
CGSSetHotModifierWithExclusion
CGSSetHotModifierWithOptions

Symbolic HotKeys

CGSGetSymbolicHotKeyButtonValue
CGSGetSymbolicHotKeyRepresentation
CGSGetSymbolicHotKeyRepresentationList
CGSGetSymbolicHotKeyValuesAndStates
CGSGetSymbolicHotModifierValue
CGSSetSymbolicHotKey
CGSSetSymbolicHotKeyButtonValue
CGSSetSymbolicHotKeyEnabledForConnection
CGSSetSymbolicHotKeyRepresentation
CGSSetSymbolicHotKeyValue
CGSSetSymbolicHotKeyWithExclusion
CGSSetSymbolicHotKeyWithOptions
CGSSetSymbolicHotModifierValue
CGSIsSymbolicHotKeyEnabledForConnection
  • It seems HotButton is a synonym for HotKeyRepresentation but I could be mistaken.

Session

CGSCreateLoginSessionWithDataAndVisibility
CGSCreateSession
CGSCreateSessionWithDataAndOptions
CGSCreateSessionWithDataAndVisibility
CGSGetSessionReadOnceData
CGSSessionCopyAllSessionProperties
CGSSessionCopyCurrentSessionProperties
CGSSessionCopyCurrentSessionReadOnceData
CGSSessionCreateLoginSessionID
CGSSessionCreateSessionIDWithOptions
CGSSessionFullScreenAppPid
CGSSessionHasExcludeShapes
CGSSessionIDGetFullScreenAppPid
CGSSessionIDSetScreenLockWindowID
CGSSessionIDSetSleepWindowID
CGSSessionReleaseSessionID
CGSSessionSetApplicationBindingsForWorkspaces
CGSSessionSetCurrentSessionProperties
CGSSessionSetCurrentSessionWorkspaceApplicationBindings
CGSSessionSetCurrentSessionWorkspaceLaunchPath
CGSSessionSetCurrentSessionWorkspaceNotificationConnectionID
CGSSessionSetCurrentSessionWorkspacePreferences
CGSSessionSetNotificationConnectionForWorkspaces
CGSSessionSetPreferencesForWorkspaces
CGSSessionSwitchToSessionID
CGSSetDictionaryForCurrentSession
CGSSetSessionSwitchCubeAnimation
CGSSwitchConsoleToSession
CGSUpdateCurrentSessionWorkspaceData

Packages

CGSPackagesAddWindowToDraggingSpace
CGSPackagesAssignDraggedWindowToDestinationSpace
CGSPackagesCopyWorkspaceIdentifierForWorkspace
CGSPackagesDisableFindCursor
CGSPackagesDragWindowRelativeToMouse
CGSPackagesEnableConnectionOcclusionNotifications
CGSPackagesEnableConnectionWindowModificationNotifications
CGSPackagesEnableWindowOcclusionNotifications
CGSPackagesFindCursorIsDisabled
CGSPackagesGetWindowConstraints
CGSPackagesGetWorkspaceForWorkspaceIdentifier
CGSPackagesRemoveWindowDragTransform
CGSPackagesRemoveWindowFromDraggingSpace
CGSPackagesSetFindCursorPrefs
CGSPackagesSetWindowConstraints
CGSPackagesSetWindowDragTransform

Persistence

CGSPersistenceAnnounceAllAppsReady
CGSPersistenceRegisterAsReady
CGSPersistenceSaveSpaceConfiguration
CGSPersistenceWillLaunchASNsWithCompletionHandler
CGSPersistenceWillTerminateSession
CGSCopyPackagesPersistenceDictionary
CGSRestorePackagesManagementPersistenceData
CGSSaveConfiguration
CGSSavePerUserConfigurationData
CGSSetGlobalForceConfig
CGSSetPerUserConfigurationData

TileSpace

CGSGetTileSpaceDividerDirections
CGSTileSpaceMoveSpacersForSize
CGSTileSpaceReplaceWithSnapshotWindow
CGSTileSpaceSetDividerWindow

Connection

CGSGetConnectionPSN
CGSGetDenyWindowServerConnections
CGSPostNotificationToConnection
CGSPostBroadcastNotification
CGSServerHasValidConnections
CGSSetDenyWindowServerConnections
CGSConnectionDispatchNotificationsToMainQueueIfNotMainThread
CGSConnectionGetHeldWindowRights
CGSConnectionGetNextStructuralRegionID
CGSConnectionRelinquishWindowRights
CGSConnectionSetSpinning
CGSOverrideAppSleepNotifications
CGSEnableDeferredUpdateNotifications
CGSSetDeferredUpdateNotificationPort
CGSUnpackDeferredUpdateNotification
CGSSpinControlDecodeMessage
CGSSpinControlSetNotificationPort

Cursor

CGSAssociateMouseAndMouseCursorPosition
CGSCosmeticShieldCursor
CGSCreateRegisteredCursorImage
CGSForceShowCursor
CGSGetRegisteredCursorData
CGSGetRegisteredCursorData2
CGSHardwareCursorActive
CGSInitCursor
CGSRegisterCursorWithData
CGSRegisterCursorWithData2
CGSRegisterCursorWithImage
CGSRemoveRegisteredCursor
CGSSetCursorDragLock
CGSSetCursorFromData
CGSSetCursorFromPremultipliedDataWithSeed
CGSSetCursorRegionLock
CGSSetSystemDefinedCursor
CGSShieldCursor
CGSUnshieldCursor

Device

CGSDeviceCopyColorSpace
CGSDeviceCreate
CGSDeviceDestroy
CGSDeviceFinish
CGSDeviceGetGeometry
CGSDeviceGetProfile
CGSDeviceGetResolution
CGSDeviceInvalidate
CGSDeviceLock
CGSDeviceScroll
CGSDeviceSynchronize
CGSDeviceUnlock
CGSCopyDevicesDictionary
CGSCreateDefaultMetalDevice
CGSGetCAMetalDevice

TrackingArea

CGSAddTrackingArea
CGSAddTrackingAreas
CGSAddTrackingRect
CGSAddTrackingRegion
CGSMoveTrackingArea
CGSRemoveAllTrackingAreas
CGSRemoveTrackingArea
CGSRemoveTrackingAreas
CGSSetTrackingAreaClip
CGSSetTrackingAreaEnabled
CGSSetTrackingAreaOption
CGSSetTrackingAreaRect
CGSSetTrackingAreaShape
CGSSetTrackingAreasEnabled
CGSTrackingRegionSetForceConfig
CGSTrackingRegionSetIsEnabled
CGSTrackingRegionSetRespectsSystemAlphaThreshold

RemoteContext

CGSInstallRemoteContextNotificationHandler
CGSRemoteContextAddNativeSpaceTrackingRegion
CGSRemoteContextAddStructuralRegion
CGSRemoteContextAddTrackingRegion
CGSRemoveRemoteContextNotificationHandler

Surface

CGSCopySurfaceColorSpace
CGSFlushSurfaceWithOptions
CGSFlushSurfaceWithOptionsAndIndex
CGSGetSurfaceBinding
CGSGetSurfaceOpacity
CGSGetSurfaceResolution
CGSMoveSurface
CGSRemoveAllSurfaces
CGSSetSurfaceListAlpha
CGSSetSurfaceProperty
CGSSetSurfaceProxiesForNextFlush
CGSSetSurfaceShape
CGSShapeSurface
CGSUniqueSurfaceID

MenuBar/StatusItem

CGSGetActiveMenuBarDrawingStyle
CGSGetMenuBar
CGSGetMenuBarAutohideEnabled
CGSGetMenuBarDrawingStyle
CGSGetMenuBarUsesRTLLayoutOnDisplayLegacy
CGSGetProcessMenuBarWindowList
CGSGetRevealedMenuBarBounds
CGSInterruptMenuBarReveal
CGSIsMenuBarVisibleOnSpace
CGSResetMenuBarSystemOverrideAlphas
CGSSetActiveMenuBarDisplayIdentifier
CGSSetSystemStatusBarWindowSubitemOffsets
CGSStatusItemNavigationRecordGetCurrentNavigationOptions
CGSStatusItemNavigationRecordGetCurrentNavigationWindow

Unsorted

CGSBluishYellow
CGSCacheAcquireValues
CGSCacheInsertValues
CGSCacheReleaseValues
CGSCopyBestManagedDisplayForPoint
CGSCopyBestManagedDisplayForRect
CGSCopyCachedManagedDisplay
CGSCopySpacesForWindows
CGSCopySpecifiedWindowShape
CGSCreateCinematicBootWindowArray
CGSCreateLayerContext
CGSCreateMetalSheetWindowAnimationWithParentAndShift
CGSCreateShadowCacheDebugInfo
CGSCreateShadowGroup
CGSCurrentInputPointerPosition
CGSCurrentRealTime
CGSCurrentTimestamp
CGSDeactivateCurrContext
CGSDefaultKeyboardID
CGSDeferredUpdates
CGSDisableDisableUpdate
CGSDisableUpdateToken
CGSDoDeferredOrdering
CGSEnsureSpaceSwitchToActiveProcess
CGSGLCompositorSettings
CGSGeometrySeed
CGSGetActivationRegionLegacy
CGSGetAppearanceThemeLegacy
CGSGetButtonRegionLegacy
CGSGetCurrentMouseButtonState
CGSGetDockRectWithReason
CGSGetDragRegionLegacy
CGSGetEligiblePerAppDisplayList
CGSGetInkingState
CGSGetKeys
CGSGetLoginName
CGSGetPerformanceTotalUpdateCount
CGSGetPerformanceTotalUpdateHistogram
CGSGetPotentiallyActiveDisplayList
CGSGetProcessValidity
CGSGetReadyForAppLaunchExperimental
CGSGetSizeOfDisplayTransfer
CGSGetSpacePermittedResizeDirections
CGSGetSpecialCommandRegionLegacy
CGSGetSystemBackgroundWindow
CGSGetSystemUIHasRTLDirectionLegacy
CGSGetUpdateClientPipe
CGSGetWorkspaceWindowCountWithOptionsAndTags
CGSGetWorkspaceWindowGroup
CGSGetWorkspaceWindowListWithOptionsAndTags
CGSGetZoomParameters
CGSHWCaptureDesktop
CGSHWCaptureDisplayIntoIOSurface
CGSHWCaptureDisplayIntoIOSurfaceWithOptions
CGSHWCaptureSpace
CGSHWCaptureWindowList
CGSHWCaptureWindowListInRect
CGSInitialEnableOfDisplayUpdates
CGSInitialize
CGSInitializeGamma
CGSInitializeTransferTable
CGSInputButtonState
CGSInputKeyState
CGSInputModifierKeyState
CGSIsAmbientDisplayEnabled
CGSIsHDREnabled
CGSIsHDRSupported
CGSKitVersion
CGSLogBreak
CGSMachineSupportsLowPowerVideo
CGSMoveManagedSpaceToDisplayIndex
CGSMoveWorkspaceWindowList
CGSMoveWorkspaceWindowListWithOptions
CGSNewCIFilter
CGSNewWindowWithOpaqueShape
CGSOrderPanelIfActive
CGSProcessAssignToAllSpaces
CGSProcessAssignToSpace
CGSReassociateWindowsSpacesByGeometry
CGSReenableDisableUpdate
CGSReenableUpdateToken
CGSReenableUpdateTokenWithSeed
CGSRegisterUpdateInformationHandler
CGSRemoveDragSubregionForCommandModifier
CGSRemoveDragSubregionInWindow
CGSRemoveFromOrderingGroup
CGSRunningOnInstallerDisk
CGSServerIsConnected
CGSServerMightHaveAcceleration
CGSServerOperationState
CGSServerPort
CGSServiceForDisplayAlias
CGSServiceForDisplayNumber
CGSSetAccessibilityAdjustments
CGSSetAppearanceThemeLegacy
CGSSetAvoidsActivation
CGSSetCIFilterValues
CGSSetDebugOptionsData
CGSSetDebugOptionsPSN
CGSSetDebugOptionsWithDataObtainingPort
CGSSetDebugOptionsWithDataObtainingResult
CGSSetDefaultSpace
CGSSetDeferActivation
CGSSetDeferOrdering
CGSSetDockCursorOverride
CGSSetDockRectWithReason
CGSSetHideOnDeact
CGSSetIOHIDEventSystemClientProperty
CGSSetIgnoresOption
CGSSetInkingState
CGSSetKeyTranslationTableFromPtr
CGSSetKitVersion
CGSSetLoginName
CGSSetMagicMirrorProperties
CGSSetMagicZoom
CGSSetPostProcessColorMatrix
CGSSetPreventsActivation
CGSSetShouldLogErrors
CGSSetShouldLogMessages
CGSSetSwipeScrollDirection
CGSSetZoomParameters
CGSSharedArtworkCache
CGSStallServer
CGSUnregisterUpdateInformationHandler
CGSUpdateSystemActivity
CGSUpdateSystemActivityWithLocation
CGSVorpalBlade
CGSWasBootApplePreserved
CGSWillSwitchSpaces
CGSZoomPoint
  • Bonus: CGDisplayDefaultVisualBell()

CGSWarpPoint isn't correctly defined

CGSWarpPoint is actually not composed of CGPoint's, but a structure of floats that resembles it:

typedef struct {
    float x;
    float y;
} CGSMeshPoint;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.