mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
Correct alpha_component passing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28956 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
16312cec5e
commit
8802a916e6
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-11-04 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSColor.m (GSRGBColor -getComponents:): Correct
|
||||
alpha_component passing.
|
||||
|
||||
2009-11-03 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSColor.m (-colorUsingColorSpace): Support more color spaces.
|
||||
|
|
|
@ -2603,12 +2603,12 @@ static NSRecursiveLock *namedColorLock = nil;
|
|||
components[0] = _red_component;
|
||||
components[1] = _green_component;
|
||||
components[2] = _blue_component;
|
||||
components[4] = _alpha_component;
|
||||
components[3] = _alpha_component;
|
||||
}
|
||||
|
||||
- (int) numberOfComponents
|
||||
{
|
||||
return 4;
|
||||
return 4;
|
||||
}
|
||||
|
||||
- (void) getHue: (float*)hue
|
||||
|
|
Loading…
Reference in a new issue