home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / Apps / Utilities / Unix / aa_m68k_Intel_Only / UNIX-HatersTool.0.1 / MiscSwapKitPalette.BETA / MiscSwapKitPalette.h < prev    next >
Encoding:
Text File  |  1994-09-25  |  547 b   |  28 lines

  1.  
  2. #import <appkit/appkit.h>
  3. #import <apps/InterfaceBuilder.h>
  4. #import "MiscSwapKit.subproj/MiscSwapView.h"
  5.  
  6.  
  7. @interface MiscSwapKitPalette:IBPalette
  8. {
  9.     id    realSwapObject;
  10.     id    swapImageView;
  11. }
  12.  
  13. - finishInstantiate;
  14.  
  15. @end
  16.  
  17.  
  18. // This only works because the default drawSelf in the MiscSwapView class
  19. // doesn't do much anyways. Since it doesn't draw anything, you cannot 
  20. // see the object in the palette window or anywhere in IB. This fixes that.
  21.  
  22. @interface MiscSwapView (IBDisplaying)
  23.  
  24. - drawSelf:(const NXRect *)rects :(int)rectCount;
  25.  
  26. @end
  27.  
  28.