You've already forked lazarus-ccr
86 lines
2.1 KiB
PHP
86 lines
2.1 KiB
PHP
![]() |
{%mainunit appkit.pas}
|
||
|
{
|
||
|
NSButton.h
|
||
|
Application Kit
|
||
|
Copyright (c) 1994-2005, Apple Computer, Inc.
|
||
|
All rights reserved.
|
||
|
}
|
||
|
|
||
|
{$ifdef CLASSES}
|
||
|
{$ifndef NSBUTTON_PAS_C}
|
||
|
{$define NSBUTTON_PAS_C}
|
||
|
|
||
|
{$include NSControl.inc}
|
||
|
{$include NSButtonCell.inc}
|
||
|
|
||
|
//@class NSSound;
|
||
|
|
||
|
NSButton = class(NSControl)
|
||
|
public
|
||
|
|
||
|
{- (NSString *)title;
|
||
|
- (void)setTitle:(NSString *)aString;
|
||
|
- (NSString *)alternateTitle;
|
||
|
- (void)setAlternateTitle:(NSString *)aString;
|
||
|
- (NSImage *)image;
|
||
|
- (void)setImage:(NSImage *)image;
|
||
|
- (NSImage *)alternateImage;
|
||
|
- (void)setAlternateImage:(NSImage *)image;
|
||
|
- (NSCellImagePosition)imagePosition;
|
||
|
- (void)setImagePosition:(NSCellImagePosition)aPosition;
|
||
|
- (void)setButtonType:(NSButtonType)aType;
|
||
|
- (int)state;
|
||
|
- (void)setState:(int)value;
|
||
|
- (BOOL)isBordered;
|
||
|
- (void)setBordered:(BOOL)flag;
|
||
|
- (BOOL)isTransparent;
|
||
|
- (void)setTransparent:(BOOL)flag;
|
||
|
- (void)setPeriodicDelay:(float)delay interval:(float)interval;
|
||
|
- (void)getPeriodicDelay:(float *)delay interval:(float *)interval;
|
||
|
- (NSString *)keyEquivalent;
|
||
|
- (void)setKeyEquivalent:(NSString *)charCode;
|
||
|
- (unsigned int)keyEquivalentModifierMask;
|
||
|
- (void)setKeyEquivalentModifierMask:(unsigned int)mask;
|
||
|
- (void)highlight:(BOOL)flag;
|
||
|
- (BOOL)performKeyEquivalent:(NSEvent *)key;
|
||
|
|
||
|
@end
|
||
|
|
||
|
@interface NSButton(NSKeyboardUI)
|
||
|
- (void)setTitleWithMnemonic:(NSString *)stringWithAmpersand;
|
||
|
@end
|
||
|
|
||
|
@interface NSButton(NSButtonAttributedStringMethods)
|
||
|
- (NSAttributedString *)attributedTitle;
|
||
|
- (void)setAttributedTitle:(NSAttributedString *)aString;
|
||
|
- (NSAttributedString *)attributedAlternateTitle;
|
||
|
- (void)setAttributedAlternateTitle:(NSAttributedString *)obj;
|
||
|
@end
|
||
|
|
||
|
@interface NSButton(NSButtonBezelStyles)
|
||
|
- (void) setBezelStyle:(NSBezelStyle)bezelStyle;
|
||
|
- (NSBezelStyle)bezelStyle;
|
||
|
@end
|
||
|
|
||
|
@interface NSButton(NSButtonMixedState)
|
||
|
- (void)setAllowsMixedState:(BOOL)flag;
|
||
|
- (BOOL)allowsMixedState;
|
||
|
- (void)setNextState;
|
||
|
@end
|
||
|
|
||
|
@interface NSButton(NSButtonBorder)
|
||
|
- (void) setShowsBorderOnlyWhileMouseInside:(BOOL)show;
|
||
|
- (BOOL) showsBorderOnlyWhileMouseInside;
|
||
|
@end
|
||
|
|
||
|
@interface NSButton (NSButtonSoundExtensions)
|
||
|
- (void)setSound:(NSSound *)aSound;
|
||
|
- (NSSound *)sound;
|
||
|
@end}
|
||
|
|
||
|
end;
|
||
|
|
||
|
{$endif}
|
||
|
{$endif}
|
||
|
|