home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Utilities / Fiend-1.4.1-src / ShelfView.h < prev    next >
Encoding:
Text File  |  1995-02-10  |  1.7 KB  |  68 lines

  1. #import <appkit/appkit.h>
  2.  
  3. @interface ShelfView : View 
  4. {
  5.     id        dragSourceView;
  6.     id        droppedView;
  7.     id        draggedView;
  8.     id        fiendSound;
  9.     id        destroySound;
  10.     int        gridValue;
  11.     char    imageFileName[MAXPATHLEN-1];
  12.     NXSize    origImageSize;
  13.     NXPoint    defaultLoc;
  14.     NXColor    bgColor;
  15.     NXImage    *theImage;
  16.     BOOL    useBGColor;
  17.     BOOL    tileImage;
  18.     BOOL    gridChanged;
  19.     BOOL    keepDraggedIcons;
  20. }
  21.  
  22. - (void)createViewForPath:(const char *)path withImage:(NXImage *)image at:(NXPoint *)point;
  23. - mouseDown:(NXEvent *)e;
  24. - deleteView:aView;
  25. - deselectAll:sender;
  26. - (char *)getImageFileName;
  27. - setImageFileName:(const char *)theName;
  28. - deleteSelectedCells;
  29. - (NXDragOperation)draggingUpdated:(id <NXDraggingInfo>)sender;
  30. - (NXDragOperation)draggingEntered:(id <NXDraggingInfo>)sender;
  31. - draggingExited:(id <NXDraggingInfo>)sender;
  32. - (BOOL)prepareForDragOperation:sender;
  33. - (BOOL)performDragOperation:sender;
  34. - concludeDragOperation:(id <NXDraggingInfo>)sender;
  35. - draggedImage:(NXImage *)image beganAt:(NXPoint *)screenPoint;
  36. - draggedImage:(NXImage *)image endedAt:(NXPoint *)screenPoint
  37.      deposited:(BOOL)didDeposit;
  38. - (NXDragOperation) draggingSourceOperationMaskForLocal:(BOOL)flag;
  39. - (void)alignSubviews;
  40. - setDragView:aView onEvent:(NXEvent *) e
  41.          withOffset:(NXPoint *) offset
  42.          atLocation:(const NXPoint *) location;
  43.  
  44. - setKeepDraggedIcons:(BOOL)flag;
  45. - (NXColor) backgroundColor;
  46.  
  47. - (int) gridValue;
  48. - setGridValue:(int) gridValue;
  49.  
  50. - (void) setGridEnabled:(BOOL) flag;
  51. - (BOOL) gridEnabled;
  52.  
  53. - setTileImage:(BOOL)flag;
  54. - (BOOL)tileImage;
  55.  
  56. - (int)hasSelectedCells;
  57. - (const char *)selectedCellPath;
  58. - copy:sender toPasteboard:pb andCut:(BOOL)flag;
  59. - paste:sender toPasteboard:pb;
  60. - selectViewsInRect:(NXRect *)theRect deselect:(BOOL)flag;
  61.  
  62. - readShelf:(BOOL)showProgress;
  63. - writeShelf;
  64.  
  65. @end
  66.  
  67.  
  68.