mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 17:50:47 +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
4321f46a99
commit
606cb788ae
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>
|
2008-08-08 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* Source/NSBitmapImageRep+JPEG.m: Handle patched jpeg library
|
* Source/NSBitmapImageRep+JPEG.m: Handle patched jpeg library
|
||||||
|
|
|
@ -142,7 +142,6 @@ NSDrawBezel(const NSRect aRect, const NSRect clipRect)
|
||||||
NSDrawGrayBezel(aRect, clipRect);
|
NSDrawGrayBezel(aRect, clipRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** Draws a rectangle along the inside of aRect. The rectangle will be
|
/** Draws a rectangle along the inside of aRect. The rectangle will be
|
||||||
black, dotted (using 1 point dashes), and will have a line width
|
black, dotted (using 1 point dashes), and will have a line width
|
||||||
of 1 point. */
|
of 1 point. */
|
||||||
|
@ -244,4 +243,15 @@ APPKIT_EXPORT int NSGetWindowServerMemory(int context, int *virtualMemory,
|
||||||
|
|
||||||
#endif
|
#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__ */
|
#endif /* __NSGraphics_h__ */
|
||||||
|
|
|
@ -815,6 +815,12 @@ NSFrameLinkRect(NSRect aRect, BOOL isDestination)
|
||||||
NSFrameRectWithWidth(aRect, NSLinkFrameThickness());
|
NSFrameRectWithWidth(aRect, NSLinkFrameThickness());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void NSSetFocusRingStyle(NSFocusRingPlacement placement)
|
||||||
|
{
|
||||||
|
// FIXME: NIMP
|
||||||
|
NSLog(@"*** NSSetFocusRingStyle not implemented ***");
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
NSConvertGlobalToWindowNumber(int globalNum, unsigned int *winNum)
|
NSConvertGlobalToWindowNumber(int globalNum, unsigned int *winNum)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue