gwenhywfar 4.0.3

CocoaLineTextField.h

Go to the documentation of this file.
00001 //
00002 //  CocoaLineTextField.h
00003 //  
00004 //
00005 //  Created by Samuel Strupp on 10.08.10.
00006 //
00007 
00008 
00009 
00010 #ifndef COCOA_LINE_TEXTFIELD_H
00011 #define COCOA_LINE_TEXTFIELD_H
00012 
00013 #import <Cocoa/Cocoa.h>
00014 #import "CocoaLabel.h"
00015 
00016 typedef void (*gwenTextFieldActionPtr)(NSTextField *textField, void* data);
00017 
00018 
00019 @interface CocoaLineTextField : CocoaLabel {
00020         gwenTextFieldActionPtr c_actionPtr;
00021         void* c_actionData;
00022         
00023         gwenTextFieldActionPtr c_textChangedActionPtr;
00024         void* c_textChangedActionData;
00025 }
00026 
00027 -(void) setC_ActionPtr:(gwenTextFieldActionPtr)ptr Data:(void*)data;
00028 -(void) setC_TextChanged_ActionPtr:(gwenTextFieldActionPtr)ptr Data:(void*)data;
00029 
00030 @end
00031 
00032 #endif