Added basic implementation for window alpha handling.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20697 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
FredKiefer 2005-02-12 18:15:25 +00:00
parent b7c9936be7
commit 01f3d318e1
4 changed files with 21 additions and 2 deletions

View file

@ -1106,8 +1106,11 @@ many times.
- (void) setAlphaValue: (float)windowAlpha
{
// FIXME
_alphaValue = windowAlpha;
if (_windowNum)
{
[GSServerForWindow(self) setalpha: _alphaValue : _windowNum];
}
}
- (float) alphaValue
@ -4209,7 +4212,7 @@ resetCursorRectsForView(NSView *theView)
_depthLimit = NSDefaultDepth;
_disableFlushWindow = 0;
_alphaValue = 0.0;
_alphaValue = 1.0;
_f.is_one_shot = NO;
_f.is_autodisplay = YES;