gwenhywfar
5.11.1beta
gwenhywfar5
gwen-gui-cocoa
CocoaPopUpButton.h
Go to the documentation of this file.
1
//
2
// CocoaPopUpButton.h
3
//
4
//
5
// Created by Samuel Strupp on 10.08.10.
6
//
7
8
9
10
#ifndef COCOA_POPUP_BUTTON_H
11
#define COCOA_POPUP_BUTTON_H
12
13
#import <Cocoa/Cocoa.h>
14
#import "
CocoaGwenGUIProtocol.h
"
15
16
typedef
void (*
gwenPopUpActionPtr
)(NSPopUpButton *button,
void
*data);
17
18
19
@interface
CocoaPopUpButton
: NSPopUpButton <
CocoaGwenGUIProtocol
>
20
{
21
gwenPopUpActionPtr
c_actionPtr
;
22
void
*
c_actionData
;
23
BOOL
fillX
;
24
BOOL
fillY
;
25
26
CGFloat
minWidth
;
27
}
28
29
@property
BOOL fillX;
30
@property
BOOL fillY;
31
32
-(void) setC_PopUpActionPtr:(
gwenPopUpActionPtr
)ptr Data:(
void
*)data;
33
34
@end
35
36
#endif
CocoaGwenGUIProtocol.h
gwenPopUpActionPtr
void(* gwenPopUpActionPtr)(NSPopUpButton *button, void *data)
Definition:
CocoaPopUpButton.h:16
CocoaPopUpButton
Definition:
CocoaPopUpButton.h:21
CocoaPopUpButton::minWidth
CGFloat minWidth
Definition:
CocoaPopUpButton.h:27
CocoaPopUpButton::fillX
BOOL fillX
Definition:
CocoaPopUpButton.h:24
CocoaPopUpButton::c_actionData
void * c_actionData
Definition:
CocoaPopUpButton.h:23
CocoaPopUpButton::fillY
BOOL fillY
Definition:
CocoaPopUpButton.h:25
CocoaPopUpButton::c_actionPtr
gwenPopUpActionPtr c_actionPtr
Definition:
CocoaPopUpButton.h:22
CocoaGwenGUIProtocol-p
Definition:
CocoaGwenGUIProtocol.h:12
Generated by
1.9.1