gwenhywfar  5.11.1beta
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 {
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
void(* gwenPopUpActionPtr)(NSPopUpButton *button, void *data)
gwenPopUpActionPtr c_actionPtr