mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Replace NSCompositeHighlight with GSCompositeHighlight and map NSCompositeHighlight onto
NSCompositeSourceOver. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34773 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1cc1bc54ef
commit
e654c1c5b5
3 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2012-02-18 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/AppKit/NSGraphicsContext.h: Extend the enumerator
|
||||
NSCompositingOperation with the GNUstep specifc value
|
||||
GSCompositeHighlight.
|
||||
* Source/Functions.m (NSHighlightRect): Use GSCompositeHighlight
|
||||
instead of NSCompositeHighlight.
|
||||
|
||||
2012-02-16 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Headers/AppKit/NSGraphics.h: Add missing declaration for
|
||||
|
|
|
@ -97,6 +97,9 @@ typedef enum _NSCompositingOperation
|
|||
NSCompositeHighlight,
|
||||
NSCompositePlusLighter
|
||||
|
||||
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
|
||||
, GSCompositeHighlight = 100
|
||||
#endif
|
||||
} NSCompositingOperation;
|
||||
|
||||
typedef int NSWindowDepth;
|
||||
|
|
|
@ -523,7 +523,7 @@ void NSHighlightRect(NSRect aRect)
|
|||
NSGraphicsContext *ctxt = GSCurrentContext();
|
||||
DPScompositerect(ctxt, NSMinX(aRect), NSMinY(aRect),
|
||||
NSWidth(aRect), NSHeight(aRect),
|
||||
NSCompositeHighlight);
|
||||
GSCompositeHighlight);
|
||||
}
|
||||
|
||||
void NSRectClip(NSRect aRect)
|
||||
|
|
Loading…
Reference in a new issue