CGSInternal

Last updated on December 25th, 2007

Download

Been curious about how to do a full screen cube transition inside of your application? Or how to flip a window "dashboard-widget" style? This toy is your ticket to some excellent, undocumented features of Mac OS X's window server.

CGSInternal is a collection of headers and examples for the internal window server functionality. Because these APIs are undocumented, they are potentially going to change often and break frequently, and are not supported by Apple.

Included examples show how to apply CIFilters to windows, transition the screen like fast user switching, set transparency levels for all windows, list over all installed hotkeys, list all windows by application, and more.



Release History

RSS Feed Subscribe to updates for this product: RSS, Atom


COMMENTS

3 Responses to “CGSInternal”

  1. More CoreGraphics Hackery › Vacuous Virtuoso Says:

    […] Alacatia Labs, Inc. bring you the most thorough investigation of undocumented CoreGraphics functions to date, with CGSInternal. […]

  2. Ben Says:

    great fun - be careful with the alpha setter demo - no way to get back to normal without editing the code or restarting or something. To fix u just need to edit 1 line and adjust the alpha level here:

    // set the alpha of the windows to be 0.5 over the course of 10 seconds
    CGSSetWindowListAlpha(cid, windowList, windowCount,0.5, 10);

    TO THIS

    // set the alpha of the windows to be 1.0 over the course of 1 seconds
    CGSSetWindowListAlpha(cid, windowList, windowCount,1.0, 1);

    Hope that helps someone

  3. Defective Semantics » Blog Archive » blur for iTerm Says:

    […] stumbling block is that the API to apply window filters is undocumented. Fortunately, thanks to the CGSInternal headers some of this API has been […]

Leave a Reply