From 24ddd8c5325c68e9546dca0e247923e54edde9da Mon Sep 17 00:00:00 2001 From: FredKiefer Date: Mon, 7 Oct 2002 23:41:21 +0000 Subject: [PATCH] Adoped the enums NSButtonType and NSBezelStyle to the new MacOSX names. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14667 72102866-910b-0410-8b05-ffd578937521 --- Headers/gnustep/gui/NSButtonCell.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Headers/gnustep/gui/NSButtonCell.h b/Headers/gnustep/gui/NSButtonCell.h index 4476e950c..8274c4f2e 100644 --- a/Headers/gnustep/gui/NSButtonCell.h +++ b/Headers/gnustep/gui/NSButtonCell.h @@ -43,7 +43,10 @@ typedef enum _NSButtonType { NSRadioButton, NSMomentaryChangeButton, NSOnOffButton, - NSMomentaryLight + // These come from MacOSX + NSMomentaryLight, + NSMomentaryLightButton = NSMomentaryLight, + NSMomentaryPushInButton = NSMomentaryPushButton } NSButtonType; typedef enum _NSBezelStyle { @@ -51,11 +54,15 @@ typedef enum _NSBezelStyle { NSRegularSquareBezelStyle, NSThickSquareBezelStyle, NSThickerSquareBezelStyle, + // The next five no longer show up in the MacOSX documentation NSNeXTBezelStyle, NSPushButtonBezelStyle, NSSmallIconButtonBezelStyle, NSMediumIconButtonBezelStyle, - NSLargeIconButtonBezelStyle + NSLargeIconButtonBezelStyle, + // But those two do + NSShadowlessSquareBezelStyle, + NSCircularBezelStyle } NSBezelStyle; typedef enum _NSGradientType {