gwenhywfar  4.13.1
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> {
21  void* c_actionData;
22  BOOL fillX;
23  BOOL fillY;
24 
25  CGFloat minWidth;
26 }
27 
28 @property BOOL fillX;
29 @property BOOL fillY;
30 
31 -(void) setC_PopUpActionPtr:(gwenPopUpActionPtr)ptr Data:(void*)data;
32 
33 @end
34 
35 #endif
void(* gwenPopUpActionPtr)(NSPopUpButton *button, void *data)
gwenPopUpActionPtr c_actionPtr