diff -r e2fd132ab781 -r 7a36f91c22f7 ui/cocoa/toolkit.h --- a/ui/cocoa/toolkit.h Mon Mar 31 20:22:16 2014 +0200 +++ b/ui/cocoa/toolkit.h Tue Apr 01 11:50:32 2014 +0200 @@ -34,15 +34,17 @@ @interface EventWrapper : NSObject { void *data; ui_callback callback; + int value; } - (EventWrapper*) initWithData: (void*)data callback:(ui_callback) f; - (void*) data; - (void) setData:(void*)d; - - (ui_callback) callback; - (void) setCallback: (ui_callback)f; +- (int) intval; +- (void) setIntval:(int)i; - (BOOL)handleEvent:(id)sender; - (BOOL)handleStateEvent:(id)sender;