1 // 2 // NumberOptionUI.h 3 // LDView 4 // 5 // Created by Travis Cobbs on 6/17/08. 6 // Copyright 2008 __MyCompanyName__. All rights reserved. 7 // 8 9 #import <Cocoa/Cocoa.h> 10 #import "OptionUI.h" 11 12 13 @interface NumberOptionUI : OptionUI 14 { 15 NSTextField *label; 16 NSTextField *textField; 17 CGFloat textFieldWidth; 18 } 19 20 - (id)initWithOptions:(Options *)theOptions setting:(LDExporterSetting &)theSetting; 21 - (CGFloat)updateLayoutX:(CGFloat)x y:(CGFloat)y width:(CGFloat)width update:(bool)update optimalWidth:(CGFloat &)optimalWidth; 22 - (void)setEnabled:(BOOL)enabled; 23 - (NSRect)frame; 24 - (NSView *)firstKeyView; 25 26 @end 27