gwenhywfar
4.3.1
|
00001 // 00002 // CocoaComboBox.h 00003 // 00004 // 00005 // Created by Samuel Strupp on 10.08.10. 00006 // 00007 00008 00009 00010 #ifndef COCOA_COMBOBOX_H 00011 #define COCOA_COMBOBOX_H 00012 00013 #import <Cocoa/Cocoa.h> 00014 #import "CocoaGwenGUIProtocol.h" 00015 00016 typedef void (*gwenComboBoxActionPtr)(NSComboBox *comboBox, void* data); 00017 00018 00019 @interface CocoaComboBox : NSComboBox <CocoaGwenGUIProtocol> { 00020 00021 BOOL fillX; 00022 BOOL fillY; 00023 00024 CGFloat minWidth; 00025 00026 gwenComboBoxActionPtr c_actionPtr; 00027 void* c_actionData; 00028 } 00029 00030 @property BOOL fillX; 00031 @property BOOL fillY; 00032 00033 -(void) setC_ComboBoxActionPtr:(gwenComboBoxActionPtr)ptr Data:(void*)data; 00034 00035 @end 00036 00037 #endif