//
//  FontSelect.h
//  traceWrite
//
//  Created by 今井 彰彦 on 2011/12/15.
//  Copyright 2011-12 AIG-Soft. All rights reserved.
//

#import "PickerView.h"
#import "FontSizeSelect.h"

@interface FontSelect : PickerView
<UIPickerViewDelegate,UIPickerViewDataSource>
{
	// 選択値保存用
	NSString		*fontName;
	CGFloat			fontSize;
	// 選択要素
	NSMutableArray	*nameArray;
	// 項目列幅
	CGFloat			nameWidth;
	//
	UIImage			*capturePicker;
}
@property (nonatomic,strong) FontSizeSelect	*fontSizeSelect;
@property (nonatomic,copy  ) NSString	*sampleText;
@property (nonatomic) NSUInteger nameNo; // 保存用

-(NSString *)no2FontName:(NSInteger)no;
-(void)initFontSelect:(id)target selector:(SEL)aSel name:(NSString *)name_ title:(NSString *)title;
-(void)dispFontSize:(CGFloat)size;
-(void)setSample:(NSString *)text;
-(void)setNextButton:(NSString *)title;


#define FMT_FONT	@"%3.0f" // フォントサイズ表示フォーマット

@end
