gwenhywfar
4.6.0beta
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
gui
cocoa
CocoaButton.h
Go to the documentation of this file.
1
//
2
// CocoaButton.h
3
//
4
//
5
// Created by Samuel Strupp on 10.08.10.
6
//
7
8
9
10
11
#import <Cocoa/Cocoa.h>
12
#import "
CocoaGwenGUIProtocol.h
"
13
14
typedef
void (*
gwenActionPtr
)(NSButton *button,
void
* data);
15
16
17
@interface
CocoaButton
: NSButton <
CocoaGwenGUIProtocol
> {
18
gwenActionPtr
c_actionPtr
;
19
void
*
c_actionData
;
20
BOOL
fillX
;
21
BOOL
fillY
;
22
23
CGFloat
minWidth
;
24
}
25
26
@property
BOOL fillX;
27
@property
BOOL fillY;
28
29
-(void) setC_ActionPtr:(
gwenActionPtr
)ptr Data:(
void
*)data;
30
-(NSSize) neededTextSize;
31
32
-(void) clicked:(
id
) sender;
33
34
@end
35
Generated on Wed May 29 2013 05:31:47 for gwenhywfar by
1.8.3.1