From 6297f7eaa5e852a33221938e3edddf58e9df9bb4 Mon Sep 17 00:00:00 2001 From: FredKiefer Date: Tue, 26 Dec 2000 21:42:06 +0000 Subject: [PATCH] Added some missing methods. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8441 72102866-910b-0410-8b05-ffd578937521 --- Headers/gnustep/gui/NSButton.h | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/Headers/gnustep/gui/NSButton.h b/Headers/gnustep/gui/NSButton.h index cedf19842..cf3ed8905 100644 --- a/Headers/gnustep/gui/NSButton.h +++ b/Headers/gnustep/gui/NSButton.h @@ -36,17 +36,11 @@ @class NSString; @class NSEvent; -@interface NSButton : NSControl +@interface NSButton : NSControl { // Attributes } -// -// Initializing the NSButton Factory -// -+ (Class)cellClass; -+ (void)setCellClass:(Class)classId; - // // Setting the Button Type // @@ -57,8 +51,8 @@ // - (void)setState:(int)value; - (int)state; -- (BOOL) allowsMixedState; -- (void) setAllowsMixedState: (BOOL)flag; +- (BOOL)allowsMixedState; +- (void)setAllowsMixedState: (BOOL)flag; - (void)setNextState; // @@ -76,6 +70,13 @@ - (void)setAlternateTitle:(NSString *)aString; - (void)setTitle:(NSString *)aString; - (NSString *)title; +#ifndef STRICT_OPENSTEP +- (NSAttributedString *)attributedAlternateTitle; +- (NSAttributedString *)attributedTitle; +- (void)setAttributedAlternateTitle:(NSAttributedString *)aString; +- (void)setAttributedTitle:(NSAttributedString *)aString; +- (void)setTitleWithMnemonic:(NSString *)aString; +#endif // // Setting the Images @@ -94,6 +95,12 @@ - (BOOL)isTransparent; - (void)setBordered:(BOOL)flag; - (void)setTransparent:(BOOL)flag; +#ifndef STRICT_OPENSTEP +- (NSBezelStyle)bezelStyle; +- (void)setBezelStyle:(NSBezelStyle)bezelStyle; +- (void)setShowsBorderOnlyWhileMouseInside:(BOOL)show; +- (BOOL)showsBorderOnlyWhileMouseInside; +#endif // // Displaying @@ -115,10 +122,12 @@ - (BOOL)performKeyEquivalent:(NSEvent *)anEvent; // -// NSCoding protocol +// Sound // -- (void)encodeWithCoder:aCoder; -- initWithCoder:aDecoder; +#ifndef STRICT_OPENSTEP +- (void)setSound:(NSSound *)aSound; +- (NSSound *)sound; +#endif @end