CocoaPopUpButton.h

Go to the documentation of this file.
00001 //
00002 //  CocoaPopUpButton.h
00003 //  
00004 //
00005 //  Created by Samuel Strupp on 10.08.10.
00006 //
00007 
00008 
00009 
00010 #ifndef COCOA_POPUP_BUTTON_H
00011 #define COCOA_POPUP_BUTTON_H
00012 
00013 #import <Cocoa/Cocoa.h>
00014 #import "CocoaGwenGUIProtocol.h"
00015 
00016 typedef void (*gwenPopUpActionPtr)(NSPopUpButton *button, void* data);
00017 
00018 
00019 @interface CocoaPopUpButton : NSPopUpButton <CocoaGwenGUIProtocol> {
00020         gwenPopUpActionPtr c_actionPtr;
00021         void* c_actionData;
00022         BOOL fillX;
00023         BOOL fillY;
00024         
00025         CGFloat minWidth;
00026 }
00027 
00028 @property BOOL fillX;
00029 @property BOOL fillY;
00030 
00031 -(void) setC_PopUpActionPtr:(gwenPopUpActionPtr)ptr Data:(void*)data;
00032 
00033 @end
00034 
00035 #endif