CPWindow alpha value support.

This commit is contained in:
Alexander Ljungberg authored and Ross Boucher committed 2010-04-21 15:47:25 -07:00
1 parent 5838f1aec8
commit 639a32ea7e
1 file changed
+17
+17
View File
@@ -883,6 +883,23 @@ CPTexturedBackgroundWindowMask
return _contentView;
}
/*!
Applies an alpha value to the window.
@param aValue the alpha value to apply
*/
- (void)setAlphaValue:(float)aValue
{
[_windowView setAlphaValue:aValue];
}
/*!
Returns the alpha value of the window.
*/
- (float)alphaValue
{
return [_windowView alphaValue];
}
/*!
Sets the window's background color.
@param aColor the new color for the background