Re: Using Evan Schoemberg's Custom tabs
Re: Using Evan Schoemberg's Custom tabs
- Subject: Re: Using Evan Schoemberg's Custom tabs
- From: Andrea Salomoni <email@hidden>
- Date: Sun, 29 Jan 2006 12:00:29 +0100
Hi and thank you for help,
Sorry for Evan's last name ... :) but was very late in Italy tonight
when I wrote it and my mind was tired...
Where can I find the safari's tab system posted (without coding)?
Thank you for your kind help
Andrea
Il giorno 29/gen/06, alle ore 03:26, Brian Ganninger ha scritto:
Wouldn't the error here be that AppKit is not imported when
NSImageView is a member of this framework? Try adding #import
<AppKit/AppKit.h> or replace #import <Foundation/Foundation.h> with
#import <Cocoa/Cocoa.h> which will import the umbrella framework
containing both.
Additional notes:
- Evan's last name is Schoenberg :)
- This code, from Adium, is GPL'ed and you'll want to keep that in
mind with regards to future application use
- A Safari-style tab system was recently posted on the list and is
configurable in IB, no coding required :)
On Jan 28, 2006, at 7:05 PM, Andrea Salomoni wrote:
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:
40mac.com
This email sent to email@hidden
_______________________________________________
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