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 205 lib/vfs/vfs.c g_assert (h->handle == handle); h 207 lib/vfs/vfs.c return h; h 234 lib/vfs/vfs.c struct vfs_openfile *h; h 236 lib/vfs/vfs.c h = (struct vfs_openfile *) g_ptr_array_index (vfs_openfiles, idx); h 237 lib/vfs/vfs.c g_free (h); h 249 lib/vfs/vfs.c struct vfs_openfile *h; h 251 lib/vfs/vfs.c h = vfs_get_openfile (handle); h 253 lib/vfs/vfs.c if (h == NULL) h 257 lib/vfs/vfs.c *fsinfo = h->fsinfo; h 259 lib/vfs/vfs.c return h->vclass; h 271 lib/vfs/vfs.c struct vfs_openfile *h; h 273 lib/vfs/vfs.c h = g_new (struct vfs_openfile, 1); h 274 lib/vfs/vfs.c h->fsinfo = fsinfo; h 275 lib/vfs/vfs.c h->vclass = vclass; h 278 lib/vfs/vfs.c h->handle = vfs_free_handle_list; h 279 lib/vfs/vfs.c if (h->handle == -1) h 282 lib/vfs/vfs.c h->handle = vfs_openfiles->len; h 283 lib/vfs/vfs.c g_ptr_array_add (vfs_openfiles, h); h 288 lib/vfs/vfs.c g_ptr_array_index (vfs_openfiles, h->handle) = h; h 291 lib/vfs/vfs.c h->handle += VFS_FIRST_HANDLE; h 292 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_take (listbox->list, LISTBOX_APPEND_BEFORE, get_hotkey (i++), title, h, h 273 lib/widget/dialog-switch.c WDialog *h = DIALOG (mc_current->data); h 274 lib/widget/dialog-switch.c Widget *wh = WIDGET (h); h 278 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 994 lib/widget/input_complete.c WDialog *h = DIALOG (w); h 1004 lib/widget/input_complete.c h->ret_value = 0; h 1005 lib/widget/input_complete.c dlg_close (h); h 1013 lib/widget/input_complete.c h->ret_value = 0; h 1014 lib/widget/input_complete.c dlg_close (h); h 1021 lib/widget/input_complete.c h->ret_value = B_USER; h 1022 lib/widget/input_complete.c dlg_close (h); h 1060 lib/widget/input_complete.c h->ret_value = B_USER; h 1061 lib/widget/input_complete.c dlg_close (h); h 1152 lib/widget/input_complete.c h->ret_value = B_ENTER; h 1153 lib/widget/input_complete.c dlg_close (h); h 1199 lib/widget/input_complete.c int x, y, w, h; h 1218 lib/widget/input_complete.c h = 2 + count; h 1223 lib/widget/input_complete.c h = start_y; h 1228 lib/widget/input_complete.c h = LINES - start_y - 1; h 1243 lib/widget/input_complete.c dlg_create (TRUE, y, x, h, w, WPOS_KEEP_DEFAULT, TRUE, h 1245 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 1753 src/diffviewer/ydiff.c GArray *h = NULL; h 1763 src/diffviewer/ydiff.c h = g_array_new (FALSE, FALSE, sizeof (BRACKET)); h 1766 src/diffviewer/ydiff.c hdiff_scan (p->p, p->u.len, q->p, q->u.len, HDIFF_MINCTX, h, HDIFF_DEPTH); h 1769 src/diffviewer/ydiff.c g_array_free (h, TRUE); h 1770 src/diffviewer/ydiff.c h = NULL; h 1774 src/diffviewer/ydiff.c g_ptr_array_add (dview->hdiff, h); h 1794 src/diffviewer/ydiff.c GArray *h; h 1796 src/diffviewer/ydiff.c h = (GArray *) g_ptr_array_index (dview->hdiff, i); h 1797 src/diffviewer/ydiff.c if (h != NULL) h 1798 src/diffviewer/ydiff.c g_array_free (h, TRUE); h 2866 src/diffviewer/ydiff.c Widget *h; h 2876 src/diffviewer/ydiff.c h = WIDGET (WIDGET (dview)->owner); h 2877 src/diffviewer/ydiff.c h_modal = widget_get_state (h, WST_MODAL); h 2882 src/diffviewer/ydiff.c widget_set_state (h, WST_MODAL, TRUE); h 2892 src/diffviewer/ydiff.c widget_set_state (h, WST_MODAL, h_modal); h 3225 src/diffviewer/ydiff.c WDialog *h = DIALOG (w->owner); h 3243 src/diffviewer/ydiff.c dlg_close (h); h 3251 src/diffviewer/ydiff.c dlg_close (h); h 3304 src/diffviewer/ydiff.c WDialog *h = DIALOG (w); h 3316 src/diffviewer/ydiff.c dview = (WDiff *) widget_find_by_type (CONST_WIDGET (h), dview_callback); h 3320 src/diffviewer/ydiff.c dlg_close (h); h 3331 src/diffviewer/ydiff.c dview_get_title (const WDialog *h, size_t len) h 3339 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 133 src/editor/edit-impl.h gboolean edit_add_window (WDialog * h, const WRect * r, const edit_arg_t * arg); h 134 src/editor/edit-impl.h WEdit *edit_find_editor (const WDialog * h); h 136 src/editor/edit-impl.h gboolean edit_drop_hotkey_menu (WDialog * h, int key); h 137 src/editor/edit-impl.h void edit_menu_cmd (WDialog * h); h 180 src/editor/edit-impl.h gboolean edit_load_cmd (WDialog * h); h 181 src/editor/edit-impl.h gboolean edit_load_file_from_filename (WDialog * h, const edit_arg_t * arg); h 182 src/editor/edit-impl.h gboolean edit_load_file_from_history (WDialog * h); h 183 src/editor/edit-impl.h gboolean edit_load_syntax_file (WDialog * h); h 184 src/editor/edit-impl.h gboolean edit_load_menu_file (WDialog * h); h 201 src/editor/edit-impl.h void edit_syntax_onoff_cmd (WDialog * h); h 202 src/editor/edit-impl.h void edit_show_tabs_tws_cmd (WDialog * h); h 203 src/editor/edit-impl.h void edit_show_margin_cmd (WDialog * h); h 204 src/editor/edit-impl.h void edit_show_numbers_cmd (WDialog * h); h 248 src/editor/edit-impl.h void edit_options_dialog (WDialog * h); h 761 src/editor/editcmd.c WDialog *h = DIALOG (w); h 766 src/editor/editcmd.c h->ret_value = parm; h 767 src/editor/editcmd.c dlg_close (h); h 794 src/editor/editcmd.c edit_syntax_onoff_cmd (WDialog *h) h 797 src/editor/editcmd.c g_list_foreach (GROUP (h)->widgets, edit_syntax_onoff_cb, NULL); h 798 src/editor/editcmd.c widget_draw (WIDGET (h)); h 809 src/editor/editcmd.c edit_show_tabs_tws_cmd (WDialog *h) h 812 src/editor/editcmd.c widget_draw (WIDGET (h)); h 823 src/editor/editcmd.c edit_show_margin_cmd (WDialog *h) h 826 src/editor/editcmd.c widget_draw (WIDGET (h)); h 837 src/editor/editcmd.c edit_show_numbers_cmd (WDialog *h) h 841 src/editor/editcmd.c widget_draw (WIDGET (h)); h 1048 src/editor/editcmd.c edit_load_cmd (WDialog *h) h 1064 src/editor/editcmd.c ret = edit_load_file_from_filename (h, &arg); h 1085 src/editor/editcmd.c edit_load_file_from_filename (WDialog *h, const edit_arg_t *arg) h 1087 src/editor/editcmd.c WRect r = WIDGET (h)->rect; h 1091 src/editor/editcmd.c return edit_add_window (h, &r, arg); h 1102 src/editor/editcmd.c edit_load_file_from_history (WDialog *h) h 1108 src/editor/editcmd.c exp = show_file_history (CONST_WIDGET (h), &action); h 1116 src/editor/editcmd.c ret = edit_load_file_from_filename (h, &arg); h 1133 src/editor/editcmd.c edit_load_syntax_file (WDialog *h) h 1161 src/editor/editcmd.c ret = edit_load_file_from_filename (h, &arg); h 1167 src/editor/editcmd.c ret = edit_load_file_from_filename (h, &arg); h 1183 src/editor/editcmd.c edit_load_menu_file (WDialog *h) h 1235 src/editor/editcmd.c ret = edit_load_file_from_filename (h, &arg); 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 259 src/editor/editmenu.c edit_drop_menu_cmd (WDialog *h, int which) h 263 src/editor/editmenu.c menubar = menubar_find (h); h 294 src/editor/editmenu.c edit_menu_cmd (WDialog *h) h 296 src/editor/editmenu.c edit_drop_menu_cmd (h, -1); h 302 src/editor/editmenu.c edit_drop_hotkey_menu (WDialog *h, int key) h 332 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 184 src/editor/editwidget.c edit_help (const WDialog *h) h 186 src/editor/editwidget.c ev_help_t event_data = { NULL, h->help_ctx }; h 310 src/editor/editwidget.c edit_window_list (const WDialog *h) h 312 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); h 374 src/editor/editwidget.c edit_get_title (const WDialog *h, size_t len) h 381 src/editor/editwidget.c edit = edit_find_editor (h); h 400 src/editor/editwidget.c edit_dialog_command_execute (WDialog *h, long command) h 402 src/editor/editwidget.c WGroup *g = GROUP (h); h 408 src/editor/editwidget.c edit_load_file_from_filename (h, NULL); h 411 src/editor/editwidget.c edit_load_cmd (h); h 414 src/editor/editwidget.c edit_load_file_from_history (h); h 417 src/editor/editwidget.c edit_load_syntax_file (h); h 420 src/editor/editwidget.c edit_load_menu_file (h); h 425 src/editor/editwidget.c edit_close_cmd (EDIT (g->current->data)) && edit_find_editor (h) == NULL) h 426 src/editor/editwidget.c dlg_close (h); h 429 src/editor/editwidget.c edit_help (h); h 432 src/editor/editwidget.c edit_menu_cmd (h); h 443 src/editor/editwidget.c dlg_close (h); h 450 src/editor/editwidget.c edit_syntax_onoff_cmd (h); h 453 src/editor/editwidget.c edit_show_tabs_tws_cmd (h); h 456 src/editor/editwidget.c edit_show_margin_cmd (h); h 459 src/editor/editwidget.c edit_show_numbers_cmd (h); h 476 src/editor/editwidget.c edit_window_list (h); h 485 src/editor/editwidget.c edit_options_dialog (h); h 623 src/editor/editwidget.c edit_quit (WDialog *h) h 631 src/editor/editwidget.c widget_set_state (WIDGET (h), WST_ACTIVE, TRUE); h 634 src/editor/editwidget.c for (l = GROUP (h)->widgets; l != NULL; l = g_list_next (l)) h 664 src/editor/editwidget.c dlg_close (h); h 765 src/editor/editwidget.c WDialog *h = DIALOG (w); h 775 src/editor/editwidget.c menubar_arrange (menubar_find (h)); h 784 src/editor/editwidget.c result = edit_dialog_command_execute (h, parm); h 788 src/editor/editwidget.c if (result == MSG_NOT_HANDLED && sender == WIDGET (menubar_find (h))) h 813 src/editor/editwidget.c ret = edit_dialog_command_execute (h, command); h 835 src/editor/editwidget.c return edit_drop_hotkey_menu (h, parm) ? MSG_HANDLED : MSG_NOT_HANDLED; h 838 src/editor/editwidget.c edit_quit (h); h 871 src/editor/editwidget.c WDialog *h = DIALOG (w); h 874 src/editor/editwidget.c b = menubar_find (h); h 906 src/editor/editwidget.c send_message (h, NULL, MSG_ACTION, CK_Close, NULL); h 1018 src/editor/editwidget.c const WRect *h = &CONST_WIDGET (w->owner)->rect; h 1044 src/editor/editwidget.c global_y = CLAMP (global_y, h->y + 1, h->y + h->lines - 2); /* Status line, buttonbar */ h 1045 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 1290 src/editor/editwidget.c edit_find_editor (const WDialog *h) h 1292 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); h 1296 src/editor/editwidget.c return EDIT (widget_find_by_type (CONST_WIDGET (h), edit_callback)); h 1364 src/editor/editwidget.c edit_add_window (WDialog *h, const WRect *r, const edit_arg_t *arg) h 1377 src/editor/editwidget.c group_add_widget_autopos (GROUP (h), w, WPOS_KEEP_ALL, NULL); h 1378 src/editor/editwidget.c edit_set_buttonbar (edit, buttonbar_find (h)); h 1379 src/editor/editwidget.c widget_draw (WIDGET (h)); h 240 src/filemanager/achown.c print_flags (const WDialog *h) h 248 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[0].x + 6 + i); h 254 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[1].x + 6 + i); h 260 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[2].x + 6 + i); h 268 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[3].x + 6 + i); h 273 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[4].x + 6 + i); h 281 src/filemanager/achown.c advanced_chown_refresh (const WDialog *h) h 285 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[0].x + 5); h 287 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[1].x + 5); h 289 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[2].x + 5); h 292 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[3].x + 5); h 294 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[4].x + 5); h 297 src/filemanager/achown.c widget_gotoyx (h, BY + 1, 3); h 299 src/filemanager/achown.c print_flags (h); h 491 src/filemanager/achown.c WDialog *h = DIALOG (w); h 493 src/filemanager/achown.c h->ret_value = parm; h 494 src/filemanager/achown.c dlg_close (h); h 528 src/filemanager/achown.c WDialog *h = DIALOG (g); h 529 src/filemanager/achown.c Widget *wh = WIDGET (h); h 625 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 182 src/filemanager/chmod.c chmod_draw_select (const WDialog *h, int Id) h 184 src/filemanager/chmod.c widget_gotoyx (h, PY + Id + 1, PX + 1); h 186 src/filemanager/chmod.c widget_gotoyx (h, PY + Id + 1, PX + 3); h 192 src/filemanager/chmod.c chmod_toggle_select (const WDialog *h, int Id) h 196 src/filemanager/chmod.c chmod_draw_select (h, Id); h 202 src/filemanager/chmod.c chmod_refresh (const WDialog *h) h 210 src/filemanager/chmod.c chmod_draw_select (h, i); h 248 src/filemanager/chmod.c WDialog *h = DIALOG (w); h 266 src/filemanager/chmod.c chmod_toggle_select (h, i); h 287 src/filemanager/chmod.c chmod_toggle_select (h, i); h 149 src/filemanager/chown.c chown_refresh (const Widget *h) h 156 src/filemanager/chown.c widget_gotoyx (h, y + 0, x); h 158 src/filemanager/chown.c widget_gotoyx (h, y + 2, x); h 160 src/filemanager/chown.c widget_gotoyx (h, y + 4, x); h 162 src/filemanager/chown.c widget_gotoyx (h, y + 6, x); h 164 src/filemanager/chown.c widget_gotoyx (h, y + 8, x); h 749 src/filemanager/filegui.c place_progress_buttons (WDialog *h, gboolean suspended) h 752 src/filemanager/filegui.c Widget *w = WIDGET (h); h 433 src/filemanager/filemanager.c midnight_get_title (const WDialog *h, size_t len) h 439 src/filemanager/filemanager.c (void) h; h 490 src/filemanager/find.c WDialog *h = DIALOG (w); h 509 src/filemanager/find.c if (h->ret_value != B_ENTER) h 537 src/filemanager/find.c if (GROUP (h)->current->data == in_name) h 539 src/filemanager/find.c else if (GROUP (h)->current->data == in_with) h 978 src/filemanager/find.c check_find_events (WDialog *h) h 984 src/filemanager/find.c c = tty_get_event (&event, GROUP (h)->mouse_status == MOU_REPEAT, FALSE); h 987 src/filemanager/find.c dlg_process_event (h, c, &event); h 988 src/filemanager/find.c if (h->ret_value == B_ENTER h 989 src/filemanager/find.c || h->ret_value == B_CANCEL || h->ret_value == B_AGAIN || h->ret_value == B_PANELIZE) h 994 src/filemanager/find.c if (!widget_get_state (WIDGET (h), WST_IDLE)) h 1016 src/filemanager/find.c search_content (WDialog *h, const char *directory, const char *filename) h 1042 src/filemanager/find.c status_update (str_trunc (buffer, WIDGET (h)->rect.cols - 8)); h 1137 src/filemanager/find.c status_update (str_trunc (result, WIDGET (h)->rect.cols - 8)); h 1163 src/filemanager/find.c res = check_find_events (h); h 1167 src/filemanager/find.c stop_idle (h); h 1256 src/filemanager/find.c find_rotate_dash (const WDialog *h, gboolean show) h 1260 src/filemanager/find.c const Widget *w = CONST_WIDGET (h); h 1265 src/filemanager/find.c widget_gotoyx (h, w->rect.lines - 7, w->rect.cols - 4); h 1274 src/filemanager/find.c do_search (WDialog *h) h 1284 src/filemanager/find.c if (h == NULL) h 1332 src/filemanager/find.c find_rotate_dash (h, FALSE); h 1333 src/filemanager/find.c stop_idle (h); h 1363 src/filemanager/find.c status_update (str_trunc (directory, WIDGET (h)->rect.cols - 8)); h 1418 src/filemanager/find.c else if (search_content (h, directory, dp->d_name)) h 1429 src/filemanager/find.c find_rotate_dash (h, TRUE); h 1500 src/filemanager/find.c find_calc_button_locations (const WDialog *h, gboolean all_buttons) h 1502 src/filemanager/find.c const int cols = CONST_WIDGET (h)->rect.cols; h 1526 src/filemanager/find.c find_adjust_header (WDialog *h) h 1538 src/filemanager/find.c if (title_len > WIDGET (h)->rect.cols - 6) h 1541 src/filemanager/find.c title_len = WIDGET (h)->rect.cols - 6; h 1549 src/filemanager/find.c frame_set_title (FRAME (h->bg), title); h 1555 src/filemanager/find.c find_relocate_buttons (const WDialog *h, gboolean all_buttons) h 1559 src/filemanager/find.c find_calc_button_locations (h, all_buttons); h 1562 src/filemanager/find.c fbuts[i].button->rect.x = CONST_WIDGET (h)->rect.x + fbuts[i].x; h 1568 src/filemanager/find.c find_resize (WDialog *h) h 1570 src/filemanager/find.c Widget *w = WIDGET (h); h 1576 src/filemanager/find.c find_adjust_header (h); h 1577 src/filemanager/find.c find_relocate_buttons (h, TRUE); h 1587 src/filemanager/find.c WDialog *h = DIALOG (w); h 1593 src/filemanager/find.c find_adjust_header (h); h 1608 src/filemanager/find.c return find_resize (h); h 1611 src/filemanager/find.c do_search (h); h 491 src/filemanager/hotlist.c hotlist_handle_key (WDialog *h, int key) h 502 src/filemanager/hotlist.c h->ret_value = B_ENTER; h 503 src/filemanager/hotlist.c dlg_close (h); h 545 src/filemanager/hotlist.c h->ret_value = B_CANCEL; h 546 src/filemanager/hotlist.c dlg_close (h); h 562 src/filemanager/hotlist.c WDialog *h = DIALOG (w); h 572 src/filemanager/hotlist.c return hotlist_handle_key (h, parm); h 593 src/filemanager/hotlist.c lst = WIDGET (h == hotlist_dlg ? l_hotlist : l_movelist); h 609 src/filemanager/hotlist.c r.lines = LINES - (h == hotlist_dlg ? 2 : 6); h 231 src/filemanager/layout.c update_split (const WDialog *h) h 245 src/filemanager/layout.c widget_gotoyx (h, 6, 5); h 251 src/filemanager/layout.c widget_gotoyx (h, 6, 17); h 257 src/filemanager/layout.c widget_gotoyx (h, 6, 12); h 350 src/filemanager/layout.c WDialog *h = DIALOG (w); h 389 src/filemanager/layout.c widget_gotoyx (h, 9, 5 + 3 + output_lines_label_len); h 399 src/filemanager/layout.c update_split (h); h 422 src/filemanager/layout.c update_split (h); h 448 src/filemanager/layout.c update_split (h); h 475 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 3856 src/filemanager/panel.c WDialog *h = DIALOG (w->owner); h 3863 src/filemanager/panel.c mc_event_add (h->event_group, MCEVENT_HISTORY_LOAD, panel_load_history, w, NULL); h 3865 src/filemanager/panel.c mc_event_add (h->event_group, MCEVENT_HISTORY_SAVE, panel_save_history, w, NULL); h 3900 src/filemanager/panel.c bb = buttonbar_find (h); h 3920 src/filemanager/panel.c mc_event_del (h->event_group, MCEVENT_HISTORY_LOAD, panel_load_history, w); h 3922 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 1111 src/filemanager/tree.c tree_frame (WDialog *h, WTree *tree) h 1115 src/filemanager/tree.c (void) h; h 1149 src/filemanager/tree.c WDialog *h = DIALOG (w->owner); h 1155 src/filemanager/tree.c tree_frame (h, tree); h 1159 src/filemanager/tree.c b = buttonbar_find (h); h 1165 src/filemanager/tree.c b = buttonbar_find (h); h 1336 src/filemanager/tree.c find_tree (const WDialog *h) h 1338 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 991 src/vfs/shell/shell.c int h; h 994 src/vfs/shell/shell.c h = open (localname, O_RDONLY); h 995 src/vfs/shell/shell.c if (h == -1) h 997 src/vfs/shell/shell.c if (fstat (h, &s) < 0) h 999 src/vfs/shell/shell.c close (h); h 1045 src/vfs/shell/shell.c close (h); h 1053 src/vfs/shell/shell.c while ((n = read (h, buffer, sizeof (buffer))) < 0) h 1058 src/vfs/shell/shell.c close (h); h 1059 src/vfs/shell/shell.c h = open ("/dev/zero", O_RDONLY); h 1079 src/vfs/shell/shell.c close (h); h 1086 src/vfs/shell/shell.c close (h); h 425 src/vfs/tar/tar-sparse.c union block *h = current_header; h 434 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->oldgnu_header.sp[i]); h 439 src/vfs/tar/tar-sparse.c for (ext_p = h->oldgnu_header.isextended != 0; rc == add_ok && ext_p; h 440 src/vfs/tar/tar-sparse.c ext_p = h->sparse_header.isextended != 0) h 442 src/vfs/tar/tar-sparse.c h = tar_find_next_block (archive); h 443 src/vfs/tar/tar-sparse.c if (h == NULL) h 446 src/vfs/tar/tar-sparse.c tar_set_next_block_after (h); h 449 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->sparse_header.sp[i]); h 490 src/vfs/tar/tar-sparse.c union block *h = current_header; h 497 src/vfs/tar/tar-sparse.c if (h->star_in_header.prefix[0] == '\0' && h->star_in_header.sp[0].offset[10] != '\0') h 502 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->star_in_header.sp[i]); h 507 src/vfs/tar/tar-sparse.c ext_p = h->star_in_header.isextended != 0; h 510 src/vfs/tar/tar-sparse.c for (; rc == add_ok && ext_p; ext_p = h->star_ext_header.isextended != 0) h 512 src/vfs/tar/tar-sparse.c h = tar_find_next_block (archive); h 513 src/vfs/tar/tar-sparse.c if (h == NULL) h 516 src/vfs/tar/tar-sparse.c tar_set_next_block_after (h); h 519 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->star_ext_header.sp[i]); h 738 src/vfs/tar/tar.c struct posix_header const *h = &header->header; h 757 src/vfs/tar/tar.c if (h->prefix[0] != '\0' && strcmp (h->magic, TMAGIC) == 0) h 758 src/vfs/tar/tar.c s1 = g_strndup (h->prefix, sizeof (h->prefix)); h 760 src/vfs/tar/tar.c s2 = g_strndup (h->name, sizeof (h->name)); h 786 src/vfs/tar/tar.c link_name = g_strndup (h->linkname, sizeof (h->linkname)); h 724 src/viewer/actions_cmd.c WDialog *h = DIALOG (w); h 741 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 299 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);