h 113 lib/mcconfig.h void mc_config_history_save (mc_config_t * cfg, const char *name, GList * h); h 191 lib/mcconfig/history.c mc_config_history_save (mc_config_t * cfg, const char *name, GList * h) h 197 lib/mcconfig/history.c if (name == NULL || *name == '\0' || h == NULL) h 201 lib/mcconfig/history.c h = g_list_last (h); h 204 lib/mcconfig/history.c for (i = 0; (i < num_history_items_recorded - 1) && (h->prev != NULL); i++) h 205 lib/mcconfig/history.c h = g_list_previous (h); h 217 lib/mcconfig/history.c for (i = 0; h != NULL; h = g_list_next (h)) h 220 lib/mcconfig/history.c char *text = (char *) h->data; h 146 lib/tty/color-internal.c int h[6]; h 150 lib/tty/color-internal.c h[i] = parse_hex_digit (color_name[i]); h 151 lib/tty/color-internal.c if (h[i] == -1) h 156 lib/tty/color-internal.c i = (h[0] << 20) | (h[0] << 16) | (h[1] << 12) | (h[1] << 8) | (h[2] << 4) | h[2]; h 158 lib/tty/color-internal.c i = (h[0] << 20) | (h[1] << 16) | (h[2] << 12) | (h[3] << 8) | (h[4] << 4) | h[5]; h 198 lib/vfs/vfs.c struct vfs_openfile *h; h 203 lib/vfs/vfs.c h = (struct vfs_openfile *) g_ptr_array_index (vfs_openfiles, handle - VFS_FIRST_HANDLE); h 204 lib/vfs/vfs.c if (h == NULL) h 207 lib/vfs/vfs.c g_assert (h->handle == handle); h 209 lib/vfs/vfs.c return h; h 237 lib/vfs/vfs.c struct vfs_openfile *h; h 239 lib/vfs/vfs.c h = (struct vfs_openfile *) g_ptr_array_index (vfs_openfiles, idx); h 240 lib/vfs/vfs.c g_free (h); h 253 lib/vfs/vfs.c struct vfs_openfile *h; h 255 lib/vfs/vfs.c h = vfs_get_openfile (handle); h 257 lib/vfs/vfs.c if (h == NULL) h 261 lib/vfs/vfs.c *fsinfo = h->fsinfo; h 263 lib/vfs/vfs.c return h->vclass; h 275 lib/vfs/vfs.c struct vfs_openfile *h; h 277 lib/vfs/vfs.c h = g_new (struct vfs_openfile, 1); h 278 lib/vfs/vfs.c h->fsinfo = fsinfo; h 279 lib/vfs/vfs.c h->vclass = vclass; h 282 lib/vfs/vfs.c h->handle = vfs_free_handle_list; h 283 lib/vfs/vfs.c if (h->handle == -1) h 286 lib/vfs/vfs.c h->handle = vfs_openfiles->len; h 287 lib/vfs/vfs.c g_ptr_array_add (vfs_openfiles, h); h 292 lib/vfs/vfs.c g_ptr_array_index (vfs_openfiles, h->handle) = h; h 295 lib/vfs/vfs.c h->handle += VFS_FIRST_HANDLE; h 296 lib/vfs/vfs.c return h->handle; h 66 lib/widget/button.c WDialog *h = DIALOG (g); h 101 lib/widget/button.c h->ret_value = b->action; h 103 lib/widget/button.c dlg_close (h); h 287 lib/widget/buttonbar.c buttonbar_find (const WDialog * h) h 289 lib/widget/buttonbar.c return BUTTONBAR (widget_find_by_type (CONST_WIDGET (h), buttonbar_callback)); h 42 lib/widget/buttonbar.h WButtonBar *buttonbar_find (const WDialog * h); h 141 lib/widget/dialog-switch.c dialog_switch_add (WDialog * h) h 145 lib/widget/dialog-switch.c dlg = g_list_find (mc_dialogs, h); h 151 lib/widget/dialog-switch.c mc_dialogs = g_list_prepend (mc_dialogs, h); h 162 lib/widget/dialog-switch.c dialog_switch_remove (WDialog * h) h 166 lib/widget/dialog-switch.c if (DIALOG (mc_current->data) == h) h 169 lib/widget/dialog-switch.c this = g_list_find (mc_dialogs, h); h 234 lib/widget/dialog-switch.c GList *h, *selected; h 245 lib/widget/dialog-switch.c for (h = mc_dialogs; h != NULL; h = g_list_next (h)) h 247 lib/widget/dialog-switch.c WDialog *dlg = DIALOG (h->data); h 255 lib/widget/dialog-switch.c listbox_add_item (listbox->list, LISTBOX_APPEND_BEFORE, get_hotkey (i++), title, h, FALSE); h 274 lib/widget/dialog-switch.c WDialog *h = DIALOG (mc_current->data); h 275 lib/widget/dialog-switch.c Widget *wh = WIDGET (h); h 279 lib/widget/dialog-switch.c ret = dlg_run (h); h 23 lib/widget/dialog-switch.h void dialog_switch_add (WDialog * h); h 24 lib/widget/dialog-switch.h void dialog_switch_remove (WDialog * h); h 89 lib/widget/dialog.c dlg_read_history (WDialog * h) h 102 lib/widget/dialog.c mc_event_raise (h->event_group, MCEVENT_HISTORY_LOAD, &event_data); h 126 lib/widget/dialog.c dlg_help (const WDialog * h) h 128 lib/widget/dialog.c ev_help_t event_data = { NULL, h->help_ctx }; h 136 lib/widget/dialog.c dlg_execute_cmd (WDialog * h, long command) h 138 lib/widget/dialog.c WGroup *g = GROUP (h); h 141 lib/widget/dialog.c if (send_message (h, NULL, MSG_ACTION, command, NULL) == MSG_HANDLED) h 147 lib/widget/dialog.c h->ret_value = B_ENTER; h 148 lib/widget/dialog.c dlg_close (h); h 151 lib/widget/dialog.c h->ret_value = B_CANCEL; h 152 lib/widget/dialog.c dlg_close (h); h 165 lib/widget/dialog.c dlg_help (h); h 177 lib/widget/dialog.c if (!widget_get_state (WIDGET (h), WST_MODAL)) h 183 lib/widget/dialog.c if (!widget_get_state (WIDGET (h), WST_MODAL)) h 189 lib/widget/dialog.c if (!widget_get_state (WIDGET (h), WST_MODAL)) h 205 lib/widget/dialog.c dlg_handle_key (WDialog * h, int d_key) h 209 lib/widget/dialog.c command = widget_lookup_key (WIDGET (h), d_key); h 213 lib/widget/dialog.c return dlg_execute_cmd (h, command); h 221 lib/widget/dialog.c dlg_key_event (WDialog * h, int d_key) h 223 lib/widget/dialog.c Widget *w = WIDGET (h); h 224 lib/widget/dialog.c WGroup *g = GROUP (h); h 249 lib/widget/dialog.c handled = send_message (h, NULL, MSG_KEY, d_key, NULL); h 255 lib/widget/dialog.c handled = dlg_handle_key (h, d_key); h 258 lib/widget/dialog.c send_message (h, NULL, MSG_POST_KEY, d_key, NULL); h 281 lib/widget/dialog.c frontend_dlg_run (WDialog * h) h 283 lib/widget/dialog.c Widget *wh = WIDGET (h); h 291 lib/widget/dialog.c send_message (h, NULL, MSG_VALIDATE, 0, NULL); h 319 lib/widget/dialog.c d_key = tty_get_event (&event, GROUP (h)->mouse_status == MOU_REPEAT, TRUE); h 321 lib/widget/dialog.c dlg_process_event (h, d_key, &event); h 324 lib/widget/dialog.c send_message (h, NULL, MSG_VALIDATE, 0, NULL); h 333 lib/widget/dialog.c WDialog *h = DIALOG (w); h 336 lib/widget/dialog.c dlg_save_history (h); h 339 lib/widget/dialog.c mc_event_group_del (h->event_group); h 340 lib/widget/dialog.c g_free (h->event_group); h 341 lib/widget/dialog.c g_free (h); h 477 lib/widget/dialog.c dlg_close (WDialog * h) h 479 lib/widget/dialog.c widget_set_state (WIDGET (h), WST_CLOSED, TRUE); h 486 lib/widget/dialog.c dlg_init (WDialog * h) h 488 lib/widget/dialog.c WGroup *g = GROUP (h); h 489 lib/widget/dialog.c Widget *wh = WIDGET (h); h 495 lib/widget/dialog.c top_dlg = g_list_prepend (top_dlg, h); h 501 lib/widget/dialog.c dialog_switch_add (h); h 503 lib/widget/dialog.c send_message (h, NULL, MSG_INIT, 0, NULL); h 505 lib/widget/dialog.c dlg_read_history (h); h 515 lib/widget/dialog.c h->ret_value = 0; h 521 lib/widget/dialog.c dlg_process_event (WDialog * h, int key, Gpm_Event * event) h 527 lib/widget/dialog.c dlg_execute_cmd (h, CK_Cancel); h 532 lib/widget/dialog.c Widget *w = WIDGET (h); h 534 lib/widget/dialog.c GROUP (h)->mouse_status = w->mouse_handler (w, event); h 539 lib/widget/dialog.c dlg_key_event (h, key); h 548 lib/widget/dialog.c dlg_run_done (WDialog * h) h 550 lib/widget/dialog.c top_dlg = g_list_remove (top_dlg, h); h 552 lib/widget/dialog.c if (widget_get_state (WIDGET (h), WST_CLOSED)) h 554 lib/widget/dialog.c send_message (h, GROUP (h)->current == NULL ? NULL : WIDGET (GROUP (h)->current->data), h 556 lib/widget/dialog.c if (!widget_get_state (WIDGET (h), WST_MODAL)) h 557 lib/widget/dialog.c dialog_switch_remove (h); h 570 lib/widget/dialog.c dlg_run (WDialog * h) h 572 lib/widget/dialog.c dlg_init (h); h 573 lib/widget/dialog.c frontend_dlg_run (h); h 574 lib/widget/dialog.c dlg_run_done (h); h 575 lib/widget/dialog.c return h->ret_value; h 584 lib/widget/dialog.c dlg_save_history (WDialog * h) h 606 lib/widget/dialog.c mc_event_raise (h->event_group, MCEVENT_HISTORY_SAVE, &event_data); h 618 lib/widget/dialog.c dlg_get_title (const WDialog * h, size_t len) h 622 lib/widget/dialog.c if (h == NULL) h 625 lib/widget/dialog.c if (h->get_title != NULL) h 626 lib/widget/dialog.c t = h->get_title (h, len); h 53 lib/widget/dialog.h typedef char *(*dlg_title_str) (const WDialog * h, size_t len); h 110 lib/widget/dialog.h void dlg_init (WDialog * h); h 113 lib/widget/dialog.h void dlg_run_done (WDialog * h); h 114 lib/widget/dialog.h void dlg_save_history (WDialog * h); h 115 lib/widget/dialog.h void dlg_process_event (WDialog * h, int key, Gpm_Event * event); h 117 lib/widget/dialog.h char *dlg_get_title (const WDialog * h, size_t len); h 123 lib/widget/dialog.h void dlg_close (WDialog * h); h 1007 lib/widget/input.c WDialog *h = DIALOG (w->owner); h 1014 lib/widget/input.c mc_event_add (h->event_group, MCEVENT_HISTORY_LOAD, input_load_history, w, NULL); h 1016 lib/widget/input.c mc_event_add (h->event_group, MCEVENT_HISTORY_SAVE, input_save_history, w, NULL); h 1065 lib/widget/input.c mc_event_del (h->event_group, MCEVENT_HISTORY_LOAD, input_load_history, w); h 1067 lib/widget/input.c mc_event_del (h->event_group, MCEVENT_HISTORY_SAVE, input_save_history, w); h 1035 lib/widget/input_complete.c WDialog *h = DIALOG (w); h 1045 lib/widget/input_complete.c h->ret_value = 0; h 1046 lib/widget/input_complete.c dlg_close (h); h 1054 lib/widget/input_complete.c h->ret_value = 0; h 1055 lib/widget/input_complete.c dlg_close (h); h 1062 lib/widget/input_complete.c h->ret_value = B_USER; h 1063 lib/widget/input_complete.c dlg_close (h); h 1101 lib/widget/input_complete.c h->ret_value = B_USER; h 1102 lib/widget/input_complete.c dlg_close (h); h 1193 lib/widget/input_complete.c h->ret_value = B_ENTER; h 1194 lib/widget/input_complete.c dlg_close (h); h 1236 lib/widget/input_complete.c int x, y, w, h; h 1254 lib/widget/input_complete.c h = 2 + count; h 1259 lib/widget/input_complete.c h = start_y; h 1264 lib/widget/input_complete.c h = LINES - start_y - 1; h 1279 lib/widget/input_complete.c dlg_create (TRUE, y, x, h, w, WPOS_KEEP_DEFAULT, TRUE, h 1281 lib/widget/input_complete.c complete_list = listbox_new (1, 1, h - 2, w - 2, FALSE, NULL); h 10 lib/widget/listbox-window.h #define LISTBOX_APPEND_TEXT(l,h,t,d,f) \ h 11 lib/widget/listbox-window.h listbox_add_item (l->list, LISTBOX_APPEND_AT_END, h, t, d, f) h 426 lib/widget/listbox.c WDialog *h = DIALOG (WIDGET (l)->owner); h 428 lib/widget/listbox.c h->ret_value = B_ENTER; h 429 lib/widget/listbox.c dlg_close (h); h 1062 lib/widget/menu.c menubar_find (const WDialog * h) h 1064 lib/widget/menu.c return MENUBAR (widget_find_by_type (CONST_WIDGET (h), menubar_callback)); h 57 lib/widget/menu.h WMenuBar *menubar_find (const WDialog * h); h 70 lib/widget/wtools.c WDialog *h = DIALOG (w); h 84 lib/widget/wtools.c if (top_dlg->data != (void *) h) h 15 src/diffviewer/internal.h #define error_dialog(h, s) query_dialog(h, s, D_ERROR, 1, _("&Dismiss")) h 1755 src/diffviewer/ydiff.c GArray *h = NULL; h 1765 src/diffviewer/ydiff.c h = g_array_new (FALSE, FALSE, sizeof (BRACKET)); h 1768 src/diffviewer/ydiff.c hdiff_scan (p->p, p->u.len, q->p, q->u.len, HDIFF_MINCTX, h, HDIFF_DEPTH); h 1771 src/diffviewer/ydiff.c g_array_free (h, TRUE); h 1772 src/diffviewer/ydiff.c h = NULL; h 1776 src/diffviewer/ydiff.c g_ptr_array_add (dview->hdiff, h); h 1796 src/diffviewer/ydiff.c GArray *h; h 1798 src/diffviewer/ydiff.c h = (GArray *) g_ptr_array_index (dview->hdiff, i); h 1799 src/diffviewer/ydiff.c if (h != NULL) h 1800 src/diffviewer/ydiff.c g_array_free (h, TRUE); h 2878 src/diffviewer/ydiff.c Widget *h; h 2888 src/diffviewer/ydiff.c h = WIDGET (WIDGET (dview)->owner); h 2889 src/diffviewer/ydiff.c h_modal = widget_get_state (h, WST_MODAL); h 2894 src/diffviewer/ydiff.c widget_set_state (h, WST_MODAL, TRUE); h 2904 src/diffviewer/ydiff.c widget_set_state (h, WST_MODAL, h_modal); h 3237 src/diffviewer/ydiff.c WDialog *h = DIALOG (w->owner); h 3255 src/diffviewer/ydiff.c dlg_close (h); h 3263 src/diffviewer/ydiff.c dlg_close (h); h 3316 src/diffviewer/ydiff.c WDialog *h = DIALOG (w); h 3328 src/diffviewer/ydiff.c dview = (WDiff *) widget_find_by_type (CONST_WIDGET (h), dview_callback); h 3332 src/diffviewer/ydiff.c dlg_close (h); h 3343 src/diffviewer/ydiff.c dview_get_title (const WDialog * h, size_t len) h 3351 src/diffviewer/ydiff.c dview = (const WDiff *) widget_find_by_type (CONST_WIDGET (h), dview_callback); h 76 src/editor/edit-impl.h #define edit_error_dialog(h,s) query_dialog (h, s, D_ERROR, 1, _("&Dismiss")) h 77 src/editor/edit-impl.h #define edit_query_dialog(h,s) query_dialog (h, s, D_NORMAL, 1, _("&Dismiss")) h 78 src/editor/edit-impl.h #define edit_query_dialog2(h,t,a,b) query_dialog (h, t, D_NORMAL, 2, a, b) h 79 src/editor/edit-impl.h #define edit_query_dialog3(h,t,a,b,c) query_dialog (h, t, D_NORMAL, 3, a, b, c) h 139 src/editor/edit-impl.h gboolean edit_add_window (WDialog * h, const WRect * r, const vfs_path_t * f, long fline); h 140 src/editor/edit-impl.h WEdit *edit_find_editor (const WDialog * h); h 142 src/editor/edit-impl.h gboolean edit_drop_hotkey_menu (WDialog * h, int key); h 143 src/editor/edit-impl.h void edit_menu_cmd (WDialog * h); h 186 src/editor/edit-impl.h gboolean edit_load_cmd (WDialog * h); h 187 src/editor/edit-impl.h gboolean edit_load_file_from_filename (WDialog * h, const vfs_path_t * vpath, long line); h 188 src/editor/edit-impl.h gboolean edit_load_file_from_history (WDialog * h); h 189 src/editor/edit-impl.h gboolean edit_load_syntax_file (WDialog * h); h 190 src/editor/edit-impl.h gboolean edit_load_menu_file (WDialog * h); h 207 src/editor/edit-impl.h void edit_syntax_onoff_cmd (WDialog * h); h 208 src/editor/edit-impl.h void edit_show_tabs_tws_cmd (WDialog * h); h 209 src/editor/edit-impl.h void edit_show_margin_cmd (WDialog * h); h 210 src/editor/edit-impl.h void edit_show_numbers_cmd (WDialog * h); h 254 src/editor/edit-impl.h void edit_options_dialog (WDialog * h); h 762 src/editor/editcmd.c WDialog *h = DIALOG (w); h 767 src/editor/editcmd.c h->ret_value = parm; h 768 src/editor/editcmd.c dlg_close (h); h 795 src/editor/editcmd.c edit_syntax_onoff_cmd (WDialog * h) h 798 src/editor/editcmd.c g_list_foreach (GROUP (h)->widgets, edit_syntax_onoff_cb, NULL); h 799 src/editor/editcmd.c widget_draw (WIDGET (h)); h 810 src/editor/editcmd.c edit_show_tabs_tws_cmd (WDialog * h) h 813 src/editor/editcmd.c widget_draw (WIDGET (h)); h 824 src/editor/editcmd.c edit_show_margin_cmd (WDialog * h) h 827 src/editor/editcmd.c widget_draw (WIDGET (h)); h 838 src/editor/editcmd.c edit_show_numbers_cmd (WDialog * h) h 842 src/editor/editcmd.c widget_draw (WIDGET (h)); h 1049 src/editor/editcmd.c edit_load_cmd (WDialog * h) h 1063 src/editor/editcmd.c ret = edit_load_file_from_filename (h, exp_vpath, 0); h 1084 src/editor/editcmd.c edit_load_file_from_filename (WDialog * h, const vfs_path_t * vpath, long line) h 1086 src/editor/editcmd.c WRect r = WIDGET (h)->rect; h 1090 src/editor/editcmd.c return edit_add_window (h, &r, vpath, line); h 1101 src/editor/editcmd.c edit_load_file_from_history (WDialog * h) h 1107 src/editor/editcmd.c exp = show_file_history (CONST_WIDGET (h), &action); h 1113 src/editor/editcmd.c ret = edit_load_file_from_filename (h, exp_vpath, 0); h 1130 src/editor/editcmd.c edit_load_syntax_file (WDialog * h) h 1156 src/editor/editcmd.c ret = edit_load_file_from_filename (h, user_syntax_file_vpath, 0); h 1160 src/editor/editcmd.c ret = edit_load_file_from_filename (h, extdir_vpath, 0); h 1175 src/editor/editcmd.c edit_load_menu_file (WDialog * h) h 1225 src/editor/editcmd.c ret = edit_load_file_from_filename (h, buffer_vpath, 0); h 184 src/editor/editdraw.c Widget *h = WIDGET (WIDGET (edit)->owner); h 185 src/editor/editdraw.c const int w = h->rect.cols; h 221 src/editor/editdraw.c widget_gotoyx (h, 0, 0); h 231 src/editor/editdraw.c widget_gotoyx (h, 0, w - 6 - 6); h 261 src/editor/editmenu.c edit_drop_menu_cmd (WDialog * h, int which) h 265 src/editor/editmenu.c menubar = menubar_find (h); h 296 src/editor/editmenu.c edit_menu_cmd (WDialog * h) h 298 src/editor/editmenu.c edit_drop_menu_cmd (h, -1); h 304 src/editor/editmenu.c edit_drop_hotkey_menu (WDialog * h, int key) h 334 src/editor/editmenu.c edit_drop_menu_cmd (h, m); h 121 src/editor/editoptions.c edit_options_dialog (WDialog * h) h 202 src/editor/editoptions.c g_list_foreach (GROUP (h)->widgets, edit_reset_over_col, NULL); h 238 src/editor/editoptions.c g_list_foreach (GROUP (h)->widgets, edit_reload_syntax, NULL); h 185 src/editor/editwidget.c edit_help (const WDialog * h) h 187 src/editor/editwidget.c ev_help_t event_data = { NULL, h->help_ctx }; h 311 src/editor/editwidget.c edit_window_list (const WDialog * h) h 313 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); h 375 src/editor/editwidget.c edit_get_title (const WDialog * h, size_t len) h 382 src/editor/editwidget.c edit = edit_find_editor (h); h 401 src/editor/editwidget.c edit_dialog_command_execute (WDialog * h, long command) h 403 src/editor/editwidget.c WGroup *g = GROUP (h); h 409 src/editor/editwidget.c edit_load_file_from_filename (h, NULL, 0); h 412 src/editor/editwidget.c edit_load_cmd (h); h 415 src/editor/editwidget.c edit_load_file_from_history (h); h 418 src/editor/editwidget.c edit_load_syntax_file (h); h 421 src/editor/editwidget.c edit_load_menu_file (h); h 426 src/editor/editwidget.c edit_close_cmd (EDIT (g->current->data)) && edit_find_editor (h) == NULL) h 427 src/editor/editwidget.c dlg_close (h); h 430 src/editor/editwidget.c edit_help (h); h 433 src/editor/editwidget.c edit_menu_cmd (h); h 444 src/editor/editwidget.c dlg_close (h); h 451 src/editor/editwidget.c edit_syntax_onoff_cmd (h); h 454 src/editor/editwidget.c edit_show_tabs_tws_cmd (h); h 457 src/editor/editwidget.c edit_show_margin_cmd (h); h 460 src/editor/editwidget.c edit_show_numbers_cmd (h); h 477 src/editor/editwidget.c edit_window_list (h); h 486 src/editor/editwidget.c edit_options_dialog (h); h 624 src/editor/editwidget.c edit_quit (WDialog * h) h 632 src/editor/editwidget.c widget_set_state (WIDGET (h), WST_ACTIVE, TRUE); h 635 src/editor/editwidget.c for (l = GROUP (h)->widgets; l != NULL; l = g_list_next (l)) h 665 src/editor/editwidget.c dlg_close (h); h 766 src/editor/editwidget.c WDialog *h = DIALOG (w); h 776 src/editor/editwidget.c menubar_arrange (menubar_find (h)); h 785 src/editor/editwidget.c result = edit_dialog_command_execute (h, parm); h 789 src/editor/editwidget.c if (result == MSG_NOT_HANDLED && sender == WIDGET (menubar_find (h))) h 814 src/editor/editwidget.c ret = edit_dialog_command_execute (h, command); h 836 src/editor/editwidget.c return edit_drop_hotkey_menu (h, parm) ? MSG_HANDLED : MSG_NOT_HANDLED; h 839 src/editor/editwidget.c edit_quit (h); h 872 src/editor/editwidget.c WDialog *h = DIALOG (w); h 875 src/editor/editwidget.c b = menubar_find (h); h 907 src/editor/editwidget.c send_message (h, NULL, MSG_ACTION, CK_Close, NULL); h 1019 src/editor/editwidget.c const WRect *h = &CONST_WIDGET (w->owner)->rect; h 1045 src/editor/editwidget.c global_y = CLAMP (global_y, h->y + 1, h->y + h->lines - 2); /* Status line, buttonbar */ h 1046 src/editor/editwidget.c global_x = CLAMP (global_x, h->x, h->x + h->cols - 1); /* Currently a no-op, as the dialog has no left/right margins. */ h 1301 src/editor/editwidget.c edit_find_editor (const WDialog * h) h 1303 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); h 1307 src/editor/editwidget.c return EDIT (widget_find_by_type (CONST_WIDGET (h), edit_callback)); h 1375 src/editor/editwidget.c edit_add_window (WDialog * h, const WRect * r, const vfs_path_t * f, long fline) h 1388 src/editor/editwidget.c group_add_widget_autopos (GROUP (h), w, WPOS_KEEP_ALL, NULL); h 1389 src/editor/editwidget.c edit_set_buttonbar (edit, buttonbar_find (h)); h 1390 src/editor/editwidget.c widget_draw (WIDGET (h)); h 241 src/filemanager/achown.c print_flags (const WDialog * h) h 249 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[0].x + 6 + i); h 255 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[1].x + 6 + i); h 261 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[2].x + 6 + i); h 269 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[3].x + 6 + i); h 274 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[4].x + 6 + i); h 282 src/filemanager/achown.c advanced_chown_refresh (const WDialog * h) h 286 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[0].x + 5); h 288 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[1].x + 5); h 290 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[2].x + 5); h 293 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[3].x + 5); h 295 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[4].x + 5); h 298 src/filemanager/achown.c widget_gotoyx (h, BY + 1, 3); h 300 src/filemanager/achown.c print_flags (h); h 492 src/filemanager/achown.c WDialog *h = DIALOG (w); h 494 src/filemanager/achown.c h->ret_value = parm; h 495 src/filemanager/achown.c dlg_close (h); h 529 src/filemanager/achown.c WDialog *h = DIALOG (g); h 530 src/filemanager/achown.c Widget *wh = WIDGET (h); h 626 src/filemanager/achown.c print_flags (h); h 402 src/filemanager/boxes.c WDialog *h = DIALOG (w); h 415 src/filemanager/boxes.c bar = WIDGET (buttonbar_find (h)); h 422 src/filemanager/boxes.c return send_message (find_tree (h), NULL, MSG_ACTION, parm, NULL); h 184 src/filemanager/chmod.c chmod_draw_select (const WDialog * h, int Id) h 186 src/filemanager/chmod.c widget_gotoyx (h, PY + Id + 1, PX + 1); h 188 src/filemanager/chmod.c widget_gotoyx (h, PY + Id + 1, PX + 3); h 194 src/filemanager/chmod.c chmod_toggle_select (const WDialog * h, int Id) h 198 src/filemanager/chmod.c chmod_draw_select (h, Id); h 204 src/filemanager/chmod.c chmod_refresh (const WDialog * h) h 212 src/filemanager/chmod.c chmod_draw_select (h, i); h 250 src/filemanager/chmod.c WDialog *h = DIALOG (w); h 268 src/filemanager/chmod.c chmod_toggle_select (h, i); h 289 src/filemanager/chmod.c chmod_toggle_select (h, i); h 151 src/filemanager/chown.c chown_refresh (const Widget * h) h 158 src/filemanager/chown.c widget_gotoyx (h, y + 0, x); h 160 src/filemanager/chown.c widget_gotoyx (h, y + 2, x); h 162 src/filemanager/chown.c widget_gotoyx (h, y + 4, x); h 164 src/filemanager/chown.c widget_gotoyx (h, y + 6, x); h 166 src/filemanager/chown.c widget_gotoyx (h, y + 8, x); h 739 src/filemanager/filegui.c place_progress_buttons (WDialog * h, gboolean suspended) h 742 src/filemanager/filegui.c Widget *w = WIDGET (h); h 429 src/filemanager/filemanager.c midnight_get_title (const WDialog * h, size_t len) h 435 src/filemanager/filemanager.c (void) h; h 482 src/filemanager/find.c WDialog *h = DIALOG (w); h 501 src/filemanager/find.c if (h->ret_value != B_ENTER) h 529 src/filemanager/find.c if (GROUP (h)->current->data == in_name) h 531 src/filemanager/find.c else if (GROUP (h)->current->data == in_with) h 971 src/filemanager/find.c check_find_events (WDialog * h) h 977 src/filemanager/find.c c = tty_get_event (&event, GROUP (h)->mouse_status == MOU_REPEAT, FALSE); h 980 src/filemanager/find.c dlg_process_event (h, c, &event); h 981 src/filemanager/find.c if (h->ret_value == B_ENTER h 982 src/filemanager/find.c || h->ret_value == B_CANCEL || h->ret_value == B_AGAIN || h->ret_value == B_PANELIZE) h 987 src/filemanager/find.c if (!widget_get_state (WIDGET (h), WST_IDLE)) h 1009 src/filemanager/find.c search_content (WDialog * h, const char *directory, const char *filename) h 1039 src/filemanager/find.c status_update (str_trunc (buffer, WIDGET (h)->rect.cols - 8)); h 1133 src/filemanager/find.c status_update (str_trunc (result, WIDGET (h)->rect.cols - 8)); h 1159 src/filemanager/find.c res = check_find_events (h); h 1163 src/filemanager/find.c stop_idle (h); h 1252 src/filemanager/find.c find_rotate_dash (const WDialog * h, gboolean show) h 1256 src/filemanager/find.c const Widget *w = CONST_WIDGET (h); h 1261 src/filemanager/find.c widget_gotoyx (h, w->rect.lines - 7, w->rect.cols - 4); h 1270 src/filemanager/find.c do_search (WDialog * h) h 1280 src/filemanager/find.c if (h == NULL) h 1328 src/filemanager/find.c find_rotate_dash (h, FALSE); h 1329 src/filemanager/find.c stop_idle (h); h 1359 src/filemanager/find.c status_update (str_trunc (directory, WIDGET (h)->rect.cols - 8)); h 1415 src/filemanager/find.c else if (search_content (h, directory, dp->d_name)) h 1426 src/filemanager/find.c find_rotate_dash (h, TRUE); h 1497 src/filemanager/find.c find_calc_button_locations (const WDialog * h, gboolean all_buttons) h 1499 src/filemanager/find.c const int cols = CONST_WIDGET (h)->rect.cols; h 1523 src/filemanager/find.c find_adjust_header (WDialog * h) h 1535 src/filemanager/find.c if (title_len > WIDGET (h)->rect.cols - 6) h 1538 src/filemanager/find.c title_len = WIDGET (h)->rect.cols - 6; h 1546 src/filemanager/find.c frame_set_title (FRAME (h->bg), title); h 1552 src/filemanager/find.c find_relocate_buttons (const WDialog * h, gboolean all_buttons) h 1556 src/filemanager/find.c find_calc_button_locations (h, all_buttons); h 1559 src/filemanager/find.c fbuts[i].button->rect.x = CONST_WIDGET (h)->rect.x + fbuts[i].x; h 1565 src/filemanager/find.c find_resize (WDialog * h) h 1567 src/filemanager/find.c Widget *w = WIDGET (h); h 1573 src/filemanager/find.c find_adjust_header (h); h 1574 src/filemanager/find.c find_relocate_buttons (h, TRUE); h 1584 src/filemanager/find.c WDialog *h = DIALOG (w); h 1590 src/filemanager/find.c find_adjust_header (h); h 1605 src/filemanager/find.c return find_resize (h); h 1608 src/filemanager/find.c do_search (h); h 498 src/filemanager/hotlist.c hotlist_handle_key (WDialog * h, int key) h 509 src/filemanager/hotlist.c h->ret_value = B_ENTER; h 510 src/filemanager/hotlist.c dlg_close (h); h 552 src/filemanager/hotlist.c h->ret_value = B_CANCEL; h 553 src/filemanager/hotlist.c dlg_close (h); h 569 src/filemanager/hotlist.c WDialog *h = DIALOG (w); h 579 src/filemanager/hotlist.c return hotlist_handle_key (h, parm); h 600 src/filemanager/hotlist.c lst = WIDGET (h == hotlist_dlg ? l_hotlist : l_movelist); h 616 src/filemanager/hotlist.c r.lines = LINES - (h == hotlist_dlg ? 2 : 6); h 233 src/filemanager/layout.c update_split (const WDialog * h) h 247 src/filemanager/layout.c widget_gotoyx (h, 6, 5); h 253 src/filemanager/layout.c widget_gotoyx (h, 6, 17); h 259 src/filemanager/layout.c widget_gotoyx (h, 6, 12); h 352 src/filemanager/layout.c WDialog *h = DIALOG (w); h 391 src/filemanager/layout.c widget_gotoyx (h, 9, 5 + 3 + output_lines_label_len); h 401 src/filemanager/layout.c update_split (h); h 424 src/filemanager/layout.c update_split (h); h 450 src/filemanager/layout.c update_split (h); h 477 src/filemanager/layout.c update_split (h); h 277 src/filemanager/listmode.c listmode_done (WDialog * h) h 279 src/filemanager/listmode.c widget_destroy (WIDGET (h)); h 3786 src/filemanager/panel.c WDialog *h = DIALOG (w->owner); h 3793 src/filemanager/panel.c mc_event_add (h->event_group, MCEVENT_HISTORY_LOAD, panel_load_history, w, NULL); h 3795 src/filemanager/panel.c mc_event_add (h->event_group, MCEVENT_HISTORY_SAVE, panel_save_history, w, NULL); h 3830 src/filemanager/panel.c bb = buttonbar_find (h); h 3851 src/filemanager/panel.c mc_event_del (h->event_group, MCEVENT_HISTORY_LOAD, panel_load_history, w); h 3853 src/filemanager/panel.c mc_event_del (h->event_group, MCEVENT_HISTORY_SAVE, panel_save_history, w); h 605 src/filemanager/tree.c WDialog *h = DIALOG (WIDGET (tree)->owner); h 607 src/filemanager/tree.c h->ret_value = B_ENTER; h 608 src/filemanager/tree.c dlg_close (h); h 1121 src/filemanager/tree.c tree_frame (WDialog * h, WTree * tree) h 1125 src/filemanager/tree.c (void) h; h 1159 src/filemanager/tree.c WDialog *h = DIALOG (w->owner); h 1165 src/filemanager/tree.c tree_frame (h, tree); h 1169 src/filemanager/tree.c b = buttonbar_find (h); h 1175 src/filemanager/tree.c b = buttonbar_find (h); h 1347 src/filemanager/tree.c find_tree (const WDialog * h) h 1349 src/filemanager/tree.c return (WTree *) widget_find_by_type (CONST_WIDGET (h), tree_callback); h 32 src/filemanager/tree.h WTree *find_tree (const WDialog * h); h 406 src/help.c help_print_word (WDialog * h, GString * word, int *col, int *line, gboolean add_space) h 425 src/help.c widget_gotoyx (h, *line + 2, *col + 2); h 450 src/help.c help_show (WDialog * h, const char *paint_start) h 511 src/help.c help_print_word (h, word, &col, &line, FALSE); h 522 src/help.c widget_gotoyx (h, line + 2, col + 2); h 533 src/help.c help_print_word (h, word, &col, &line, FALSE); h 538 src/help.c help_print_word (h, word, &col, &line, FALSE); h 547 src/help.c help_print_word (h, word, &col, &line, c == ' '); h 567 src/help.c widget_gotoyx (h, line + 2, col + 2); h 575 src/help.c SLsmg_draw_object (WIDGET (h)->rect.y + line + 2, h 576 src/help.c WIDGET (h)->rect.x + col + 2, c); h 586 src/help.c help_print_word (h, word, &col, &line, FALSE); h 608 src/help.c widget_gotoyx (h, active_line, active_col); h 615 src/help.c help_help (WDialog * h) h 628 src/help.c widget_draw (WIDGET (h)); h 635 src/help.c help_index (WDialog * h) h 651 src/help.c widget_draw (WIDGET (h)); h 658 src/help.c help_back (WDialog * h) h 666 src/help.c widget_draw (WIDGET (h)); /* FIXME: unneeded? */ h 857 src/help.c help_handle_key (WDialog * h, int key) h 859 src/help.c Widget *w = WIDGET (h); h 889 src/help.c help_resize (WDialog * h) h 891 src/help.c Widget *w = WIDGET (h); h 899 src/help.c bb = buttonbar_find (h); h 910 src/help.c WDialog *h = DIALOG (w); h 915 src/help.c return help_resize (h); h 921 src/help.c ret = help_handle_key (h, parm); h 1927 src/vfs/ftpfs/ftpfs.c int h, sock; h 1938 src/vfs/ftpfs/ftpfs.c h = open (localname, O_RDONLY); h 1939 src/vfs/ftpfs/ftpfs.c if (h == -1) h 1942 src/vfs/ftpfs/ftpfs.c if (fstat (h, &s) == -1) h 1945 src/vfs/ftpfs/ftpfs.c close (h); h 1953 src/vfs/ftpfs/ftpfs.c close (h); h 1969 src/vfs/ftpfs/ftpfs.c while ((n_read = read (h, lc_buffer, sizeof (lc_buffer))) == -1) h 2010 src/vfs/ftpfs/ftpfs.c close (h); h 2020 src/vfs/ftpfs/ftpfs.c close (h); h 995 src/vfs/shell/shell.c int h; h 998 src/vfs/shell/shell.c h = open (localname, O_RDONLY); h 999 src/vfs/shell/shell.c if (h == -1) h 1001 src/vfs/shell/shell.c if (fstat (h, &s) < 0) h 1003 src/vfs/shell/shell.c close (h); h 1049 src/vfs/shell/shell.c close (h); h 1057 src/vfs/shell/shell.c while ((n = read (h, buffer, sizeof (buffer))) < 0) h 1062 src/vfs/shell/shell.c close (h); h 1063 src/vfs/shell/shell.c h = open ("/dev/zero", O_RDONLY); h 1083 src/vfs/shell/shell.c close (h); h 1090 src/vfs/shell/shell.c close (h); h 549 src/vfs/tar/tar-sparse.c union block *h = current_header; h 558 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->oldgnu_header.sp[i]); h 563 src/vfs/tar/tar-sparse.c for (ext_p = h->oldgnu_header.isextended != 0; rc == add_ok && ext_p; h 564 src/vfs/tar/tar-sparse.c ext_p = h->sparse_header.isextended != 0) h 566 src/vfs/tar/tar-sparse.c h = tar_find_next_block (archive); h 567 src/vfs/tar/tar-sparse.c if (h == NULL) h 570 src/vfs/tar/tar-sparse.c tar_set_next_block_after (h); h 573 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->sparse_header.sp[i]); h 614 src/vfs/tar/tar-sparse.c union block *h = current_header; h 621 src/vfs/tar/tar-sparse.c if (h->star_in_header.prefix[0] == '\0' && h->star_in_header.sp[0].offset[10] != '\0') h 626 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->star_in_header.sp[i]); h 631 src/vfs/tar/tar-sparse.c ext_p = h->star_in_header.isextended != 0; h 634 src/vfs/tar/tar-sparse.c for (; rc == add_ok && ext_p; ext_p = h->star_ext_header.isextended != 0) h 636 src/vfs/tar/tar-sparse.c h = tar_find_next_block (archive); h 637 src/vfs/tar/tar-sparse.c if (h == NULL) h 640 src/vfs/tar/tar-sparse.c tar_set_next_block_after (h); h 643 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->star_ext_header.sp[i]); h 739 src/vfs/tar/tar.c struct posix_header const *h = &header->header; h 758 src/vfs/tar/tar.c if (h->prefix[0] != '\0' && strcmp (h->magic, TMAGIC) == 0) h 759 src/vfs/tar/tar.c s1 = g_strndup (h->prefix, sizeof (h->prefix)); h 761 src/vfs/tar/tar.c s2 = g_strndup (h->name, sizeof (h->name)); h 788 src/vfs/tar/tar.c link_name = g_strndup (h->linkname, sizeof (h->linkname)); h 753 src/viewer/actions_cmd.c WDialog *h = DIALOG (w); h 770 src/viewer/actions_cmd.c dlg_close (h); h 85 src/viewer/display.c WDialog *h = DIALOG (w->owner); h 89 src/viewer/display.c b = buttonbar_find (h); h 297 src/viewer/internal.h char *mcview_get_title (const WDialog * h, size_t len); h 378 src/viewer/lib.c mcview_get_title (const WDialog * h, size_t len) h 386 src/viewer/lib.c view = (const WView *) widget_find_by_type (CONST_WIDGET (h), mcview_callback);