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
This commit is contained in:
Fred Kiefer 2002-10-07 23:41:21 +00:00
parent 3e452ef940
commit b1d38d0b17

View file

@ -43,7 +43,10 @@ typedef enum _NSButtonType {
NSRadioButton, NSRadioButton,
NSMomentaryChangeButton, NSMomentaryChangeButton,
NSOnOffButton, NSOnOffButton,
NSMomentaryLight // These come from MacOSX
NSMomentaryLight,
NSMomentaryLightButton = NSMomentaryLight,
NSMomentaryPushInButton = NSMomentaryPushButton
} NSButtonType; } NSButtonType;
typedef enum _NSBezelStyle { typedef enum _NSBezelStyle {
@ -51,11 +54,15 @@ typedef enum _NSBezelStyle {
NSRegularSquareBezelStyle, NSRegularSquareBezelStyle,
NSThickSquareBezelStyle, NSThickSquareBezelStyle,
NSThickerSquareBezelStyle, NSThickerSquareBezelStyle,
// The next five no longer show up in the MacOSX documentation
NSNeXTBezelStyle, NSNeXTBezelStyle,
NSPushButtonBezelStyle, NSPushButtonBezelStyle,
NSSmallIconButtonBezelStyle, NSSmallIconButtonBezelStyle,
NSMediumIconButtonBezelStyle, NSMediumIconButtonBezelStyle,
NSLargeIconButtonBezelStyle NSLargeIconButtonBezelStyle,
// But those two do
NSShadowlessSquareBezelStyle,
NSCircularBezelStyle
} NSBezelStyle; } NSBezelStyle;
typedef enum _NSGradientType { typedef enum _NSGradientType {