home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Examples / AppKit / ToDo / CalendarMatrix.h < prev    next >
Text File  |  1996-03-26  |  721b  |  31 lines

  1. /* CalendarMatrix.h created by tjdono on Mon 30-Oct-1995 */
  2.  
  3. #import <AppKit/AppKit.h>
  4. #import <Foundation/Foundation.h>
  5.  
  6. @interface CalendarMatrix : NSMatrix
  7. {
  8.     id    monthName;
  9.     id  leftButton;
  10.     id  rightButton;
  11.     
  12.     NSCalendarDate *selectedDay;
  13.     short startOffset;
  14. }
  15.  
  16. - (void)choseDay:sender;
  17. - (void)monthChanged:sender;
  18. - (void)refreshCalendar;
  19.  
  20. - (id)initWithFrame:(NSRect)frameRect;
  21. - (void)dealloc;
  22.  
  23. - (void)setSelectedDay:(NSCalendarDate *)newDay;
  24. - (NSCalendarDate *)selectedDay;
  25. @end
  26.  
  27. @interface NSObject(CalendarMatrixDelegate)
  28.  - (void)calendarMatrix:(CalendarMatrix *)obj didChangeToDate:(NSDate *)date;
  29.  - (void)calendarMatrix:(CalendarMatrix *)obj didChangeToMonth:(int)mo year:(int)yr;
  30. @end
  31.