Using Evan Schoemberg's Custom tabs
Using Evan Schoemberg's Custom tabs
- Subject: Using Evan Schoemberg's Custom tabs
- From: Andrea Salomoni <email@hidden>
- Date: Sun, 29 Jan 2006 02:05:43 +0100
Hi to all,
I'm trying to implement Evan's custom tabs in a small test app.
I downloaded a small example called Custom Tabs and works fine (but
there are two warnings).
I imported all the files and the images in my app, modified my
prefix_header, but when I build the app there are 3 errors!
1- Parse error before NSImageView
2- Parse error before NSImage
3- fatal error : method definition not in the @implementation context
I not touched nothing... and in the example all works, but not in my
app...
Anyone knows something about it?
I attach a small code where the compiler returns the errors:
#import <Foundation/Foundation.h>
@interface ESFloater : NSObject {
NSImageView *staticView;
NSPanel *panel;
BOOL windowIsVisible;
NSTimer *visibilityTimer;
float maxOpacity;
}
+ (id)floaterWithImage:(NSImage *)inImage styleMask:(unsigned int)
styleMask;
- (void)moveFloaterToPoint:(NSPoint)inPoint;
- (IBAction)close:(id)sender;
- (void)endFloater;
- (void)setImage:(NSImage *)inImage;
- (NSImage *)image;
- (void)setVisible:(BOOL)inVisible animate:(BOOL)animate;
- (void)setMaxOpacity:(float)inMaxOpacity;
@end
Thank you all
Andrea
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden