h 106 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 147 lib/tty/color-internal.c int h[6]; h 151 lib/tty/color-internal.c h[i] = parse_hex_digit (color_name[i]); h 152 lib/tty/color-internal.c if (h[i] == -1) h 157 lib/tty/color-internal.c i = (h[0] << 20) | (h[0] << 16) | (h[1] << 12) | (h[1] << 8) | (h[2] << 4) | h[2]; h 159 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 992 lib/widget/input_complete.c WDialog *h = DIALOG (w); h 1002 lib/widget/input_complete.c h->ret_value = 0; h 1003 lib/widget/input_complete.c dlg_close (h); h 1011 lib/widget/input_complete.c h->ret_value = 0; h 1012 lib/widget/input_complete.c dlg_close (h); h 1019 lib/widget/input_complete.c h->ret_value = B_USER; h 1020 lib/widget/input_complete.c dlg_close (h); h 1058 lib/widget/input_complete.c h->ret_value = B_USER; h 1059 lib/widget/input_complete.c dlg_close (h); h 1150 lib/widget/input_complete.c h->ret_value = B_ENTER; h 1151 lib/widget/input_complete.c dlg_close (h); h 1197 lib/widget/input_complete.c int x, y, w, h; h 1216 lib/widget/input_complete.c h = 2 + count; h 1221 lib/widget/input_complete.c h = start_y; h 1226 lib/widget/input_complete.c h = LINES - start_y - 1; h 1240 lib/widget/input_complete.c complete_dlg = dlg_create (TRUE, y, x, h, w, WPOS_KEEP_DEFAULT, TRUE, dialog_colors, h 1242 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 428 lib/widget/listbox.c WDialog *h = DIALOG (WIDGET (l)->owner); h 430 lib/widget/listbox.c h->ret_value = B_ENTER; h 431 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 1751 src/diffviewer/ydiff.c GArray *h = NULL; h 1761 src/diffviewer/ydiff.c h = g_array_new (FALSE, FALSE, sizeof (BRACKET)); h 1764 src/diffviewer/ydiff.c hdiff_scan (p->p, p->u.len, q->p, q->u.len, HDIFF_MINCTX, h, HDIFF_DEPTH); h 1767 src/diffviewer/ydiff.c g_array_free (h, TRUE); h 1768 src/diffviewer/ydiff.c h = NULL; h 1772 src/diffviewer/ydiff.c g_ptr_array_add (dview->hdiff, h); h 1792 src/diffviewer/ydiff.c GArray *h; h 1794 src/diffviewer/ydiff.c h = (GArray *) g_ptr_array_index (dview->hdiff, i); h 1795 src/diffviewer/ydiff.c if (h != NULL) h 1796 src/diffviewer/ydiff.c g_array_free (h, TRUE); h 2865 src/diffviewer/ydiff.c Widget *h; h 2875 src/diffviewer/ydiff.c h = WIDGET (WIDGET (dview)->owner); h 2876 src/diffviewer/ydiff.c h_modal = widget_get_state (h, WST_MODAL); h 2881 src/diffviewer/ydiff.c widget_set_state (h, WST_MODAL, TRUE); h 2891 src/diffviewer/ydiff.c widget_set_state (h, WST_MODAL, h_modal); h 3222 src/diffviewer/ydiff.c WDialog *h = DIALOG (w->owner); h 3240 src/diffviewer/ydiff.c dlg_close (h); h 3248 src/diffviewer/ydiff.c dlg_close (h); h 3301 src/diffviewer/ydiff.c WDialog *h = DIALOG (w); h 3313 src/diffviewer/ydiff.c dview = (WDiff *) widget_find_by_type (CONST_WIDGET (h), dview_callback); h 3317 src/diffviewer/ydiff.c dlg_close (h); h 3328 src/diffviewer/ydiff.c dview_get_title (const WDialog *h, size_t len) h 3336 src/diffviewer/ydiff.c dview = (const WDiff *) widget_find_by_type (CONST_WIDGET (h), dview_callback); h 74 src/editor/edit-impl.h #define edit_query_dialog2(h, t, a, b) query_dialog (h, t, D_NORMAL, 2, a, b) h 75 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 116 src/editor/edit-impl.h gboolean edit_add_window (WDialog *h, const WRect *r, const edit_arg_t *arg); h 117 src/editor/edit-impl.h WEdit *edit_find_editor (const WDialog *h); h 119 src/editor/edit-impl.h gboolean edit_drop_hotkey_menu (WDialog *h, int key); h 120 src/editor/edit-impl.h void edit_menu_cmd (WDialog *h); h 162 src/editor/edit-impl.h gboolean edit_load_cmd (WDialog *h); h 163 src/editor/edit-impl.h gboolean edit_load_file_from_filename (WDialog *h, const edit_arg_t *arg); h 164 src/editor/edit-impl.h gboolean edit_load_file_from_history (WDialog *h); h 165 src/editor/edit-impl.h gboolean edit_load_syntax_file (WDialog *h); h 166 src/editor/edit-impl.h gboolean edit_load_menu_file (WDialog *h); h 183 src/editor/edit-impl.h void edit_syntax_onoff_cmd (WDialog *h); h 184 src/editor/edit-impl.h void edit_show_tabs_tws_cmd (WDialog *h); h 185 src/editor/edit-impl.h void edit_show_margin_cmd (WDialog *h); h 186 src/editor/edit-impl.h void edit_show_numbers_cmd (WDialog *h); h 230 src/editor/edit-impl.h void edit_options_dialog (WDialog *h); h 757 src/editor/editcmd.c WDialog *h = DIALOG (w); h 762 src/editor/editcmd.c h->ret_value = parm; h 763 src/editor/editcmd.c dlg_close (h); h 790 src/editor/editcmd.c edit_syntax_onoff_cmd (WDialog *h) h 793 src/editor/editcmd.c g_list_foreach (GROUP (h)->widgets, edit_syntax_onoff_cb, NULL); h 794 src/editor/editcmd.c widget_draw (WIDGET (h)); h 805 src/editor/editcmd.c edit_show_tabs_tws_cmd (WDialog *h) h 808 src/editor/editcmd.c widget_draw (WIDGET (h)); h 819 src/editor/editcmd.c edit_show_margin_cmd (WDialog *h) h 822 src/editor/editcmd.c widget_draw (WIDGET (h)); h 833 src/editor/editcmd.c edit_show_numbers_cmd (WDialog *h) h 837 src/editor/editcmd.c widget_draw (WIDGET (h)); h 1044 src/editor/editcmd.c edit_load_cmd (WDialog *h) h 1059 src/editor/editcmd.c ret = edit_load_file_from_filename (h, &arg); h 1080 src/editor/editcmd.c edit_load_file_from_filename (WDialog *h, const edit_arg_t *arg) h 1082 src/editor/editcmd.c WRect r = WIDGET (h)->rect; h 1086 src/editor/editcmd.c return edit_add_window (h, &r, arg); h 1097 src/editor/editcmd.c edit_load_file_from_history (WDialog *h) h 1103 src/editor/editcmd.c exp = show_file_history (CONST_WIDGET (h), &action); h 1111 src/editor/editcmd.c ret = edit_load_file_from_filename (h, &arg); h 1128 src/editor/editcmd.c edit_load_syntax_file (WDialog *h) h 1155 src/editor/editcmd.c ret = edit_load_file_from_filename (h, &arg); h 1161 src/editor/editcmd.c ret = edit_load_file_from_filename (h, &arg); h 1177 src/editor/editcmd.c edit_load_menu_file (WDialog *h) h 1228 src/editor/editcmd.c ret = edit_load_file_from_filename (h, &arg); h 186 src/editor/editdraw.c Widget *h = WIDGET (WIDGET (edit)->owner); h 187 src/editor/editdraw.c const int w = h->rect.cols; h 223 src/editor/editdraw.c widget_gotoyx (h, 0, 0); h 233 src/editor/editdraw.c widget_gotoyx (h, 0, w - 6 - 6); h 257 src/editor/editmenu.c edit_drop_menu_cmd (WDialog *h, int which) h 261 src/editor/editmenu.c menubar = menubar_find (h); h 291 src/editor/editmenu.c edit_menu_cmd (WDialog *h) h 293 src/editor/editmenu.c edit_drop_menu_cmd (h, -1); h 299 src/editor/editmenu.c edit_drop_hotkey_menu (WDialog *h, int key) h 329 src/editor/editmenu.c edit_drop_menu_cmd (h, m); h 121 src/editor/editoptions.c edit_options_dialog (WDialog *h) h 212 src/editor/editoptions.c g_list_foreach (GROUP (h)->widgets, edit_reset_over_col, NULL); h 248 src/editor/editoptions.c g_list_foreach (GROUP (h)->widgets, edit_reload_syntax, NULL); h 187 src/editor/editwidget.c edit_help (const WDialog *h) h 189 src/editor/editwidget.c ev_help_t event_data = { NULL, h->help_ctx }; h 313 src/editor/editwidget.c edit_window_list (const WDialog *h) h 315 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); h 376 src/editor/editwidget.c edit_get_title (const WDialog *h, size_t len) h 383 src/editor/editwidget.c edit = edit_find_editor (h); h 402 src/editor/editwidget.c edit_dialog_command_execute (WDialog *h, long command) h 404 src/editor/editwidget.c WGroup *g = GROUP (h); h 410 src/editor/editwidget.c edit_load_file_from_filename (h, NULL); h 413 src/editor/editwidget.c edit_load_cmd (h); h 416 src/editor/editwidget.c edit_load_file_from_history (h); h 419 src/editor/editwidget.c edit_load_syntax_file (h); h 422 src/editor/editwidget.c edit_load_menu_file (h); h 427 src/editor/editwidget.c && edit_close_cmd (EDIT (g->current->data)) && edit_find_editor (h) == NULL) h 428 src/editor/editwidget.c dlg_close (h); h 431 src/editor/editwidget.c edit_help (h); h 434 src/editor/editwidget.c edit_menu_cmd (h); h 445 src/editor/editwidget.c dlg_close (h); h 452 src/editor/editwidget.c edit_syntax_onoff_cmd (h); h 455 src/editor/editwidget.c edit_show_tabs_tws_cmd (h); h 458 src/editor/editwidget.c edit_show_margin_cmd (h); h 461 src/editor/editwidget.c edit_show_numbers_cmd (h); h 478 src/editor/editwidget.c edit_window_list (h); h 487 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 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 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 1047 src/editor/editwidget.c CLAMP (global_x, h->x, h 1048 src/editor/editwidget.c h->x + h->cols - 1); // Currently a no-op, as the dialog has no left/right margins h 1291 src/editor/editwidget.c edit_find_editor (const WDialog *h) h 1293 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); h 1297 src/editor/editwidget.c return EDIT (widget_find_by_type (CONST_WIDGET (h), edit_callback)); h 1365 src/editor/editwidget.c edit_add_window (WDialog *h, const WRect *r, const edit_arg_t *arg) h 1378 src/editor/editwidget.c group_add_widget_autopos (GROUP (h), w, WPOS_KEEP_ALL, NULL); h 1379 src/editor/editwidget.c edit_set_buttonbar (edit, buttonbar_find (h)); h 1380 src/editor/editwidget.c widget_draw (WIDGET (h)); h 239 src/filemanager/achown.c print_flags (const WDialog *h) h 247 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[0].x + 6 + i); h 253 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[1].x + 6 + i); h 259 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[2].x + 6 + i); h 267 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[3].x + 6 + i); h 272 src/filemanager/achown.c widget_gotoyx (h, BY + 1, advanced_chown_but[4].x + 6 + i); h 280 src/filemanager/achown.c advanced_chown_refresh (const WDialog *h) h 284 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[0].x + 5); h 286 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[1].x + 5); h 288 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[2].x + 5); h 291 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[3].x + 5); h 293 src/filemanager/achown.c widget_gotoyx (h, BY - 1, advanced_chown_but[4].x + 5); h 296 src/filemanager/achown.c widget_gotoyx (h, BY + 1, 3); h 298 src/filemanager/achown.c print_flags (h); h 490 src/filemanager/achown.c WDialog *h = DIALOG (w); h 492 src/filemanager/achown.c h->ret_value = parm; h 493 src/filemanager/achown.c dlg_close (h); h 527 src/filemanager/achown.c WDialog *h = DIALOG (g); h 528 src/filemanager/achown.c Widget *wh = WIDGET (h); h 622 src/filemanager/achown.c print_flags (h); h 401 src/filemanager/boxes.c WDialog *h = DIALOG (w); h 414 src/filemanager/boxes.c bar = WIDGET (buttonbar_find (h)); h 421 src/filemanager/boxes.c return send_message (find_tree (h), NULL, MSG_ACTION, parm, NULL); h 178 src/filemanager/chmod.c chmod_draw_select (const WDialog *h, int Id) h 180 src/filemanager/chmod.c widget_gotoyx (h, PY + Id + 1, PX + 1); h 182 src/filemanager/chmod.c widget_gotoyx (h, PY + Id + 1, PX + 3); h 188 src/filemanager/chmod.c chmod_toggle_select (const WDialog *h, int Id) h 192 src/filemanager/chmod.c chmod_draw_select (h, Id); h 198 src/filemanager/chmod.c chmod_refresh (const WDialog *h) h 206 src/filemanager/chmod.c chmod_draw_select (h, i); h 244 src/filemanager/chmod.c WDialog *h = DIALOG (w); h 262 src/filemanager/chmod.c chmod_toggle_select (h, i); h 283 src/filemanager/chmod.c chmod_toggle_select (h, i); h 141 src/filemanager/chown.c chown_refresh (const Widget *h) h 148 src/filemanager/chown.c widget_gotoyx (h, y + 0, x); h 150 src/filemanager/chown.c widget_gotoyx (h, y + 2, x); h 152 src/filemanager/chown.c widget_gotoyx (h, y + 4, x); h 154 src/filemanager/chown.c widget_gotoyx (h, y + 6, x); h 156 src/filemanager/chown.c widget_gotoyx (h, y + 8, x); h 744 src/filemanager/filegui.c place_progress_buttons (WDialog *h, gboolean suspended) h 747 src/filemanager/filegui.c Widget *w = WIDGET (h); h 431 src/filemanager/filemanager.c midnight_get_title (const WDialog *h, size_t len) h 437 src/filemanager/filemanager.c (void) h; h 484 src/filemanager/find.c WDialog *h = DIALOG (w); h 503 src/filemanager/find.c if (h->ret_value != B_ENTER) h 531 src/filemanager/find.c if (GROUP (h)->current->data == in_name) h 533 src/filemanager/find.c else if (GROUP (h)->current->data == in_with) h 970 src/filemanager/find.c check_find_events (WDialog *h) h 976 src/filemanager/find.c c = tty_get_event (&event, GROUP (h)->mouse_status == MOU_REPEAT, FALSE); h 979 src/filemanager/find.c dlg_process_event (h, c, &event); h 980 src/filemanager/find.c if (h->ret_value == B_ENTER || h->ret_value == B_CANCEL || h->ret_value == B_AGAIN h 981 src/filemanager/find.c || h->ret_value == B_PANELIZE) h 986 src/filemanager/find.c if (!widget_get_state (WIDGET (h), WST_IDLE)) h 1008 src/filemanager/find.c search_content (WDialog *h, const char *directory, const char *filename) h 1034 src/filemanager/find.c status_update (str_trunc (buffer, WIDGET (h)->rect.cols - 8)); h 1129 src/filemanager/find.c status_update (str_trunc (result, WIDGET (h)->rect.cols - 8)); h 1156 src/filemanager/find.c res = check_find_events (h); h 1160 src/filemanager/find.c stop_idle (h); h 1248 src/filemanager/find.c find_rotate_dash (const WDialog *h, gboolean show) h 1252 src/filemanager/find.c const Widget *w = CONST_WIDGET (h); h 1257 src/filemanager/find.c widget_gotoyx (h, w->rect.lines - 7, w->rect.cols - 4); h 1266 src/filemanager/find.c do_search (WDialog *h) h 1276 src/filemanager/find.c if (h == NULL) h 1325 src/filemanager/find.c find_rotate_dash (h, FALSE); h 1326 src/filemanager/find.c stop_idle (h); h 1356 src/filemanager/find.c status_update (str_trunc (directory, WIDGET (h)->rect.cols - 8)); h 1411 src/filemanager/find.c else if (search_content (h, directory, dp->d_name)) h 1422 src/filemanager/find.c find_rotate_dash (h, TRUE); h 1493 src/filemanager/find.c find_calc_button_locations (const WDialog *h, gboolean all_buttons) h 1495 src/filemanager/find.c const int cols = CONST_WIDGET (h)->rect.cols; h 1519 src/filemanager/find.c find_adjust_header (WDialog *h) h 1531 src/filemanager/find.c if (title_len > WIDGET (h)->rect.cols - 6) h 1534 src/filemanager/find.c title_len = WIDGET (h)->rect.cols - 6; h 1542 src/filemanager/find.c frame_set_title (FRAME (h->bg), title); h 1548 src/filemanager/find.c find_relocate_buttons (const WDialog *h, gboolean all_buttons) h 1552 src/filemanager/find.c find_calc_button_locations (h, all_buttons); h 1555 src/filemanager/find.c fbuts[i].button->rect.x = CONST_WIDGET (h)->rect.x + fbuts[i].x; h 1561 src/filemanager/find.c find_resize (WDialog *h) h 1563 src/filemanager/find.c Widget *w = WIDGET (h); h 1569 src/filemanager/find.c find_adjust_header (h); h 1570 src/filemanager/find.c find_relocate_buttons (h, TRUE); h 1580 src/filemanager/find.c WDialog *h = DIALOG (w); h 1586 src/filemanager/find.c find_adjust_header (h); h 1601 src/filemanager/find.c return find_resize (h); h 1604 src/filemanager/find.c do_search (h); h 490 src/filemanager/hotlist.c hotlist_handle_key (WDialog *h, int key) h 501 src/filemanager/hotlist.c h->ret_value = B_ENTER; h 502 src/filemanager/hotlist.c dlg_close (h); h 544 src/filemanager/hotlist.c h->ret_value = B_CANCEL; h 545 src/filemanager/hotlist.c dlg_close (h); h 561 src/filemanager/hotlist.c WDialog *h = DIALOG (w); h 571 src/filemanager/hotlist.c return hotlist_handle_key (h, parm); h 592 src/filemanager/hotlist.c lst = WIDGET (h == hotlist_dlg ? l_hotlist : l_movelist); h 608 src/filemanager/hotlist.c r.lines = LINES - (h == hotlist_dlg ? 2 : 6); h 227 src/filemanager/layout.c update_split (const WDialog *h) h 241 src/filemanager/layout.c widget_gotoyx (h, 6, 5); h 247 src/filemanager/layout.c widget_gotoyx (h, 6, 17); h 253 src/filemanager/layout.c widget_gotoyx (h, 6, 12); h 346 src/filemanager/layout.c WDialog *h = DIALOG (w); h 383 src/filemanager/layout.c widget_gotoyx (h, 9, 5 + 3 + output_lines_label_len); h 393 src/filemanager/layout.c update_split (h); h 416 src/filemanager/layout.c update_split (h); h 442 src/filemanager/layout.c update_split (h); h 469 src/filemanager/layout.c update_split (h); h 287 src/filemanager/listmode.c listmode_done (WDialog *h) h 289 src/filemanager/listmode.c widget_destroy (WIDGET (h)); h 3721 src/filemanager/panel.c WDialog *h = DIALOG (w->owner); h 3728 src/filemanager/panel.c mc_event_add (h->event_group, MCEVENT_HISTORY_LOAD, panel_load_history, w, NULL); h 3730 src/filemanager/panel.c mc_event_add (h->event_group, MCEVENT_HISTORY_SAVE, panel_save_history, w, NULL); h 3767 src/filemanager/panel.c bb = buttonbar_find (h); h 3787 src/filemanager/panel.c mc_event_del (h->event_group, MCEVENT_HISTORY_LOAD, panel_load_history, w); h 3789 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 1109 src/filemanager/tree.c tree_frame (WDialog *h, WTree *tree) h 1113 src/filemanager/tree.c (void) h; h 1147 src/filemanager/tree.c WDialog *h = DIALOG (w->owner); h 1153 src/filemanager/tree.c tree_frame (h, tree); h 1157 src/filemanager/tree.c b = buttonbar_find (h); h 1163 src/filemanager/tree.c b = buttonbar_find (h); h 1335 src/filemanager/tree.c find_tree (const WDialog *h) h 1337 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 404 src/help.c help_print_word (WDialog *h, GString *word, int *col, int *line, gboolean add_space) h 423 src/help.c widget_gotoyx (h, *line + 2, *col + 2); h 448 src/help.c help_show (WDialog *h, const char *paint_start) h 509 src/help.c help_print_word (h, word, &col, &line, FALSE); h 520 src/help.c widget_gotoyx (h, line + 2, col + 2); h 531 src/help.c help_print_word (h, word, &col, &line, FALSE); h 536 src/help.c help_print_word (h, word, &col, &line, FALSE); h 545 src/help.c help_print_word (h, word, &col, &line, c == ' '); h 565 src/help.c widget_gotoyx (h, line + 2, col + 2); h 573 src/help.c SLsmg_draw_object (WIDGET (h)->rect.y + line + 2, h 574 src/help.c WIDGET (h)->rect.x + col + 2, c); h 584 src/help.c help_print_word (h, word, &col, &line, FALSE); h 606 src/help.c widget_gotoyx (h, active_line, active_col); h 613 src/help.c help_help (WDialog *h) h 626 src/help.c widget_draw (WIDGET (h)); h 633 src/help.c help_index (WDialog *h) h 649 src/help.c widget_draw (WIDGET (h)); h 656 src/help.c help_back (WDialog *h) h 664 src/help.c widget_draw (WIDGET (h)); // FIXME: unneeded? h 855 src/help.c help_handle_key (WDialog *h, int key) h 857 src/help.c Widget *w = WIDGET (h); h 887 src/help.c help_resize (WDialog *h) h 889 src/help.c Widget *w = WIDGET (h); h 897 src/help.c bb = buttonbar_find (h); h 908 src/help.c WDialog *h = DIALOG (w); h 913 src/help.c return help_resize (h); h 919 src/help.c ret = help_handle_key (h, parm); h 1926 src/vfs/ftpfs/ftpfs.c int h, sock; h 1937 src/vfs/ftpfs/ftpfs.c h = open (localname, O_RDONLY); h 1938 src/vfs/ftpfs/ftpfs.c if (h == -1) h 1941 src/vfs/ftpfs/ftpfs.c if (fstat (h, &s) == -1) h 1944 src/vfs/ftpfs/ftpfs.c close (h); h 1952 src/vfs/ftpfs/ftpfs.c close (h); h 1968 src/vfs/ftpfs/ftpfs.c while ((n_read = read (h, lc_buffer, sizeof (lc_buffer))) == -1) h 2009 src/vfs/ftpfs/ftpfs.c close (h); h 2019 src/vfs/ftpfs/ftpfs.c close (h); h 976 src/vfs/shell/shell.c int h; h 979 src/vfs/shell/shell.c h = open (localname, O_RDONLY); h 980 src/vfs/shell/shell.c if (h == -1) h 982 src/vfs/shell/shell.c if (fstat (h, &s) < 0) h 984 src/vfs/shell/shell.c close (h); h 1028 src/vfs/shell/shell.c close (h); h 1036 src/vfs/shell/shell.c while ((n = read (h, buffer, sizeof (buffer))) < 0) h 1041 src/vfs/shell/shell.c close (h); h 1042 src/vfs/shell/shell.c h = open ("/dev/zero", O_RDONLY); h 1062 src/vfs/shell/shell.c close (h); h 1069 src/vfs/shell/shell.c close (h); h 418 src/vfs/tar/tar-sparse.c union block *h = current_header; h 427 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->oldgnu_header.sp[i]); h 432 src/vfs/tar/tar-sparse.c for (ext_p = h->oldgnu_header.isextended != 0; rc == add_ok && ext_p; h 433 src/vfs/tar/tar-sparse.c ext_p = h->sparse_header.isextended != 0) h 435 src/vfs/tar/tar-sparse.c h = tar_find_next_block (archive); h 436 src/vfs/tar/tar-sparse.c if (h == NULL) h 439 src/vfs/tar/tar-sparse.c tar_set_next_block_after (h); h 442 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->sparse_header.sp[i]); h 483 src/vfs/tar/tar-sparse.c union block *h = current_header; h 490 src/vfs/tar/tar-sparse.c if (h->star_in_header.prefix[0] == '\0' && h->star_in_header.sp[0].offset[10] != '\0') h 495 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->star_in_header.sp[i]); h 500 src/vfs/tar/tar-sparse.c ext_p = h->star_in_header.isextended != 0; h 503 src/vfs/tar/tar-sparse.c for (; rc == add_ok && ext_p; ext_p = h->star_ext_header.isextended != 0) h 505 src/vfs/tar/tar-sparse.c h = tar_find_next_block (archive); h 506 src/vfs/tar/tar-sparse.c if (h == NULL) h 509 src/vfs/tar/tar-sparse.c tar_set_next_block_after (h); h 512 src/vfs/tar/tar-sparse.c rc = oldgnu_add_sparse (file, &h->star_ext_header.sp[i]); h 723 src/vfs/tar/tar.c struct posix_header const *h = &header->header; h 742 src/vfs/tar/tar.c if (h->prefix[0] != '\0' && strcmp (h->magic, TMAGIC) == 0) h 743 src/vfs/tar/tar.c s1 = g_strndup (h->prefix, sizeof (h->prefix)); h 745 src/vfs/tar/tar.c s2 = g_strndup (h->name, sizeof (h->name)); h 771 src/vfs/tar/tar.c link_name = g_strndup (h->linkname, sizeof (h->linkname)); h 722 src/viewer/actions_cmd.c WDialog *h = DIALOG (w); h 739 src/viewer/actions_cmd.c dlg_close (h); h 80 src/viewer/display.c WDialog *h = DIALOG (w->owner); h 84 src/viewer/display.c b = buttonbar_find (h); h 300 src/viewer/internal.h char *mcview_get_title (const WDialog *h, size_t len); h 381 src/viewer/lib.c mcview_get_title (const WDialog *h, size_t len) h 389 src/viewer/lib.c view = (const WView *) widget_find_by_type (CONST_WIDGET (h), mcview_callback);