gwenhywfar 5.12.1
CocoaSpinbox.h
Go to the documentation of this file.
1//
2// CocoaSpinbox.h
3//
4//
5// Created by Samuel Strupp on 19.08.10.
6//
7
8
9
10#ifndef COCOA_SPINBOX_H
11#define COCOA_SPINBOX_H
12
13#import <Cocoa/Cocoa.h>
15
16typedef void (*gwenSpinBoxActionPtr)(NSView *spinbox, void *data);
17
18
20{
21 NSStepper *stepper;
22 NSTextField *textfield;
24 CGFloat minWidth;
26 BOOL fillX;
27 BOOL fillY;
29 NSInteger minValue;
30 NSInteger maxValue;
35
36@property BOOL fillX;
37@property BOOL fillY;
39-(void) setC_ActionPtr:(gwenSpinBoxActionPtr)ptr Data:(void *)data;
40
41-(void) makeFirstResponder;
42-(BOOL) isFirstResponder;
43
44-(void) setEnabled:(BOOL)value;
45-(BOOL) isEnabled;
46
47-(void) setIntegerValue:(NSInteger)new_value;
48-(NSInteger) integerValue;
49-(void) setMinValue:(NSInteger)new_min_value;
50-(NSInteger) minValue;
51-(void) setMaxValue:(NSInteger)new_max_value;
52-(NSInteger) maxValue;
53
54-(void)setStringValue:(NSString *)aString;
55-(NSString *) stringValue;
56
57@end
58
59#endif
void(* gwenSpinBoxActionPtr)(NSView *spinbox, void *data)
NSInteger minValue
NSStepper * stepper
CGFloat minWidth
void * c_actionData
NSInteger maxValue
NSTextField * textfield
gwenSpinBoxActionPtr c_actionPtr