CocoaButton.h
Go to the documentation of this file.
//
// CocoaButton.h
//
//
// Created by Samuel Strupp on 10.08.10.
//
#import <Cocoa/Cocoa.h>
#import "CocoaGwenGUIProtocol.h"
typedef void (*gwenActionPtr)(NSButton *button, void *data);
@interface CocoaButton : NSButton <CocoaGwenGUIProtocol>
{
gwenActionPtr c_actionPtr;
void *c_actionData;
BOOL fillX;
BOOL fillY;
CGFloat minWidth;
}
@property BOOL fillX;
@property BOOL fillY;
-(void) setC_ActionPtr:(gwenActionPtr)ptr Data:(void *)data;
-(NSSize) neededTextSize;
-(void) clicked:(id) sender;
@end
gwenActionPtr
void(* gwenActionPtr)(NSButton *button, void *data)
Definition CocoaButton.h:14
CocoaGwenGUIProtocol.h
CocoaButton
Definition CocoaButton.h:19
CocoaButton::minWidth
CGFloat minWidth
Definition CocoaButton.h:25
CocoaButton::fillX
BOOL fillX
Definition CocoaButton.h:22
CocoaButton::c_actionData
void * c_actionData
Definition CocoaButton.h:21
-[CocoaButton neededTextSize]
NSSize neededTextSize()
CocoaButton::fillY
BOOL fillY
Definition CocoaButton.h:23
CocoaButton::c_actionPtr
gwenActionPtr c_actionPtr
Definition CocoaButton.h:20
CocoaGwenGUIProtocol-p
Definition CocoaGwenGUIProtocol.h:12