00001 00002 00003 #ifndef _DATE_TIME_CTRLS_ 00004 #define _DATE_TIME_CTRLS_ 00005 00006 class GTimeDrop; 00007 class GDateDrop; 00008 00014 class GTimePopup : 00015 public GDropDown, 00016 public ResObject 00017 { 00018 friend class GTimeDrop; 00019 GTimeDrop *Drop; 00020 GViewI *DateSrc; 00021 00022 public: 00023 GTimePopup(); 00024 00026 void SetDateSrc(GViewI *ds) { DateSrc = ds; } 00027 00028 void SetDate(char *d); 00029 void OnMouseClick(GMouse &m); 00030 }; 00031 00037 class GDatePopup : 00038 public GDropDown, 00039 public ResObject 00040 { 00041 friend class GDateDrop; 00042 GDateDrop *Drop; 00043 GViewI *DateSrc; 00044 00045 public: 00046 GDatePopup(); 00047 00051 void SetDateSrc(GViewI *ds) { DateSrc = ds; } 00052 00053 void SetDate(char *d); 00054 void OnMouseClick(GMouse &m); 00055 }; 00056 00057 #endif