21 #ifndef FXCALENDARVIEW_H    22 #define FXCALENDARVIEW_H    33   CALENDAR_BROWSESELECT = 0x00000000,   
    34   CALENDAR_SINGLESELECT = 0x00100000,   
    35   CALENDAR_WEEKNUMBERS  = 0x00200000,   
    36   CALENDAR_STATIC       = 0x00400000,   
    37   CALENDAR_HIDEOTHER    = 0x00800000,   
    60   FXColor  titleBackColor;      
    62   FXColor  otherDayColor;       
    64   FXColor  otherWeekendColor;   
    71   void updateview(FXbool notify=
true);
    76   long onPaint(
FXObject*,FXSelector,
void*);
    77   long onLeftBtnPress(
FXObject*,FXSelector,
void*);
    78   long onLeftBtnRelease(
FXObject*,FXSelector,
void*);
    79   long onKeyPress(
FXObject*,FXSelector,
void*);
    80   long onKeyRelease(
FXObject*,FXSelector,
void*);
    81   long onFocusIn(
FXObject*,FXSelector,
void*);
    82   long onFocusOut(
FXObject*,FXSelector,
void*);
    83   long onClicked(
FXObject*,FXSelector,
void*);
    84   long onDoubleClicked(
FXObject*,FXSelector,
void*);
    85   long onTripleClicked(
FXObject*,FXSelector,
void*);
    86   long onCommand(
FXObject*,FXSelector,
void*);
    87   long onCmdSetValue(
FXObject*,FXSelector,
void*);
    88   long onCmdSetIntValue(
FXObject*,FXSelector,
void*);
    89   long onCmdGetIntValue(
FXObject*,FXSelector,
void*);
    96   virtual void create();
    99   virtual void detach();
   102   virtual FXbool canFocus() 
const;
   105   virtual void setFocus();
   108   virtual void killFocus();
   111   virtual void enable();
   114   virtual void disable();
   117   virtual FXint getDefaultWidth();
   120   virtual FXint getDefaultHeight();
   123   FXbool getDateAt(FXint x,FXint y,
FXDate& date) 
const;
   126   void setCurrentDate(
FXDate date,FXbool notify=
false);
   132   void setCurrentMonth(FXint month,FXbool notify=
false);
   141   void selectDate(
FXDate date,FXbool notify=
false);
   144   void killSelection(FXbool notify=
false);
   147   FXbool getSelectedDate(
FXDate& date) 
const;
   150   void setFirstDay(FXint d);
   156   void setCalendarStyle(FXuint);
   159   FXuint getCalendarStyle() 
const;
   162   void setTitleColor(FXColor c);
   168   void setTitleBackColor(FXColor c);
   174   void setDayColor(FXColor c);
   180   void setOtherDayColor(FXColor c);
   186   void setTodayColor(FXColor c);
   192   void setWeekendColor(FXColor c);
   198   void setOtherWeekendColor(FXColor c);
   204   void setFont(
FXFont *fnt);
 FXint getFirstDay() const
Get the first day of the week [0...6]. 
Definition: FXCalendarView.h:153
 
Window is the base class for all widgets in FOX. 
Definition: FXWindow.h:130
 
FXColor getTodayColor() const
Get the display color of today. 
Definition: FXCalendarView.h:189
 
FXColor getTitleColor() const
Get the display color of titles. 
Definition: FXCalendarView.h:165
 
FXColor getDayColor() const
Get the display color of non-weekend days. 
Definition: FXCalendarView.h:177
 
FXColor getWeekendColor() const
Get the display color of days in the weekend. 
Definition: FXCalendarView.h:195
 
FXColor getTitleBackColor() const
Get the display background color of titles. 
Definition: FXCalendarView.h:171
 
Base composite. 
Definition: FXComposite.h:32
 
FXColor getOtherWeekendColor() const
Get the display color of days in the weekend not in the current month. 
Definition: FXCalendarView.h:201
 
Gregorian date class, which is useful for calendrical calculations. 
Definition: FXDate.h:31
 
Definition: FX4Splitter.h:28
 
FXint getCurrentMonth() const
Return the current month shown. 
Definition: FXCalendarView.h:138
 
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138
 
FXColor getOtherDayColor() const
Get the display color of non-weekend days not in the current month. 
Definition: FXCalendarView.h:183
 
FXDate getCurrentDate() const
Get the current date. 
Definition: FXCalendarView.h:129
 
FXFont * getFont() const
Get the text font. 
Definition: FXCalendarView.h:207
 
Font class. 
Definition: FXFont.h:137
 
The Basic Calendar Widget. 
Definition: FXCalendarView.h:48