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 >
C/C++ Source or Header  |  1998-01-18  |  1KB  |  38 lines

  1. #ifndef __OOL_XCALENDAR_H__
  2. #define __OOL_XCALENDAR_H__
  3.  
  4. /*===========================================================================*/
  5. /* OOL ------------------- the Open Object Library ------------------- r 1.0 */
  6. /*===========================================================================*/
  7. /*                              class: XCalendarControl                      */
  8. /*                       derived from: XUserWindow                           */
  9. /*                        last update: 7/97                                  */
  10. /*                      programmed by: Stefan von Brauk (sbrauk@gwdg.de)     */
  11. /*===========================================================================*/
  12.  
  13. #include "xdate.h"
  14. #include "XfrmWnd.h"
  15. #include "xuserwnd.h"
  16. #include "xtext.h"
  17.  
  18. class XGraphicDevice;
  19.  
  20.  
  21. class _export_ XCalendarControl: public XUserWindow
  22. {
  23.    friend class CalendarHandler;
  24.    private:
  25.       XGraphicDevice * dev;
  26.       XText ** dayList;
  27.       UCHAR count;
  28.       XDate date;
  29.    public:
  30.       XCalendarControl( const XWindow *, const XPoint& = XPoint(), const USHORT id = 0, const XDate& date=XDate());
  31.       ~XCalendarControl();
  32.       virtual void Draw( void );
  33.       virtual void DaySelected( const UCHAR selectedDay ) {;}
  34.       XText * GetDayObject(const UCHAR day) const;
  35. };
  36.  
  37. #endif
  38.