Documentation fixups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14368 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-08-29 10:07:51 +00:00
parent 4c2cc83e47
commit 80b0d5b3a9
6 changed files with 45 additions and 27 deletions

View file

@ -76,18 +76,20 @@ typedef struct {
<p>
Styles can be set using the user defaults system. Currently available
styles are
</p>
<list>
<item>NSNextStepInterfaceStyle</item>,
<item>NSMacintoshInterfaceStyle</item>,
<item>NSWindows95InterfaceStyle</item>,
<item>GSWindowMakerInterfaceStyle</item>.
<item>NSNextStepInterfaceStyle</item>
<item>NSMacintoshInterfaceStyle</item>
<item>NSWindows95InterfaceStyle</item>
<item>GSWindowMakerInterfaceStyle</item>
</list>
<p>
You can set a default style
for all UI elements using the <code>NSInterfaceStyleDefault</code> key:
</p>
<example>
defaults write NSGlobalDomain NSInterfaceStyleDefault GSWindowMakerInterfaceStyle
</example>
</p>
*/
extern NSInterfaceStyle
NSInterfaceStyleForKey(NSString *key, NSResponder *responder)
@ -99,7 +101,8 @@ NSInterfaceStyleForKey(NSString *key, NSResponder *responder)
*/
if (responder)
{
style = (NSInterfaceStyle)((accessToResponder)responder)->_interface_style;
style
= (NSInterfaceStyle)((accessToResponder)responder)->_interface_style;
if (style != NSNoInterfaceStyle)
{
return style;