#include <timeentry.h>
Inheritance diagram for TimeEntry:

Public Member Functions | |
| TimeEntry (BC_WindowBase *gui, int x, int y, int *output_day, double *output_time, int time_format) | |
| ~TimeEntry () | |
| void | create_objects () |
| void | time_to_hours (char *result, double time) |
| void | time_to_minutes (char *result, double time) |
| void | time_to_seconds (char *result, double time) |
| virtual int | handle_event () |
| void | update (int *day, double *time) |
| void | reposition_window (int x, int y) |
| int | get_h () |
| int | get_w () |
Static Public Member Functions | |
| static int | day_to_int (char *day) |
Public Attributes | |
| BC_WindowBase * | gui |
| int | x |
| int | y |
| DayText * | day_text |
| DayTumbler * | day_tumbler |
| TimeTextBox * | time_text |
| double * | output |
| int * | output_day |
| double * | output_time |
| int | time_format |
Static Public Attributes | |
| static char * | day_table [TOTAL_DAYS] |
Definition at line 17 of file timeentry.h.
|
||||||||||||||||||||||||||||
|
Definition at line 4 of file timeentry.C. |
|
|
Definition at line 19 of file timeentry.C. References day_text, day_tumbler, output_day, and time_text. |
|
|
Definition at line 65 of file timeentry.C. References day_table, day_text, day_tumbler, DEFAULT_TIMEW, gui, output_day, output_time, time_format, time_text, TOTAL_DAYS, x, and y. Referenced by RecordGUI::create_objects(). |
|
|
Definition at line 34 of file timeentry.C. References day_table, and TOTAL_DAYS. Referenced by DayText::handle_event(). |
|
|
Definition at line 103 of file timeentry.C. References time_text. Referenced by TipWindowGUI::create_objects(). |
|
|
Definition at line 108 of file timeentry.C. References day_text, day_tumbler, and time_text. Referenced by TipWindowGUI::create_objects(), and RecordGUI::create_objects(). |
|
|
Reimplemented in RecordStart, and RecordDuration. Definition at line 155 of file timeentry.C. Referenced by DayTumbler::handle_down_event(), TimeTextBox::handle_event(), DayText::handle_event(), and DayTumbler::handle_up_event(). |
|
||||||||||||
|
Definition at line 117 of file timeentry.C. References day_text, day_tumbler, DEFAULT_TIMEW, output_day, and time_text. |
|
||||||||||||
|
Definition at line 42 of file timeentry.C. |
|
||||||||||||
|
Definition at line 48 of file timeentry.C. |
|
||||||||||||
|
Definition at line 55 of file timeentry.C. |
|
||||||||||||
|
Definition at line 138 of file timeentry.C. References day_table, day_text, output_day, output_time, time_format, and time_text. Referenced by RecordGUI::update_batch_tools(). |
|
|
Initial value:
{
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "*"
}
Definition at line 45 of file timeentry.h. Referenced by create_objects(), day_to_int(), update(), and RecordGUI::update_batches(). |
|
|
Definition at line 41 of file timeentry.h. Referenced by create_objects(), get_w(), reposition_window(), update(), and ~TimeEntry(). |
|
|
Definition at line 42 of file timeentry.h. Referenced by create_objects(), get_w(), reposition_window(), and ~TimeEntry(). |
|
|
Definition at line 39 of file timeentry.h. Referenced by create_objects(). |
|
|
Definition at line 44 of file timeentry.h. |
|
|
Definition at line 46 of file timeentry.h. Referenced by create_objects(), DayTumbler::handle_down_event(), DayText::handle_event(), DayTumbler::handle_up_event(), reposition_window(), update(), and ~TimeEntry(). |
|
|
Definition at line 47 of file timeentry.h. Referenced by create_objects(), TimeTextBox::handle_event(), and update(). |
|
|
Definition at line 48 of file timeentry.h. Referenced by create_objects(), TimeTextBox::handle_event(), and update(). |
|
|
Definition at line 43 of file timeentry.h. Referenced by create_objects(), get_h(), get_w(), reposition_window(), update(), and ~TimeEntry(). |
|
|
Definition at line 40 of file timeentry.h. Referenced by TipWindowGUI::create_objects(), create_objects(), and TipWindow::new_gui(). |
|
|
Definition at line 40 of file timeentry.h. Referenced by TipWindowGUI::create_objects(), create_objects(), and TipWindow::new_gui(). |
1.4.4