home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / MiscKit1.2.6 / Palettes / MiscCalendarPalette / MiscCalendarView.subproj / MiscCalendarMatrix.h < prev    next >
Encoding:
Text File  |  1994-05-10  |  1.7 KB  |  60 lines

  1. /******************************************************************************
  2.  *      $Log$
  3.  ******************************************************************************/
  4.  
  5. #import <appkit/Matrix.h>
  6.  
  7. @class SimpleDate;
  8.  
  9. @interface MiscCalendarMatrix : Matrix 
  10. {
  11.     SimpleDate    *simpleDate;
  12.     id         dateDelegate;
  13.     NXColor    cellTextColor,
  14.         cellHighlightTextColor,
  15.         cellHighlightColor,
  16.         cellBackgroundColor;
  17.     BOOL    overwriteCellColors;
  18. }
  19.  
  20. - initFrame:(const NXRect *)frameRect;
  21. - initFrame:(const NXRect *)frameRect mode:(int)aMode cellClass:cellId
  22.   numRows:(int)numRows numCols:(int)numCols;
  23. - initFrame:(const NXRect *)frameRect mode:(int)aMode prototype:aCell
  24.   numRows:(int)numRows numCols:(int)numCols;
  25.  
  26. - free;
  27.  
  28. - setDateDelegate:aDateObject;
  29. - dateDelegate;
  30.  
  31. - overwriteCellColors:(BOOL)yn;
  32. - (BOOL)cellColorsOverwritten;
  33.  
  34. - setCellBackgroundColor:(NXColor)aColor;
  35. - (NXColor)cellBackgroundColor;
  36. - setBackgroundColor:(NXColor)aColor forCellAt:(int)xPos :(int)yPos;
  37. - (NXColor)backgroundColorForCellAt:(int)xPos :(int)yPos;
  38.  
  39. - setCellHighlightColor:(NXColor)aColor;
  40. - (NXColor)cellHighlightColor;
  41. - setHighlightColor:(NXColor)aColor forCellAt:(int)xPos :(int)yPos;
  42. - (NXColor)highlightColorForCellAt:(int)xPos :(int)yPos;
  43.  
  44. - setCellTextColor:(NXColor)aColor;
  45. - (NXColor)cellTextColor;
  46. - setTextColor:(NXColor)aColor forCellAt:(int)xPos :(int)yPos;
  47. - (NXColor)textColorForCellAt:(int)xPos :(int)yPos;
  48.  
  49. - setCellHighlightTextColor:(NXColor)aColor;
  50. - (NXColor)cellHighlightTextColor;
  51. - setHighlightTextColor:(NXColor)aColor forCellAt:(int)xPos :(int)yPos;
  52. - (NXColor)highlightTextColorForCellAt:(int)xPos :(int)yPos;
  53.  
  54. - displayDate:sender;
  55.  
  56. - read:(NXTypedStream *)aStream;
  57. - write:(NXTypedStream *)aStream;
  58.  
  59. @end
  60.