h 111 lib/mcconfig.h void mc_config_history_save (mc_config_t * cfg, const char *name, GList * h); h 164 lib/mcconfig/history.c mc_config_history_save (mc_config_t * cfg, const char *name, GList * h) h 170 lib/mcconfig/history.c if (name == NULL || *name == '\0' || h == NULL) h 174 lib/mcconfig/history.c h = g_list_last (h); h 177 lib/mcconfig/history.c for (i = 0; (i < num_history_items_recorded - 1) && (h->prev != NULL); i++) h 178 lib/mcconfig/history.c h = g_list_previous (h); h 191 lib/mcconfig/history.c for (i = 0; h != NULL; h = g_list_next (h)) h 194 lib/mcconfig/history.c char *text = (char *) h->data; h 139 lib/tty/color-internal.c int h[6]; h 148 lib/tty/color-internal.c h[i] = parse_hex_digit (color_name[i]); h 149 lib/tty/color-internal.c if (h[i] == -1) h 154 lib/tty/color-internal.c i = (h[0] << 20) | (h[0] << 16) | (h[1] << 12) | (h[1] << 8) | (h[2] << 4) | h[2]; h 156 lib/tty/color-internal.c i = (h[0] << 20) | (h[1] << 16) | (h[2] << 12) | (h[3] << 8) | (h[4] << 4) | h[5]; h 195 lib/vfs/vfs.c struct vfs_openfile *h; h 200 lib/vfs/vfs.c h = (struct vfs_openfile *) g_ptr_array_index (vfs_openfiles, handle - VFS_FIRST_HANDLE); h 201 lib/vfs/vfs.c if (h == NULL) h 204 lib/vfs/vfs.c g_assert (h->handle == handle); h 206 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 250 lib/vfs/vfs.c struct vfs_openfile *h; h 252 lib/vfs/vfs.c h = vfs_get_openfile (handle); h 254 lib/vfs/vfs.c if (h == NULL) h 258 lib/vfs/vfs.c *fsinfo = h->fsinfo; h 260 lib/vfs/vfs.c return h->vclass; h 272 lib/vfs/vfs.c struct vfs_openfile *h; h 274 lib/vfs/vfs.c h = g_new (struct vfs_openfile, 1); h 275 lib/vfs/vfs.c h->fsinfo = fsinfo; h 276 lib/vfs/vfs.c h->vclass = vclass; h 279 lib/vfs/vfs.c h->handle = vfs_free_handle_list; h 280 lib/vfs/vfs.c if (h->handle == -1) h 283 lib/vfs/vfs.c h->handle = vfs_openfiles->len; h 284 lib/vfs/vfs.c g_ptr_array_add (vfs_openfiles, h); h 289 lib/vfs/vfs.c g_ptr_array_index (vfs_openfiles, h->handle) = h; h 292 lib/vfs/vfs.c h->handle += VFS_FIRST_HANDLE; h 293 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_stop (h); h 284 lib/widget/buttonbar.c find_buttonbar (const WDialog * h) h 286 lib/widget/buttonbar.c return BUTTONBAR (widget_find_by_type (CONST_WIDGET (h), buttonbar_callback)); h 42 lib/widget/buttonbar.h WButtonBar *find_buttonbar (const WDialog * h); h 130 lib/widget/dialog-switch.c dialog_switch_add (WDialog * h) h 134 lib/widget/dialog-switch.c dlg = g_list_find (mc_dialogs, h); h 140 lib/widget/dialog-switch.c mc_dialogs = g_list_prepend (mc_dialogs, h); h 151 lib/widget/dialog-switch.c dialog_switch_remove (WDialog * h) h 155 lib/widget/dialog-switch.c if (DIALOG (mc_current->data) == h) h 158 lib/widget/dialog-switch.c this = g_list_find (mc_dialogs, h); h 223 lib/widget/dialog-switch.c GList *h, *selected; h 234 lib/widget/dialog-switch.c for (h = mc_dialogs; h != NULL; h = g_list_next (h)) h 236 lib/widget/dialog-switch.c WDialog *dlg = DIALOG (h->data); h 244 lib/widget/dialog-switch.c listbox_add_item (listbox->list, LISTBOX_APPEND_BEFORE, get_hotkey (i++), title, h, FALSE); h 263 lib/widget/dialog-switch.c WDialog *h = DIALOG (mc_current->data); h 264 lib/widget/dialog-switch.c Widget *wh = WIDGET (h); h 268 lib/widget/dialog-switch.c ret = dlg_run (h); h 271 lib/widget/dialog-switch.c dlg_destroy (h); h 19 lib/widget/dialog-switch.h void dialog_switch_add (WDialog * h); h 20 lib/widget/dialog-switch.h void dialog_switch_remove (WDialog * h); h 95 lib/widget/dialog.c dlg_read_history (WDialog * h) h 108 lib/widget/dialog.c mc_event_raise (h->event_group, MCEVENT_HISTORY_LOAD, &event_data); h 132 lib/widget/dialog.c dlg_execute_cmd (WDialog * h, long command) h 134 lib/widget/dialog.c WGroup *g = GROUP (h); h 137 lib/widget/dialog.c if (send_message (h, NULL, MSG_ACTION, command, NULL) == MSG_HANDLED) h 143 lib/widget/dialog.c h->ret_value = B_ENTER; h 144 lib/widget/dialog.c dlg_stop (h); h 147 lib/widget/dialog.c h->ret_value = B_CANCEL; h 148 lib/widget/dialog.c dlg_stop (h); h 162 lib/widget/dialog.c ev_help_t event_data = { NULL, h->help_ctx }; h 176 lib/widget/dialog.c if (!widget_get_state (WIDGET (h), WST_MODAL)) h 182 lib/widget/dialog.c if (!widget_get_state (WIDGET (h), WST_MODAL)) h 188 lib/widget/dialog.c if (!widget_get_state (WIDGET (h), WST_MODAL)) h 204 lib/widget/dialog.c dlg_handle_key (WDialog * h, int d_key) h 208 lib/widget/dialog.c command = widget_lookup_key (WIDGET (h), d_key); h 212 lib/widget/dialog.c return dlg_execute_cmd (h, command); h 220 lib/widget/dialog.c dlg_key_event (WDialog * h, int d_key) h 222 lib/widget/dialog.c Widget *w = WIDGET (h); h 223 lib/widget/dialog.c WGroup *g = GROUP (h); h 248 lib/widget/dialog.c handled = send_message (h, NULL, MSG_KEY, d_key, NULL); h 254 lib/widget/dialog.c handled = dlg_handle_key (h, d_key); h 257 lib/widget/dialog.c send_message (h, NULL, MSG_POST_KEY, d_key, NULL); h 280 lib/widget/dialog.c frontend_dlg_run (WDialog * h) h 282 lib/widget/dialog.c Widget *wh = WIDGET (h); h 290 lib/widget/dialog.c send_message (h, NULL, MSG_VALIDATE, 0, NULL); h 318 lib/widget/dialog.c d_key = tty_get_event (&event, GROUP (h)->mouse_status == MOU_REPEAT, TRUE); h 320 lib/widget/dialog.c dlg_process_event (h, d_key, &event); h 323 lib/widget/dialog.c send_message (h, NULL, MSG_VALIDATE, 0, NULL); h 477 lib/widget/dialog.c dlg_stop (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 517 lib/widget/dialog.c h->ret_value = 0; h 523 lib/widget/dialog.c dlg_process_event (WDialog * h, int key, Gpm_Event * event) h 529 lib/widget/dialog.c dlg_execute_cmd (h, CK_Cancel); h 534 lib/widget/dialog.c Widget *w = WIDGET (h); h 536 lib/widget/dialog.c GROUP (h)->mouse_status = w->mouse_handler (w, event); h 541 lib/widget/dialog.c dlg_key_event (h, key); h 550 lib/widget/dialog.c dlg_run_done (WDialog * h) h 552 lib/widget/dialog.c top_dlg = g_list_remove (top_dlg, h); h 554 lib/widget/dialog.c if (widget_get_state (WIDGET (h), WST_CLOSED)) h 556 lib/widget/dialog.c send_message (h, GROUP (h)->current == NULL ? NULL : WIDGET (GROUP (h)->current->data), h 558 lib/widget/dialog.c if (!widget_get_state (WIDGET (h), WST_MODAL)) h 559 lib/widget/dialog.c dialog_switch_remove (h); h 572 lib/widget/dialog.c dlg_run (WDialog * h) h 574 lib/widget/dialog.c dlg_init (h); h 575 lib/widget/dialog.c frontend_dlg_run (h); h 576 lib/widget/dialog.c dlg_run_done (h); h 577 lib/widget/dialog.c return h->ret_value; h 583 lib/widget/dialog.c dlg_destroy (WDialog * h) h 586 lib/widget/dialog.c dlg_save_history (h); h 587 lib/widget/dialog.c group_default_callback (WIDGET (h), NULL, MSG_DESTROY, 0, NULL); h 588 lib/widget/dialog.c mc_event_group_del (h->event_group); h 589 lib/widget/dialog.c g_free (h->event_group); h 590 lib/widget/dialog.c g_free (h); h 601 lib/widget/dialog.c dlg_save_history (WDialog * h) h 623 lib/widget/dialog.c mc_event_raise (h->event_group, MCEVENT_HISTORY_SAVE, &event_data); h 635 lib/widget/dialog.c dlg_get_title (const WDialog * h, size_t len) h 639 lib/widget/dialog.c if (h == NULL) h 642 lib/widget/dialog.c if (h->get_title != NULL) h 643 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 107 lib/widget/dialog.h void dlg_init (WDialog * h); h 109 lib/widget/dialog.h void dlg_destroy (WDialog * h); h 111 lib/widget/dialog.h void dlg_run_done (WDialog * h); h 112 lib/widget/dialog.h void dlg_save_history (WDialog * h); h 113 lib/widget/dialog.h void dlg_process_event (WDialog * h, int key, Gpm_Event * event); h 115 lib/widget/dialog.h char *dlg_get_title (const WDialog * h, size_t len); h 121 lib/widget/dialog.h void dlg_stop (WDialog * h); h 1043 lib/widget/input.c WDialog *h = DIALOG (w->owner); h 1050 lib/widget/input.c mc_event_add (h->event_group, MCEVENT_HISTORY_LOAD, input_load_history, w, NULL); h 1052 lib/widget/input.c mc_event_add (h->event_group, MCEVENT_HISTORY_SAVE, input_save_history, w, NULL); h 1101 lib/widget/input.c mc_event_del (h->event_group, MCEVENT_HISTORY_LOAD, input_load_history, w); h 1103 lib/widget/input.c mc_event_del (h->event_group, MCEVENT_HISTORY_SAVE, input_save_history, w); h 1021 lib/widget/input_complete.c WDialog *h = DIALOG (w); h 1031 lib/widget/input_complete.c h->ret_value = 0; h 1032 lib/widget/input_complete.c dlg_stop (h); h 1040 lib/widget/input_complete.c h->ret_value = 0; h 1041 lib/widget/input_complete.c dlg_stop (h); h 1048 lib/widget/input_complete.c h->ret_value = B_USER; h 1049 lib/widget/input_complete.c dlg_stop (h); h 1087 lib/widget/input_complete.c h->ret_value = B_USER; h 1088 lib/widget/input_complete.c dlg_stop (h); h 1179 lib/widget/input_complete.c h->ret_value = B_ENTER; h 1180 lib/widget/input_complete.c dlg_stop (h); h 1222 lib/widget/input_complete.c int x, y, w, h; h 1240 lib/widget/input_complete.c h = 2 + count; h 1245 lib/widget/input_complete.c h = start_y; h 1250 lib/widget/input_complete.c h = LINES - start_y - 1; h 1263 lib/widget/input_complete.c complete_height = h; h 1269 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 421 lib/widget/listbox.c WDialog *h = DIALOG (WIDGET (l)->owner); h 423 lib/widget/listbox.c h->ret_value = B_ENTER; h 424 lib/widget/listbox.c dlg_stop (h); h 1048 lib/widget/menu.c find_menubar (const WDialog * h) h 1050 lib/widget/menu.c return MENUBAR (widget_find_by_type (CONST_WIDGET (h), menubar_callback)); h 58 lib/widget/menu.h WMenuBar *find_menubar (const WDialog * h); h 68 lib/widget/wtools.c WDialog *h = DIALOG (w); h 82 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 1805 src/diffviewer/ydiff.c GArray *h = NULL; h 1813 src/diffviewer/ydiff.c h = g_array_new (FALSE, FALSE, sizeof (BRACKET)); h 1814 src/diffviewer/ydiff.c if (h != NULL) h 1819 src/diffviewer/ydiff.c hdiff_scan (p->p, p->u.len, q->p, q->u.len, HDIFF_MINCTX, h, h 1823 src/diffviewer/ydiff.c g_array_free (h, TRUE); h 1824 src/diffviewer/ydiff.c h = NULL; h 1828 src/diffviewer/ydiff.c g_ptr_array_add (dview->hdiff, h); h 1849 src/diffviewer/ydiff.c GArray *h; h 1851 src/diffviewer/ydiff.c h = (GArray *) g_ptr_array_index (dview->hdiff, i); h 1852 src/diffviewer/ydiff.c if (h != NULL) h 1853 src/diffviewer/ydiff.c g_array_free (h, TRUE); h 2885 src/diffviewer/ydiff.c Widget *h; h 2895 src/diffviewer/ydiff.c h = WIDGET (WIDGET (dview)->owner); h 2896 src/diffviewer/ydiff.c h_modal = widget_get_state (h, WST_MODAL); h 2901 src/diffviewer/ydiff.c widget_set_state (h, WST_MODAL, TRUE); h 2911 src/diffviewer/ydiff.c widget_set_state (h, WST_MODAL, h_modal); h 3305 src/diffviewer/ydiff.c WDialog *h = DIALOG (w->owner); h 3324 src/diffviewer/ydiff.c dlg_stop (h); h 3332 src/diffviewer/ydiff.c dlg_stop (h); h 3385 src/diffviewer/ydiff.c WDialog *h = DIALOG (w); h 3397 src/diffviewer/ydiff.c dview = (WDiff *) widget_find_by_type (CONST_WIDGET (h), dview_callback); h 3401 src/diffviewer/ydiff.c dlg_stop (h); h 3412 src/diffviewer/ydiff.c dview_get_title (const WDialog * h, size_t len) h 3420 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_error_dialog(h,s) query_dialog (h, s, D_ERROR, 1, _("&Dismiss")) h 75 src/editor/edit-impl.h #define edit_query_dialog(h,s) query_dialog (h, s, D_NORMAL, 1, _("&Dismiss")) h 76 src/editor/edit-impl.h #define edit_query_dialog2(h,t,a,b) query_dialog (h, t, D_NORMAL, 2, a, b) h 77 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, int y, int x, int lines, int cols, h 141 src/editor/edit-impl.h WEdit *find_editor (const WDialog * h); h 143 src/editor/edit-impl.h gboolean edit_drop_hotkey_menu (WDialog * h, int key); h 144 src/editor/edit-impl.h void edit_menu_cmd (WDialog * h); h 188 src/editor/edit-impl.h gboolean edit_load_cmd (WDialog * h); h 189 src/editor/edit-impl.h gboolean edit_load_file_from_history (WDialog * h); h 190 src/editor/edit-impl.h gboolean edit_load_syntax_file (WDialog * h); h 191 src/editor/edit-impl.h gboolean edit_load_menu_file (WDialog * h); h 222 src/editor/edit-impl.h void edit_syntax_onoff_cmd (WDialog * h); h 223 src/editor/edit-impl.h void edit_show_tabs_tws_cmd (WDialog * h); h 224 src/editor/edit-impl.h void edit_show_margin_cmd (WDialog * h); h 225 src/editor/edit-impl.h void edit_show_numbers_cmd (WDialog * h); h 276 src/editor/edit-impl.h void edit_options_dialog (WDialog * h); h 519 src/editor/editcmd.c edit_load_file_from_filename (WDialog * h, const vfs_path_t * vpath) h 521 src/editor/editcmd.c Widget *w = WIDGET (h); h 523 src/editor/editcmd.c return edit_add_window (h, w->y + 1, w->x, w->lines - 2, w->cols, vpath, 0); h 1636 src/editor/editcmd.c edit_syntax_onoff_cmd (WDialog * h) h 1639 src/editor/editcmd.c g_list_foreach (GROUP (h)->widgets, edit_syntax_onoff_cb, NULL); h 1640 src/editor/editcmd.c widget_draw (WIDGET (h)); h 1651 src/editor/editcmd.c edit_show_tabs_tws_cmd (WDialog * h) h 1654 src/editor/editcmd.c widget_draw (WIDGET (h)); h 1665 src/editor/editcmd.c edit_show_margin_cmd (WDialog * h) h 1668 src/editor/editcmd.c widget_draw (WIDGET (h)); h 1679 src/editor/editcmd.c edit_show_numbers_cmd (WDialog * h) h 1683 src/editor/editcmd.c widget_draw (WIDGET (h)); h 2154 src/editor/editcmd.c edit_load_cmd (WDialog * h) h 2168 src/editor/editcmd.c ret = edit_load_file_from_filename (h, exp_vpath); h 2185 src/editor/editcmd.c edit_load_file_from_history (WDialog * h) h 2191 src/editor/editcmd.c exp = show_file_history (CONST_WIDGET (h), &action); h 2197 src/editor/editcmd.c ret = edit_load_file_from_filename (h, exp_vpath); h 2214 src/editor/editcmd.c edit_load_syntax_file (WDialog * h) h 2240 src/editor/editcmd.c ret = edit_load_file_from_filename (h, user_syntax_file_vpath); h 2244 src/editor/editcmd.c ret = edit_load_file_from_filename (h, extdir_vpath); h 2259 src/editor/editcmd.c edit_load_menu_file (WDialog * h) h 2309 src/editor/editcmd.c ret = edit_load_file_from_filename (h, buffer_vpath); h 74 src/editor/editcmd_dialogs.c WDialog *h = DIALOG (w); h 79 src/editor/editcmd_dialogs.c h->ret_value = parm; h 80 src/editor/editcmd_dialogs.c dlg_stop (h); h 191 src/editor/editdraw.c Widget *h = WIDGET (WIDGET (edit)->owner); h 192 src/editor/editdraw.c const int w = h->cols; h 228 src/editor/editdraw.c widget_gotoyx (h, 0, 0); h 238 src/editor/editdraw.c widget_gotoyx (h, 0, w - 6 - 6); h 267 src/editor/editmenu.c edit_drop_menu_cmd (WDialog * h, int which) h 271 src/editor/editmenu.c menubar = find_menubar (h); h 304 src/editor/editmenu.c edit_menu_cmd (WDialog * h) h 306 src/editor/editmenu.c edit_drop_menu_cmd (h, -1); h 312 src/editor/editmenu.c edit_drop_hotkey_menu (WDialog * h, int key) h 342 src/editor/editmenu.c edit_drop_menu_cmd (h, m); h 118 src/editor/editoptions.c edit_options_dialog (WDialog * h) h 200 src/editor/editoptions.c g_list_foreach (GROUP (h)->widgets, edit_reset_over_col, NULL); h 236 src/editor/editoptions.c g_list_foreach (GROUP (h)->widgets, edit_reload_syntax, NULL); h 296 src/editor/editwidget.c edit_window_list (const WDialog * h) h 298 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); h 359 src/editor/editwidget.c edit_get_title (const WDialog * h, size_t len) h 361 src/editor/editwidget.c const WEdit *edit = find_editor (h); h 382 src/editor/editwidget.c edit_dialog_command_execute (WDialog * h, long command) h 384 src/editor/editwidget.c WGroup *g = GROUP (h); h 385 src/editor/editwidget.c Widget *wh = WIDGET (h); h 391 src/editor/editwidget.c edit_add_window (h, wh->y + 1, wh->x, wh->lines - 2, wh->cols, NULL, 0); h 394 src/editor/editwidget.c edit_load_cmd (h); h 397 src/editor/editwidget.c edit_load_file_from_history (h); h 400 src/editor/editwidget.c edit_load_syntax_file (h); h 403 src/editor/editwidget.c edit_load_menu_file (h); h 408 src/editor/editwidget.c edit_close_cmd ((WEdit *) g->current->data) && find_editor (h) == NULL) h 409 src/editor/editwidget.c dlg_stop (h); h 416 src/editor/editwidget.c edit_menu_cmd (h); h 427 src/editor/editwidget.c dlg_stop (h); h 434 src/editor/editwidget.c edit_syntax_onoff_cmd (h); h 437 src/editor/editwidget.c edit_show_tabs_tws_cmd (h); h 440 src/editor/editwidget.c edit_show_margin_cmd (h); h 443 src/editor/editwidget.c edit_show_numbers_cmd (h); h 460 src/editor/editwidget.c edit_window_list (h); h 469 src/editor/editwidget.c edit_options_dialog (h); h 607 src/editor/editwidget.c edit_quit (WDialog * h) h 615 src/editor/editwidget.c widget_set_state (WIDGET (h), WST_ACTIVE, TRUE); h 618 src/editor/editwidget.c for (l = GROUP (h)->widgets; l != NULL; l = g_list_next (l)) h 648 src/editor/editwidget.c dlg_stop (h); h 749 src/editor/editwidget.c WDialog *h = DIALOG (w); h 759 src/editor/editwidget.c menubar_arrange (find_menubar (h)); h 768 src/editor/editwidget.c result = edit_dialog_command_execute (h, parm); h 772 src/editor/editwidget.c if (result == MSG_NOT_HANDLED && sender == WIDGET (find_menubar (h))) h 797 src/editor/editwidget.c ret = edit_dialog_command_execute (h, command); h 819 src/editor/editwidget.c return edit_drop_hotkey_menu (h, parm) ? MSG_HANDLED : MSG_NOT_HANDLED; h 822 src/editor/editwidget.c edit_quit (h); h 855 src/editor/editwidget.c WDialog *h = DIALOG (w); h 858 src/editor/editwidget.c b = find_menubar (h); h 891 src/editor/editwidget.c send_message (h, NULL, MSG_ACTION, CK_Close, NULL); h 1009 src/editor/editwidget.c Widget *h = WIDGET (w->owner); h 1035 src/editor/editwidget.c global_y = CLAMP (global_y, h->y + 1, h->y + h->lines - 2); /* Status line, buttonbar */ h 1036 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 1291 src/editor/editwidget.c find_editor (const WDialog * h) h 1293 src/editor/editwidget.c const WGroup *g = CONST_GROUP (h); h 1297 src/editor/editwidget.c return (WEdit *) widget_find_by_type (CONST_WIDGET (h), edit_callback); h 1367 src/editor/editwidget.c edit_add_window (WDialog * h, int y, int x, int lines, int cols, const vfs_path_t * f, long fline) h 1380 src/editor/editwidget.c group_add_widget_autopos (GROUP (h), w, WPOS_KEEP_ALL, NULL); h 1381 src/editor/editwidget.c edit_set_buttonbar (edit, find_buttonbar (h)); h 1382 src/editor/editwidget.c widget_draw (WIDGET (h)); h 1529 src/editor/editwidget.c Widget *h = WIDGET (w->owner); h 1532 src/editor/editwidget.c widget_set_size (w, h->y + 1, h->x, h->lines - 2, h->cols); 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_stop (h); h 527 src/filemanager/achown.c WDialog *h = DIALOG (g); h 528 src/filemanager/achown.c Widget *wh = WIDGET (h); h 624 src/filemanager/achown.c print_flags (h); h 403 src/filemanager/boxes.c WDialog *h = DIALOG (w); h 415 src/filemanager/boxes.c bar = WIDGET (find_buttonbar (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 150 src/filemanager/chown.c chown_refresh (const Widget * h) h 157 src/filemanager/chown.c widget_gotoyx (h, y + 0, x); h 159 src/filemanager/chown.c widget_gotoyx (h, y + 2, x); h 161 src/filemanager/chown.c widget_gotoyx (h, y + 4, x); h 163 src/filemanager/chown.c widget_gotoyx (h, y + 6, x); h 165 src/filemanager/chown.c widget_gotoyx (h, y + 8, x); h 714 src/filemanager/filegui.c place_progress_buttons (WDialog * h, gboolean suspended) h 717 src/filemanager/filegui.c Widget *w = WIDGET (h); h 438 src/filemanager/filemanager.c midnight_get_title (const WDialog * h, size_t len) h 444 src/filemanager/filemanager.c (void) h; h 480 src/filemanager/find.c WDialog *h = DIALOG (w); h 499 src/filemanager/find.c if (h->ret_value != B_ENTER) h 526 src/filemanager/find.c if (GROUP (h)->current->data == in_name) h 528 src/filemanager/find.c else if (GROUP (h)->current->data == in_with) h 960 src/filemanager/find.c check_find_events (WDialog * h) h 966 src/filemanager/find.c c = tty_get_event (&event, GROUP (h)->mouse_status == MOU_REPEAT, FALSE); h 969 src/filemanager/find.c dlg_process_event (h, c, &event); h 970 src/filemanager/find.c if (h->ret_value == B_ENTER h 971 src/filemanager/find.c || h->ret_value == B_CANCEL || h->ret_value == B_AGAIN || h->ret_value == B_PANELIZE) h 976 src/filemanager/find.c if (!widget_get_state (WIDGET (h), WST_IDLE)) h 998 src/filemanager/find.c search_content (WDialog * h, const char *directory, const char *filename) h 1028 src/filemanager/find.c status_update (str_trunc (buffer, WIDGET (h)->cols - 8)); h 1122 src/filemanager/find.c status_update (str_trunc (result, WIDGET (h)->cols - 8)); h 1148 src/filemanager/find.c res = check_find_events (h); h 1152 src/filemanager/find.c stop_idle (h); h 1241 src/filemanager/find.c find_rotate_dash (const WDialog * h, gboolean show) h 1245 src/filemanager/find.c const Widget *w = CONST_WIDGET (h); h 1250 src/filemanager/find.c widget_gotoyx (h, w->lines - 7, w->cols - 4); h 1259 src/filemanager/find.c do_search (WDialog * h) h 1268 src/filemanager/find.c if (h == NULL) h 1315 src/filemanager/find.c find_rotate_dash (h, FALSE); h 1316 src/filemanager/find.c stop_idle (h); h 1341 src/filemanager/find.c status_update (str_trunc (directory, WIDGET (h)->cols - 8)); h 1397 src/filemanager/find.c else if (search_content (h, directory, dp->d_name)) h 1408 src/filemanager/find.c find_rotate_dash (h, TRUE); h 1479 src/filemanager/find.c find_calc_button_locations (const WDialog * h, gboolean all_buttons) h 1481 src/filemanager/find.c const int cols = CONST_WIDGET (h)->cols; h 1505 src/filemanager/find.c find_adjust_header (WDialog * h) h 1517 src/filemanager/find.c if (title_len > WIDGET (h)->cols - 6) h 1520 src/filemanager/find.c title_len = WIDGET (h)->cols - 6; h 1528 src/filemanager/find.c frame_set_title (FRAME (h->bg), title); h 1534 src/filemanager/find.c find_relocate_buttons (const WDialog * h, gboolean all_buttons) h 1538 src/filemanager/find.c find_calc_button_locations (h, all_buttons); h 1541 src/filemanager/find.c fbuts[i].button->x = CONST_WIDGET (h)->x + fbuts[i].x; h 1547 src/filemanager/find.c find_resize (WDialog * h) h 1549 src/filemanager/find.c Widget *w = WIDGET (h); h 1554 src/filemanager/find.c find_adjust_header (h); h 1555 src/filemanager/find.c find_relocate_buttons (h, TRUE); h 1565 src/filemanager/find.c WDialog *h = DIALOG (w); h 1571 src/filemanager/find.c find_adjust_header (h); h 1586 src/filemanager/find.c return find_resize (h); h 1589 src/filemanager/find.c do_search (h); h 496 src/filemanager/hotlist.c hotlist_handle_key (WDialog * h, int key) h 507 src/filemanager/hotlist.c h->ret_value = B_ENTER; h 508 src/filemanager/hotlist.c dlg_stop (h); h 550 src/filemanager/hotlist.c h->ret_value = B_CANCEL; h 551 src/filemanager/hotlist.c dlg_stop (h); h 567 src/filemanager/hotlist.c WDialog *h = DIALOG (w); h 577 src/filemanager/hotlist.c return hotlist_handle_key (h, parm); h 598 src/filemanager/hotlist.c lst = WIDGET (h == hotlist_dlg ? l_hotlist : l_movelist); h 614 src/filemanager/hotlist.c rect_init (&r, w->y, w->x, LINES - (h == hotlist_dlg ? 2 : 6), COLS - 6); h 230 src/filemanager/layout.c update_split (const WDialog * h) h 244 src/filemanager/layout.c widget_gotoyx (h, 6, 5); h 250 src/filemanager/layout.c widget_gotoyx (h, 6, 17); h 256 src/filemanager/layout.c widget_gotoyx (h, 6, 12); h 349 src/filemanager/layout.c WDialog *h = DIALOG (w); h 388 src/filemanager/layout.c widget_gotoyx (h, 9, 5 + 3 + output_lines_label_len); h 398 src/filemanager/layout.c update_split (h); h 421 src/filemanager/layout.c update_split (h); h 447 src/filemanager/layout.c update_split (h); h 474 src/filemanager/layout.c update_split (h); h 274 src/filemanager/listmode.c listmode_done (WDialog * h) h 276 src/filemanager/listmode.c dlg_destroy (h); h 3634 src/filemanager/panel.c WDialog *h = DIALOG (w->owner); h 3641 src/filemanager/panel.c mc_event_add (h->event_group, MCEVENT_HISTORY_LOAD, panel_load_history, w, NULL); h 3643 src/filemanager/panel.c mc_event_add (h->event_group, MCEVENT_HISTORY_SAVE, panel_save_history, w, NULL); h 3678 src/filemanager/panel.c bb = find_buttonbar (h); h 3699 src/filemanager/panel.c mc_event_del (h->event_group, MCEVENT_HISTORY_LOAD, panel_load_history, w); h 3701 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_stop (h); h 1117 src/filemanager/tree.c tree_frame (WDialog * h, WTree * tree) h 1121 src/filemanager/tree.c (void) h; h 1155 src/filemanager/tree.c WDialog *h = DIALOG (w->owner); h 1161 src/filemanager/tree.c tree_frame (h, tree); h 1165 src/filemanager/tree.c b = find_buttonbar (h); h 1171 src/filemanager/tree.c b = find_buttonbar (h); h 1342 src/filemanager/tree.c find_tree (const WDialog * h) h 1344 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 403 src/help.c help_print_word (WDialog * h, GString * word, int *col, int *line, gboolean add_space) h 422 src/help.c widget_gotoyx (h, *line + 2, *col + 2); h 447 src/help.c help_show (WDialog * h, const char *paint_start) h 503 src/help.c help_print_word (h, word, &col, &line, FALSE); h 514 src/help.c widget_gotoyx (h, line + 2, col + 2); h 525 src/help.c help_print_word (h, word, &col, &line, FALSE); h 530 src/help.c help_print_word (h, word, &col, &line, FALSE); h 539 src/help.c help_print_word (h, word, &col, &line, c == ' '); h 559 src/help.c widget_gotoyx (h, line + 2, col + 2); h 567 src/help.c SLsmg_draw_object (WIDGET (h)->y + line + 2, WIDGET (h)->x + col + 2, h 578 src/help.c help_print_word (h, word, &col, &line, FALSE); h 600 src/help.c widget_gotoyx (h, active_line, active_col); h 607 src/help.c help_help (WDialog * h) h 620 src/help.c widget_draw (WIDGET (h)); h 627 src/help.c help_index (WDialog * h) h 643 src/help.c widget_draw (WIDGET (h)); h 650 src/help.c help_back (WDialog * h) h 658 src/help.c widget_draw (WIDGET (h)); /* FIXME: unneeded? */ h 849 src/help.c help_handle_key (WDialog * h, int key) h 851 src/help.c Widget *w = WIDGET (h); h 881 src/help.c help_resize (WDialog * h) h 883 src/help.c Widget *w = WIDGET (h); h 890 src/help.c bb = find_buttonbar (h); h 901 src/help.c WDialog *h = DIALOG (w); h 906 src/help.c return help_resize (h); h 912 src/help.c ret = help_handle_key (h, parm); h 975 src/vfs/fish/fish.c int h; h 978 src/vfs/fish/fish.c h = open (localname, O_RDONLY); h 979 src/vfs/fish/fish.c if (h == -1) h 981 src/vfs/fish/fish.c if (fstat (h, &s) < 0) h 983 src/vfs/fish/fish.c close (h); h 1029 src/vfs/fish/fish.c close (h); h 1037 src/vfs/fish/fish.c while ((n = read (h, buffer, sizeof (buffer))) < 0) h 1042 src/vfs/fish/fish.c close (h); h 1043 src/vfs/fish/fish.c h = open ("/dev/zero", O_RDONLY); h 1063 src/vfs/fish/fish.c close (h); h 1070 src/vfs/fish/fish.c close (h); h 1871 src/vfs/ftpfs/ftpfs.c int h, sock; h 1882 src/vfs/ftpfs/ftpfs.c h = open (localname, O_RDONLY); h 1883 src/vfs/ftpfs/ftpfs.c if (h == -1) h 1886 src/vfs/ftpfs/ftpfs.c if (fstat (h, &s) == -1) h 1888 src/vfs/ftpfs/ftpfs.c close (h); h 1896 src/vfs/ftpfs/ftpfs.c close (h); h 1912 src/vfs/ftpfs/ftpfs.c while ((n_read = read (h, lc_buffer, sizeof (lc_buffer))) == -1) h 1953 src/vfs/ftpfs/ftpfs.c close (h); h 1963 src/vfs/ftpfs/ftpfs.c close (h); h 780 src/viewer/actions_cmd.c WDialog *h = DIALOG (w); h 797 src/viewer/actions_cmd.c dlg_stop (h); h 82 src/viewer/display.c WDialog *h = DIALOG (w->owner); h 86 src/viewer/display.c b = find_buttonbar (h); h 312 src/viewer/internal.h char *mcview_get_title (const WDialog * h, size_t len); h 376 src/viewer/lib.c mcview_get_title (const WDialog * h, size_t len) h 384 src/viewer/lib.c view = (const WView *) widget_find_by_type (CONST_WIDGET (h), mcview_callback);