#include <Obutton.h>
List of all members.
Definition at line 131 of file Obutton.h.
Definition at line 535 of file Obutton.cpp.
References button_array, button_num, and button_pressed.
Definition at line 545 of file Obutton.cpp.
References NULL.
Definition at line 558 of file Obutton.cpp.
References button_array, button_num, and Button::deinit().
Referenced by Department::course_report_deinit(), Finance::report_deinit(), PlayerSchool::score_report_deinit(), FacultyRes::summary_report_deinit(), and PlayerSchool::summary_student_report_deinit().
Detect all buttons in this button nation. Since only one button can be pressed at one time, so if any one of them is pressed, the previously pressed one will be pop up.
Return : <int> -1 - if no button pressed >=0 - the record no. of the button pressed
Definition at line 597 of file Obutton.cpp.
Referenced by BlackBoard::black_log_detect(), Department::course_report_detect(), Crime::crime_detect(), HelpIf::help_desc_detect(), HelpIf::help_topic_detect(), Finance::report_detect(), FacultyRes::report_detect(), and PlayerSchool::score_report_detect().
[inline]
Definition at line 147 of file Obutton.h.
References button_pressed.
<int> buttonId = Id. of the button, start from 0
Definition at line 638 of file Obutton.cpp.
Paint all buttons in this button nation.
[int] buttonPressed = the default pressed button (default no change to button_pressed)
Definition at line 574 of file Obutton.cpp.
Referenced by BlackBoard::black_log_report(), Department::course_report_2(), Department::course_report_4(), Finance::report_paint_button(), PlayerSchool::score_report(), FacultyRes::summary_report_1(), FacultyRes::summary_report_2(), FacultyRes::summary_report_3(), FacultyRes::summary_report_4(), FacultyRes::summary_report_6(), FacultyRes::summary_report_7(), FacultyRes::summary_report_8(), PlayerSchool::summary_student_report_1(), PlayerSchool::summary_student_report_2(), PlayerSchool::summary_student_report_3(), PlayerSchool::summary_student_report_4(), PlayerSchool::summary_student_report_5(), and PlayerSchool::summary_student_report_6().
Push the specified button.
<int> buttonId = Id. of the button.
Definition at line 619 of file Obutton.cpp.
Definition at line 135 of file Obutton.h.
Referenced by ButtonGroup(), and deinit_buttons().
Definition at line 133 of file Obutton.h.
Definition at line 134 of file Obutton.h.
Referenced by ButtonGroup(), operator()(), Finance::report_detect(), FacultyRes::report_detect(), Optimization::report_stage_1(), and Optimization::report_stage_2().