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
Subscribe to updates for this product:
RSS,
Atom
January 15th, 2008 at 10:21 pm
[…] Alacatia Labs, Inc. bring you the most thorough investigation of undocumented CoreGraphics functions to date, with CGSInternal. […]
March 24th, 2008 at 7:27 am
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
July 2nd, 2008 at 3:56 pm
[…] stumbling block is that the API to apply window filters is undocumented. Fortunately, thanks to the CGSInternal headers some of this API has been […]