home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / UNIX / ARCHIE / CLIENTS / NEXTARCH / CALENDAR.H < prev    next >
Encoding:
Text File  |  1992-01-19  |  742 b   |  31 lines

  1. // CalendarView.h
  2. // By Jayson Adams, NeXT Developer Support Team
  3. // You may freely copy, distribute and reuse the code in this example.
  4. // NeXT disclaims any warranty of any kind, expressed or implied, as to its
  5. // fitness for any particular use.
  6. /* Modified by Scott Stark, Fri Jan 17 1992 */
  7.  
  8. #import <appkit/View.h>
  9.  
  10. @interface CalendarView : View
  11. {
  12.     /* NXImages for displaying the calendar */
  13.     id    calendarImage;
  14.     id    numbers[10];
  15.     id    smallNumbers[10];
  16.     id    days[7];
  17.     id    months[12];
  18.     /* My Date object */
  19.     id    dateObj;
  20. }
  21.  
  22. /* instance methods */
  23. - initFrame : (NXRect *) frameRect;
  24. - drawSelf : (NXRect *) rects : (int)count;
  25.  
  26. /* Setting the date */
  27. - setDate : (short) d : (short) m : (short) y;
  28. - today;
  29.  
  30. @end
  31.