Transparent Quartz File

Discussion in 'Mac Programming' started by Blakeasd, Apr 2, 2011.

  1. Blakeasd macrumors 6502a

    Dec 29, 2009
    I created a file in quartz composer and I put it in a standalone application. I need the user to be able to see the desktop behind it. I tried setting the clear color opacity in IB to 0% however you just see the window behind it. I need the application window to be clear as well as the Quartz Composer so the things happing in the Quartz file appear to be happening over whatever is under the window.
  2. xStep macrumors 68000

    Jan 28, 2003
    Less lost in L.A.
    I suspect you'll want to play with the following three values. Interestingly, when I click on a clear area, I select the window behind it.

    [self.window setBackgroundColor: [NSColor clearColor]];
    [self.window setAlphaValue: 0.99];
    [self.window setOpaque: NO];
  3. Blakeasd thread starter macrumors 6502a

    Dec 29, 2009
    I used your code for the window and then I set the Quartz Files clear color opacity to 0%
    It Works

Share This Page