CalendarControl Class Reference
List of all members.
|
Public Member Functions |
| | CalendarControl (BPoint p, const char *name, int day=0, int month=0, int year=0, uint32 flags=CC_DD_MM_YYYY_FORMAT|CC_FULL_YEAR, uint32 look=CC_DOT_DIVIDER|CC_AUTO_INTERFACE) |
| | ~CalendarControl () |
| virtual void | AttachedToWindow (void) |
| virtual void | Draw (BRect r) |
| virtual void | KeyDown (const char *bytes, int32 numBytes) |
| virtual void | MakeFocus (bool focused=true) |
| virtual void | MessageReceived (BMessage *msg) |
| virtual void | SetEnabled (bool enabled) |
| virtual void | SetViewColor (rgb_color color) |
| void | SetViewColor (uchar red, uchar green, uchar blue, uchar alpha=255) |
| virtual void | WindowActivated (bool active) |
| void | GetDate (int *day, int *month, int *year) |
| void | SetDate (int day=0, int month=0, int year=0) |
| void | SetDate (const char *tdate) |
| void | GetYearRange (int *first_year, int *last_year) |
| uint32 | GetLook () |
| void | SetLook (uint32 look) |
| uint32 | GetFlags () |
| void | SetFlags (uint32 flags) |
| const char * | Text () const |
| BTextView * | TextView (void) const |
| const char * | Version () |
Constructor & Destructor Documentation
| CalendarControl::CalendarControl |
( |
BPoint |
p, |
|
|
const char * |
name, |
|
|
int |
day = 0, |
|
|
int |
month = 0, |
|
|
int |
year = 0, |
|
|
uint32 |
flags = CC_DD_MM_YYYY_FORMAT | CC_FULL_YEAR, |
|
|
uint32 |
look = CC_DOT_DIVIDER | CC_AUTO_INTERFACE | |
|
) |
| | |
| CalendarControl::~CalendarControl |
( |
|
) |
|
Member Function Documentation
| void CalendarControl::AttachedToWindow |
( |
void |
|
) |
[virtual] |
| void CalendarControl::Draw |
( |
BRect |
r |
) |
[virtual] |
| void CalendarControl::GetDate |
( |
int * |
day, |
|
|
int * |
month, |
|
|
int * |
year | |
|
) |
| | |
| uint32 CalendarControl::GetFlags |
( |
|
) |
|
| uint32 CalendarControl::GetLook |
( |
|
) |
|
| void CalendarControl::GetYearRange |
( |
int * |
first_year, |
|
|
int * |
last_year | |
|
) |
| | |
| void CalendarControl::KeyDown |
( |
const char * |
bytes, |
|
|
int32 |
numBytes | |
|
) |
| | [virtual] |
| void CalendarControl::MakeFocus |
( |
bool |
focused = true |
) |
[virtual] |
| void CalendarControl::MessageReceived |
( |
BMessage * |
msg |
) |
[virtual] |
| void CalendarControl::SetDate |
( |
const char * |
tdate |
) |
|
| void CalendarControl::SetDate |
( |
int |
day = 0, |
|
|
int |
month = 0, |
|
|
int |
year = 0 | |
|
) |
| | |
| void CalendarControl::SetEnabled |
( |
bool |
enabled |
) |
[virtual] |
| void CalendarControl::SetFlags |
( |
uint32 |
flags |
) |
|
| void CalendarControl::SetLook |
( |
uint32 |
look |
) |
|
| void CalendarControl::SetViewColor |
( |
uchar |
red, |
|
|
uchar |
green, |
|
|
uchar |
blue, |
|
|
uchar |
alpha = 255 | |
|
) |
| | |
| void CalendarControl::SetViewColor |
( |
rgb_color |
color |
) |
[virtual] |
| const char * CalendarControl::Text |
( |
|
) |
const |
| BTextView * CalendarControl::TextView |
( |
void |
|
) |
const |
| const char * CalendarControl::Version |
( |
|
) |
|
| void CalendarControl::WindowActivated |
( |
bool |
active |
) |
[virtual] |
The documentation for this class was generated from the following files: