Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

YearView.h

00001 
00002 
00003 #ifndef __YEAR_VIEW_H
00004 #define __YEAR_VIEW_H
00005 
00006 #include "GDateTime.h"
00007 
00009 class YearView
00010 {
00011     int Year;
00012     int Start[12], Len[12];
00013     int Cx, Cy;
00014     int Sx, Sy;
00015 
00016     int Update();
00017 
00018 public:
00019     YearView(GDateTime *dt = 0);
00020 
00021     // Set
00022     void Set(GDateTime *dt);
00023     GDateTime &Get();
00024     void SetCursor(int x, int y);
00025     void SelectCell(int x, int y);
00026     
00027     // Get
00028     char *Title();
00029     char *Day(bool FromCursor = false);
00030     char *Date(bool FromCursor = false);
00031     int X();
00032     int Y();
00033     bool IsMonth();
00034     bool IsToday();
00035     bool IsSelected();
00036 };
00037 
00038 #endif

Generated on Wed Oct 26 14:46:52 2005 for Lgi by  doxygen 1.4.1