home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ool_main.zip
/
ool
/
include
/
xcal.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-01-18
|
1KB
|
38 lines
#ifndef __OOL_XCALENDAR_H__
#define __OOL_XCALENDAR_H__
/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------------------- r 1.0 */
/*===========================================================================*/
/* class: XCalendarControl */
/* derived from: XUserWindow */
/* last update: 7/97 */
/* programmed by: Stefan von Brauk (sbrauk@gwdg.de) */
/*===========================================================================*/
#include "xdate.h"
#include "XfrmWnd.h"
#include "xuserwnd.h"
#include "xtext.h"
class XGraphicDevice;
class _export_ XCalendarControl: public XUserWindow
{
friend class CalendarHandler;
private:
XGraphicDevice * dev;
XText ** dayList;
UCHAR count;
XDate date;
public:
XCalendarControl( const XWindow *, const XPoint& = XPoint(), const USHORT id = 0, const XDate& date=XDate());
~XCalendarControl();
virtual void Draw( void );
virtual void DaySelected( const UCHAR selectedDay ) {;}
XText * GetDayObject(const UCHAR day) const;
};
#endif