mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Add dummy version of NSSetFocusRingStyle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26803 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d650fce161
commit
f88a8e3a08
3 changed files with 24 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-08-09 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/AppKit/NSGraphics.h: Add NSSetFocusRingStyle and type
|
||||
definition.
|
||||
* Source/Functions.m (NSSetFocusRingStyle): Add dummy implementation.
|
||||
Code by Nikolaus Schaller <hns@computer.org>.
|
||||
|
||||
2008-08-08 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSBitmapImageRep+JPEG.m: Handle patched jpeg library
|
||||
|
|
|
@ -142,7 +142,6 @@ NSDrawBezel(const NSRect aRect, const NSRect clipRect)
|
|||
NSDrawGrayBezel(aRect, clipRect);
|
||||
}
|
||||
|
||||
|
||||
/** Draws a rectangle along the inside of aRect. The rectangle will be
|
||||
black, dotted (using 1 point dashes), and will have a line width
|
||||
of 1 point. */
|
||||
|
@ -244,4 +243,15 @@ APPKIT_EXPORT int NSGetWindowServerMemory(int context, int *virtualMemory,
|
|||
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_1, GS_API_LATEST)
|
||||
typedef enum _NSFocusRingPlacement
|
||||
{
|
||||
NSFocusRingOnly=0,
|
||||
NSFocusRingBelow,
|
||||
NSFocusRingAbove
|
||||
} NSFocusRingPlacement;
|
||||
|
||||
void NSSetFocusRingStyle(NSFocusRingPlacement placement);
|
||||
#endif
|
||||
|
||||
#endif /* __NSGraphics_h__ */
|
||||
|
|
|
@ -815,6 +815,12 @@ NSFrameLinkRect(NSRect aRect, BOOL isDestination)
|
|||
NSFrameRectWithWidth(aRect, NSLinkFrameThickness());
|
||||
}
|
||||
|
||||
void NSSetFocusRingStyle(NSFocusRingPlacement placement)
|
||||
{
|
||||
// FIXME: NIMP
|
||||
NSLog(@"*** NSSetFocusRingStyle not implemented ***");
|
||||
}
|
||||
|
||||
void
|
||||
NSConvertGlobalToWindowNumber(int globalNum, unsigned int *winNum)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue