gwenhywfar
5.1.3
gwenhywfar5
gwen-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
{
19
gwenActionPtr
c_actionPtr
;
20
void
*
c_actionData
;
21
BOOL
fillX
;
22
BOOL
fillY
;
23
24
CGFloat
minWidth
;
25
}
26
27
@property
BOOL
fillX
;
28
@property
BOOL
fillY
;
29
30
-(void) setC_ActionPtr:(
gwenActionPtr
)ptr Data:(
void
*)data;
31
-(NSSize)
neededTextSize
;
32
33
-(void) clicked:(
id
) sender;
34
35
@end
36
CocoaGwenGUIProtocol-p
Definition:
CocoaGwenGUIProtocol.h:12
CocoaGwenGUIProtocol.h
-[CocoaButton neededTextSize]
NSSize neededTextSize()
-[CocoaGwenGUIProtocol-p fillX]
BOOL fillX()
CocoaButton::c_actionData
void * c_actionData
Definition:
CocoaButton.h:21
gwenActionPtr
void(* gwenActionPtr)(NSButton *button, void *data)
Definition:
CocoaButton.h:14
CocoaButton::minWidth
CGFloat minWidth
Definition:
CocoaButton.h:25
CocoaButton
Definition:
CocoaButton.h:17
CocoaButton::c_actionPtr
gwenActionPtr c_actionPtr
Definition:
CocoaButton.h:20
-[CocoaGwenGUIProtocol-p fillY]
BOOL fillY()
Generated by
1.8.13