NSColor *colorToUse = ĬGError error = CGAcquireDisplayFadeReservation (inDuration + outDuration, &fadeToken) See here: Quartz Display Services ReferenceĪ simple implementation would look like this: -(void)flashScreenUsingFlashColor:(NSColor *)flashColor It's very easy to use and no "hacking" with fake fullscreen windows or views is required. I suggest using the CGDisplayFade API of Quartz Display Services.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |