From 32fce62555ec90f862793a9a90b3cc1bd697b777 Mon Sep 17 00:00:00 2001 From: Richard Frith-Macdonald Date: Tue, 22 Jul 2003 17:25:32 +0000 Subject: [PATCH] Final tweaks? git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17305 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 2 ++ Headers/gnustep/gui/NSMenu.h | 2 +- Source/NSGraphicsContext.m | 12 ++++++------ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index d4f9ff318..66b68671c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,7 +15,9 @@ * Source/NSPasteboard.m: ditto * Source/NSView.m: ditto * Source/NSBezierPath.m: ditto + * Source/NSGraphicsContext.m: ditto * Headers/gnustep/gui/NSBezierPath.h: ditto + * Headers/gnustep/gui/NSMenu.h: ditto 2003-07-22 Andrew Ruder diff --git a/Headers/gnustep/gui/NSMenu.h b/Headers/gnustep/gui/NSMenu.h index 90b61b328..4dca163c4 100644 --- a/Headers/gnustep/gui/NSMenu.h +++ b/Headers/gnustep/gui/NSMenu.h @@ -348,7 +348,7 @@ to keep the following information in mind. The menus (or the menu items) form a tree. Navigating through this tree is done with the methods [NSMenu-supermenu], which returns the parent menu of the receiver, and with [NSMenu-itemAtIndex:] which returns a -NSMenuItem on which we can call [NSMenuItem-submenu] for a child menu. +NSMenuItem on which we can call [(NSMenuItem)-submenu] for a child menu. The menus as displayed on the screen do NOT form a tree. This because detached and transient menus lead to duplicate menus on the screen. diff --git a/Source/NSGraphicsContext.m b/Source/NSGraphicsContext.m index 75a4e2a6b..cb3098149 100644 --- a/Source/NSGraphicsContext.m +++ b/Source/NSGraphicsContext.m @@ -814,7 +814,7 @@ NSGraphicsContext *GSCurrentContext(void) /* ----------------------------------------------------------------------- */ /** Displays a string as in the PostScript ashow operator. This operator is obsolete. You should instead use -DPSshow: with appropriate - -DPSrmoveto: operations and/or the -GSSetCharacterSpacing: method + -DPSrmoveto:: operations and/or the -GSSetCharacterSpacing: method */ - (void) DPSashow: (float)x : (float)y : (const char *)s { @@ -823,7 +823,7 @@ NSGraphicsContext *GSCurrentContext(void) /** Displays a string as in the PostScript awidthshow operator. This operator is obsolete. You should instead use -DPSshow: with appropriate - -DPSrmoveto: operations and/or the -GSSetCharacterSpacing: method + -DPSrmoveto:: operations and/or the -GSSetCharacterSpacing: method */ - (void) DPSawidthshow: (float)cx : (float)cy : (int)c : (float)ax : (float)ay : (const char *)s { @@ -846,7 +846,7 @@ NSGraphicsContext *GSCurrentContext(void) /** Displays a string as in the PostScript widthshow operator. This operator is obsolete. You should instead use -DPSshow: with appropriate - -DPSrmoveto: operations. + -DPSrmoveto:: operations. */ - (void) DPSwidthshow: (float)x : (float)y : (int)c : (const char *)s { @@ -855,7 +855,7 @@ NSGraphicsContext *GSCurrentContext(void) /** Displays a string as in the PostScript widthshow operator. This operator is obsolete. You should instead use -DPSshow: with appropriate - -DPSrmoveto: operations. + -DPSrmoveto:: operations. */ - (void) DPSxshow: (const char *)s : (const float*)numarray : (int)size { @@ -864,7 +864,7 @@ NSGraphicsContext *GSCurrentContext(void) /** Displays a string as in the PostScript xyshow operator. This operator is obsolete. You should instead use -DPSshow: with appropriate - -DPSrmoveto: operations. + -DPSrmoveto:: operations. */ - (void) DPSxyshow: (const char *)s : (const float*)numarray : (int)size { @@ -873,7 +873,7 @@ NSGraphicsContext *GSCurrentContext(void) /** Displays a string as in the PostScript yshow operator. This operator is obsolete. You should instead use -DPSshow: with appropriate - -DPSrmoveto: operations. + -DPSrmoveto:: operations. */ - (void) DPSyshow: (const char *)s : (const float*)numarray : (int)size {