Lines Matching refs:mainwindow

13 void apptogui_add_choices(FD_mainwindow *mainwindow);
14 void apptogui_hide_shortcut_buttons(FD_mainwindow *mainwindow);
35 mainwindow = create_form_mainwindow(); in apptogui_show_main_window()
37 apptogui_add_choices(mainwindow); in apptogui_show_main_window()
38 apptogui_hide_shortcut_buttons(mainwindow); in apptogui_show_main_window()
43 fl_deactivate_object(mainwindow->try_button[i]); in apptogui_show_main_window()
44 fl_set_object_boxtype(mainwindow->try_button[i], FL_UP_BOX); in apptogui_show_main_window()
45 fl_redraw_object(mainwindow->try_button[i]); in apptogui_show_main_window()
47 fl_activate_object(mainwindow->try_button[0]); in apptogui_show_main_window()
49 fl_show_form(mainwindow->mainwindow, in apptogui_show_main_window()
70 fl_set_object_label(mainwindow->correct_solution[i], label); in apptogui_show_correct_solution()
71 fl_redraw_object(mainwindow->correct_solution[i]); in apptogui_show_correct_solution()
73 fl_deactivate_object(mainwindow->get_solution_button); in apptogui_show_correct_solution()
79 apptogui_add_choices(FD_mainwindow *mainwindow) in apptogui_add_choices() argument
89 fl_set_choice_fontsize(mainwindow->game_area_choice[i], FL_HUGE_SIZE); in apptogui_add_choices()
90 fl_set_choice_fontstyle(mainwindow->game_area_choice[i], FL_BOLD_STYLE); in apptogui_add_choices()
94 fl_addto_choice(mainwindow->game_area_choice[i], text); in apptogui_add_choices()
100 apptogui_hide_shortcut_buttons(FD_mainwindow *mainwindow) in apptogui_hide_shortcut_buttons() argument
106 mainwindow->shortcut[i]->type = FL_HIDDEN_BUTTON; in apptogui_hide_shortcut_buttons()
117 fl_set_object_label(mainwindow->total_combinations, total_str); in apptogui_current_state()
118 fl_redraw_object(mainwindow->total_combinations); in apptogui_current_state()
124 fl_set_object_label(mainwindow->left_combinations, left_str); in apptogui_current_state()
125 fl_redraw_object(mainwindow->left_combinations); in apptogui_current_state()
131 fl_set_object_label(mainwindow->eliminated_combinations, eliminated_str); in apptogui_current_state()
132 fl_redraw_object(mainwindow->eliminated_combinations); in apptogui_current_state()
143 strncpy(choice, fl_get_choice_text(mainwindow->game_area_choice[number in apptogui_get_entered_try()
151 fl_deactivate_object(mainwindow->game_area_choice[number in apptogui_get_entered_try()
159 fl_set_object_boxtype(mainwindow->try_button[number], FL_FRAME_BOX); in apptogui_flat_try_button()
160 fl_deactivate_object(mainwindow->try_button[number]); in apptogui_flat_try_button()
162 fl_activate_object(mainwindow->try_button[number + 1]); in apptogui_flat_try_button()
163 fl_redraw_object(mainwindow->try_button[number]); in apptogui_flat_try_button()
175 fl_set_object_color(mainwindow->answer[line * WIDTH + i], in apptogui_show_answer()
177 fl_redraw_object(mainwindow->answer[line * WIDTH + i]); in apptogui_show_answer()
180 fl_set_object_color(mainwindow->answer[line * WIDTH + i], in apptogui_show_answer()
182 fl_redraw_object(mainwindow->answer[line * WIDTH + i]); in apptogui_show_answer()
185 fl_set_object_boxtype(mainwindow->answer[line * WIDTH + i], in apptogui_show_answer()
187 fl_set_object_color(mainwindow->answer[line * WIDTH + i], in apptogui_show_answer()
189 fl_redraw_object(mainwindow->answer[line * WIDTH + i]); in apptogui_show_answer()
203 fl_activate_object(mainwindow->game_area_choice[i]); in apptogui_reset_all()
204 strncpy(choice, fl_get_choice_text(mainwindow->game_area_choice[i]), 2); in apptogui_reset_all()
207 fl_set_choice_text(mainwindow->game_area_choice[i], "A"); in apptogui_reset_all()
208 fl_redraw_object(mainwindow->game_area_choice[i]); in apptogui_reset_all()
210 fl_set_object_boxtype(mainwindow->answer[i], FL_BORDER_BOX); in apptogui_reset_all()
211 fl_set_object_color(mainwindow->answer[i], FL_COL1, FL_COL1); in apptogui_reset_all()
212 fl_redraw_object(mainwindow->answer[i]); in apptogui_reset_all()
220 fl_deactivate_object(mainwindow->try_button[i]); in apptogui_reset_all()
221 fl_set_object_boxtype(mainwindow->try_button[i], FL_UP_BOX); in apptogui_reset_all()
222 fl_redraw_object(mainwindow->try_button[i]); in apptogui_reset_all()
224 fl_activate_object(mainwindow->try_button[0]); in apptogui_reset_all()
228 fl_set_object_label(mainwindow->correct_solution[i], label); in apptogui_reset_all()
230 fl_activate_object(mainwindow->get_solution_button); in apptogui_reset_all()
237 fl_set_choice(mainwindow->game_area_choice[position], ch+1); in apptogui_change_choice_item()