This is CalendarView.h in view mode; [Download] [Up]
// CalendarView.h
// By Jayson Adams, NeXT Developer Support Team
// You may freely copy, distribute and reuse the code in this example.
// NeXT disclaims any warranty of any kind, expressed or implied, as to its
// fitness for any particular use.
/* Modified by Scott Stark, Fri Jan 17 1992 */
#import <appkit/View.h>
@interface CalendarView : View
{
/* NXImages for displaying the calendar */
id calendarImage;
id numbers[10];
id smallNumbers[10];
id days[7];
id months[12];
/* My Date object */
id dateObj;
}
/* instance methods */
- initFrame:(NXRect *) frameRect;
- drawSelf:(NXRect *) rects : (int)count;
/* Setting the date */
- setDate:(long) julianDate;
- setDate:(short) d : (short) m : (short) y;
- today;
@end
/* RCS Information:
$Author: me $;
$Date: 93/02/23 02:00:10 $;
$Source: /usr1/me/NeXTSrc/MyClasses/RCS/CalendarView.h,v $;
$Revision: 1.1 $;
*/
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.