reporting the problem)
code cleanup in goto_day() and update_cal_panel()
static variables today and slctd_day added
calendar_store_current_date(), calendar_get_slctd_day(),
calendar_get_slctd_day_sec(), calendar_init_slctd_day() created
calendar_move_up(), calendar_move_down(), calendar_move_left() and
calendar_move_right() created
calendar_set_first_day_of_week(), calendar_change_first_day_of_week() and
calendar_week_begins_on_monday() created
CALHEIGHT and CALWIDTH defined
goto_day() prototype updated to take into account date_t type
calendar_store_current_date() created
calendar_goto_day() moved to calendar_change_day()
calendar_get_slctd_day() and calendar_get_slctd_day_sec() added
calendar_init_slctd_day() created
calendar_move_up(), calendar_move_down(), calendar_move_left() and
calendar_move_right() created
wday_t and date_t type defined
calendar_set_first_day_of_week(), calendar_change_first_day_of_week() and
calendar_week_begins_on_monday() created
code cleanup in get_date() to get rid of global variables
several changes due to the use of date_t type (today and slctd_day moved to
static variables in calendar.c)
get_date() recoded and moved to calendar_set_current_date()