cb 18 lib/event.h mc_event_callback_func_t cb; cb 105 lib/event/event.c events[array_index].cb, events[array_index].init_data, mcerror)) cb 65 lib/event/manage.c mc_event_callback_t *cb; cb 84 lib/event/manage.c cb = mc_event_is_callback_in_array (callbacks, event_callback, event_init_data); cb 85 lib/event/manage.c if (cb == NULL) cb 87 lib/event/manage.c cb = g_new0 (mc_event_callback_t, 1); cb 88 lib/event/manage.c cb->callback = event_callback; cb 89 lib/event/manage.c g_ptr_array_add (callbacks, (gpointer) cb); cb 91 lib/event/manage.c cb->init_data = event_init_data; cb 103 lib/event/manage.c mc_event_callback_t *cb; cb 117 lib/event/manage.c cb = mc_event_is_callback_in_array (callbacks, event_callback, event_init_data); cb 118 lib/event/manage.c if (cb != NULL) cb 119 lib/event/manage.c g_ptr_array_remove (callbacks, (gpointer) cb); cb 209 lib/event/manage.c mc_event_callback_t *cb = g_ptr_array_index (callbacks, array_index); cb 210 lib/event/manage.c if (cb->callback == event_callback && cb->init_data == event_init_data) cb 211 lib/event/manage.c return cb; cb 68 lib/event/raise.c mc_event_callback_t *cb = g_ptr_array_index (callbacks, array_index - 1); cb 69 lib/event/raise.c if (!(*cb->callback) (event_group_name, event_name, cb->init_data, event_data)) cb 295 lib/widget/group.c group_default_find_by_type (const Widget *w, widget_cb_fn cb) cb 299 lib/widget/group.c w0 = widget_default_find_by_type (w, cb); cb 306 lib/widget/group.c w0 = widget_find_by_type (WIDGET (iter->data), cb); cb 24 lib/widget/quick.h #define QUICK_BUTTON(txt, act, cb, id_) \ cb 34 lib/widget/quick.h .callback = cb \ cb 746 lib/widget/widget-common.c widget_default_find_by_type (const Widget *w, widget_cb_fn cb) cb 748 lib/widget/widget-common.c return (w->callback == cb ? WIDGET (w) : NULL); cb 166 lib/widget/widget-common.h Widget *(*find_by_type) (const Widget * w, widget_cb_fn cb); cb 232 lib/widget/widget-common.h Widget *widget_default_find_by_type (const Widget * w, widget_cb_fn cb); cb 348 lib/widget/widget-common.h widget_find_by_type (const Widget *w, widget_cb_fn cb) cb 350 lib/widget/widget-common.h return w->find_by_type (w, cb); cb 762 src/filemanager/achown.c #define XTRACT(i,y,cb) y, BX+advanced_chown_but[i].x, \ cb 764 src/filemanager/achown.c (advanced_chown_but[i].text), cb cb 392 src/filemanager/chattr.c chattr_toggle_select (const WChattrBoxes *cb, int Id) cb 397 src/filemanager/chattr.c w = WIDGET (g_list_nth_data (CONST_GROUP (cb)->widgets, Id - cb->top)); cb 408 src/filemanager/chattr.c chattrboxes_draw_scrollbar (const WChattrBoxes *cb) cb 410 src/filemanager/chattr.c const Widget *w = CONST_WIDGET (cb); cb 417 src/filemanager/chattr.c if (cb->top == 0) cb 426 src/filemanager/chattr.c if (cb->top + w->rect.lines == check_attr_mod_num || w->rect.lines >= check_attr_mod_num) cb 432 src/filemanager/chattr.c line = 1 + (cb->pos * (w->rect.lines - 2)) / check_attr_mod_num; cb 447 src/filemanager/chattr.c chattrboxes_draw (WChattrBoxes *cb) cb 449 src/filemanager/chattr.c Widget *w = WIDGET (cb); cb 464 src/filemanager/chattr.c chattrboxes_draw_scrollbar (cb); cb 467 src/filemanager/chattr.c for (i = cb->top, l = GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) cb 474 src/filemanager/chattr.c chattrboxes_rename (WChattrBoxes *cb) cb 476 src/filemanager/chattr.c Widget *w = WIDGET (cb); cb 487 src/filemanager/chattr.c for (i = cb->top, l = GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) cb 508 src/filemanager/chattr.c checkboxes_save_state (const WChattrBoxes *cb) cb 513 src/filemanager/chattr.c for (i = cb->top, l = CONST_GROUP (cb)->widgets; l != NULL; i++, l = g_list_next (l)) cb 524 src/filemanager/chattr.c chattrboxes_down (WChattrBoxes *cb) cb 526 src/filemanager/chattr.c if (cb->pos == cb->top + WIDGET (cb)->rect.lines - 1) cb 531 src/filemanager/chattr.c if (cb->pos == check_attr_mod_num - 1) cb 536 src/filemanager/chattr.c checkboxes_save_state (cb); cb 537 src/filemanager/chattr.c cb->pos++; cb 538 src/filemanager/chattr.c cb->top++; cb 539 src/filemanager/chattr.c chattrboxes_rename (cb); cb 546 src/filemanager/chattr.c cb->pos++; cb 547 src/filemanager/chattr.c l = g_list_next (GROUP (cb)->current); cb 557 src/filemanager/chattr.c chattrboxes_page_down (WChattrBoxes *cb) cb 559 src/filemanager/chattr.c WGroup *g = GROUP (cb); cb 562 src/filemanager/chattr.c if (cb->pos == check_attr_mod_num - 1) cb 571 src/filemanager/chattr.c int i = WIDGET (cb)->rect.lines; cb 573 src/filemanager/chattr.c checkboxes_save_state (cb); cb 575 src/filemanager/chattr.c if (cb->top > check_attr_mod_num - 2 * i) cb 576 src/filemanager/chattr.c i = check_attr_mod_num - i - cb->top; cb 577 src/filemanager/chattr.c if (cb->top + i < 0) cb 578 src/filemanager/chattr.c i = -cb->top; cb 581 src/filemanager/chattr.c cb->pos = check_attr_mod_num - 1; cb 582 src/filemanager/chattr.c cb->top += i; cb 587 src/filemanager/chattr.c cb->pos += i; cb 588 src/filemanager/chattr.c cb->top += i; cb 589 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); cb 592 src/filemanager/chattr.c chattrboxes_rename (cb); cb 603 src/filemanager/chattr.c chattrboxes_end (WChattrBoxes *cb) cb 607 src/filemanager/chattr.c checkboxes_save_state (cb); cb 608 src/filemanager/chattr.c cb->pos = check_attr_mod_num - 1; cb 609 src/filemanager/chattr.c cb->top = cb->pos - WIDGET (cb)->rect.lines + 1; cb 610 src/filemanager/chattr.c l = g_list_last (GROUP (cb)->widgets); cb 611 src/filemanager/chattr.c chattrboxes_rename (cb); cb 620 src/filemanager/chattr.c chattrboxes_up (WChattrBoxes *cb) cb 622 src/filemanager/chattr.c if (cb->pos == cb->top) cb 627 src/filemanager/chattr.c if (cb->top == 0) cb 632 src/filemanager/chattr.c checkboxes_save_state (cb); cb 633 src/filemanager/chattr.c cb->pos--; cb 634 src/filemanager/chattr.c cb->top--; cb 635 src/filemanager/chattr.c chattrboxes_rename (cb); cb 642 src/filemanager/chattr.c cb->pos--; cb 643 src/filemanager/chattr.c l = g_list_previous (GROUP (cb)->current); cb 653 src/filemanager/chattr.c chattrboxes_page_up (WChattrBoxes *cb) cb 655 src/filemanager/chattr.c WGroup *g = GROUP (cb); cb 658 src/filemanager/chattr.c if (cb->pos == 0 && cb->top == 0) cb 667 src/filemanager/chattr.c int i = WIDGET (cb)->rect.lines; cb 669 src/filemanager/chattr.c checkboxes_save_state (cb); cb 671 src/filemanager/chattr.c if (cb->top < i) cb 672 src/filemanager/chattr.c i = cb->top; cb 675 src/filemanager/chattr.c cb->pos = 0; cb 676 src/filemanager/chattr.c cb->top -= i; cb 681 src/filemanager/chattr.c cb->pos -= i; cb 682 src/filemanager/chattr.c cb->top -= i; cb 683 src/filemanager/chattr.c l = g_list_nth (g->widgets, cb->pos - cb->top); cb 686 src/filemanager/chattr.c chattrboxes_rename (cb); cb 697 src/filemanager/chattr.c chattrboxes_home (WChattrBoxes *cb) cb 701 src/filemanager/chattr.c checkboxes_save_state (cb); cb 702 src/filemanager/chattr.c cb->pos = 0; cb 703 src/filemanager/chattr.c cb->top = 0; cb 704 src/filemanager/chattr.c l = g_list_first (GROUP (cb)->widgets); cb 705 src/filemanager/chattr.c chattrboxes_rename (cb); cb 714 src/filemanager/chattr.c chattrboxes_execute_cmd (WChattrBoxes *cb, long command) cb 719 src/filemanager/chattr.c return chattrboxes_down (cb); cb 722 src/filemanager/chattr.c return chattrboxes_page_down (cb); cb 725 src/filemanager/chattr.c return chattrboxes_end (cb); cb 728 src/filemanager/chattr.c return chattrboxes_up (cb); cb 731 src/filemanager/chattr.c return chattrboxes_page_up (cb); cb 734 src/filemanager/chattr.c return chattrboxes_home (cb); cb 739 src/filemanager/chattr.c chattr_toggle_select (cb, cb->pos); /* FIXME */ cb 741 src/filemanager/chattr.c chattrboxes_down (cb); cb 754 src/filemanager/chattr.c chattrboxes_key (WChattrBoxes *cb, int key) cb 758 src/filemanager/chattr.c command = widget_lookup_key (WIDGET (cb), key); cb 761 src/filemanager/chattr.c return chattrboxes_execute_cmd (cb, command); cb 769 src/filemanager/chattr.c WChattrBoxes *cb = CHATTRBOXES (w); cb 775 src/filemanager/chattr.c chattrboxes_draw (cb); cb 788 src/filemanager/chattr.c i += cb->top; cb 792 src/filemanager/chattr.c chattr_toggle_select (cb, i); cb 806 src/filemanager/chattr.c cb->pos = cb->top + i; cb 814 src/filemanager/chattr.c ret = chattrboxes_key (cb, parm); cb 822 src/filemanager/chattr.c return chattrboxes_execute_cmd (cb, parm); cb 826 src/filemanager/chattr.c checkboxes_save_state (cb); cb 853 src/filemanager/chattr.c WChattrBoxes *cb = CHATTRBOXES (w); cb 860 src/filemanager/chattr.c chattrboxes_up (cb); cb 864 src/filemanager/chattr.c chattrboxes_down (cb); cb 879 src/filemanager/chattr.c WChattrBoxes *cb; cb 884 src/filemanager/chattr.c cb = g_new0 (WChattrBoxes, 1); cb 885 src/filemanager/chattr.c w = WIDGET (cb); cb 886 src/filemanager/chattr.c cbg = GROUP (cb); cb 902 src/filemanager/chattr.c chattrboxes_rename (cb); cb 907 src/filemanager/chattr.c return cb; cb 969 src/filemanager/chattr.c WChattrBoxes *cb; cb 1018 src/filemanager/chattr.c cb = chattrboxes_new (&r); cb 1019 src/filemanager/chattr.c group_add_widget_autopos (dg, cb, WPOS_KEEP_TOP | WPOS_KEEP_HORZ, NULL); cb 1073 src/filemanager/chattr.c widget_select (WIDGET (cb));