NSDrawButton
グレーの四角いボタンを描きます
void NSDrawButton ( const NSRect aRect , const NSRect clipRect );
解説
グレーの四角いボタンを描きます。アクアボタンではありません。
返り値
引数
( const NSRect )aRect
( const NSRect )clipRect
フレームワーク
ApplicationKit
クラス
NSDrawButton
Function
使用可能
10.0
参照
例文
#import "MyView.h" //NSViewのサブクラスMyView //drawRectをオーバーライド @implementation MyView - (void)drawRect:(NSRect)frameRect { NSDrawButton(NSMakeRect(10,10,200,200),NSMakeRect(10,10,200,200)); } @end