wxCalendarDateAttr is a custom attributes for a calendar date. The objects of this class are used with wxCalendarCtrl.
Derived from
No base class
Constants
Here are the possible kinds of borders which may be used to decorate a date:
enum wxCalendarDateBorder { wxCAL_BORDER_NONE, // no border (default) wxCAL_BORDER_SQUARE, // a rectangular border wxCAL_BORDER_ROUND // a round border }
See also
Include files
<wx/calctrl.h>
The constructors.
Sets the text (foreground) colour to use.
Sets the text background colour to use.
Sets the border colour to use.
Sets the font to use.
Sets the border kind
Display the date with this attribute as a holiday.
bool HasTextColour(void) const
Returns true if this item has a non default text foreground colour.
bool HasBackgroundColour(void) const
Returns true if this attribute specifies a non default text background colour.
bool HasBorderColour(void) const
Returns true if this attribute specifies a non default border colour.
Returns true if this attribute specifies a non default font.
Returns true if this attribute specifies a non default (i.e. any) border.
Returns true if this attribute specifies that this item should be displayed as a holiday.
const wxColour& GetTextColour(void) const
Returns the text colour to use for the item with this attribute.
const wxColour& GetBackgroundColour(void) const
Returns the background colour to use for the item with this attribute.
const wxColour& GetBorderColour(void) const
Returns the border colour to use for the item with this attribute.
const wxFont& GetFont(void) const
Returns the font to use for the item with this attribute.
wxCalendarDateBorder GetBorder(void) const
Returns the border to use for the item with this attribute.
ymasuda 平成17年11月19日