• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using Evan Schoemberg's Custom tabs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Using Evan Schoemberg's Custom tabs
      • From: Brian Ganninger <email@hidden>
  • Prev by Date: Views within NSTextView
  • Next by Date: Calculating the height of text in NSTextField
  • Previous by thread: Views within NSTextView
  • Next by thread: Re: Using Evan Schoemberg's Custom tabs
  • Index(es):
    • Date
    • Thread