ARB
|
#include <TreeDisplay.hxx>
Go to the source code of this file.
void nt_mode_event | ( | UNFIXED | , |
TREE_canvas * | ntw, | ||
AWT_COMMAND_MODE | mode | ||
) |
Definition at line 30 of file TreeCallbacks.cxx.
References AW_root::awar(), AWAR_FOOTER, AWAR_FOOTER_MAX_LEN, AWT_canvas::awr, AWT_MODE_EMPTY, AWT_MODE_GROUP, AWT_MODE_INFO, AWT_MODE_KERNINGHAN, AWT_MODE_LENGTH, AWT_MODE_LINE, AWT_MODE_LZOOM, AWT_MODE_MARK, AWT_MODE_MOVE, AWT_MODE_MULTIFURC, AWT_MODE_NNI, AWT_MODE_OPTIMIZE, AWT_MODE_ROTATE, AWT_MODE_SELECT, AWT_MODE_SETROOT, AWT_MODE_SPREAD, AWT_MODE_SWAP, AWT_MODE_WWW, AWT_MODE_ZOOM, KEYINFO_ABORT, KEYINFO_ABORT_AND_RESET, KEYINFO_RESET, MODE_TEXT_1BUTTON, MODE_TEXT_1BUTTON_KEYS, MODE_TEXT_2BUTTONS, MODE_TEXT_2BUTTONS_KEYS, MODE_TEXT_PLACEHOLDER, MODE_TEXT_STANDARD_ZOOMMODE, no_mode_text_defined(), AWT_canvas::set_mode(), td_assert, and AW_awar::write_string().
Referenced by NT_infomode_cb(), PARS_infomode_cb(), pars_start_cb(), and popup_new_main_window().
void NT_mark_all_cb | ( | UNFIXED | , |
TREE_canvas * | ntw, | ||
int | mark_mode | ||
) |
Definition at line 144 of file TreeCallbacks.cxx.
References aw_message(), COUNTING_MARKED, error(), GB_await_error(), AWT_canvas::gb_main, GBT_get_default_alignment(), GBT_mark_all(), GBT_mark_all_that(), MARK_MODE_LOWER_BITS, MARK_MODE_UPPER_BITS, NULp, AWT_canvas::request_structure_update(), sequence_is_partial(), show_count(), species_has_alignment(), ta, and td_assert.
Referenced by insert_mark_topics(), mark_action(), NT_mark_duplicates(), and BranchWindow::unmark_all().
void NT_insert_mark_submenus | ( | AW_window_menu_modes * | awm, |
TREE_canvas * | ntw, | ||
int | insert_as_submenu | ||
) |
Definition at line 403 of file TreeCallbacks.cxx.
References AWM_ALL, AWM_EXP, AW_window::close_sub_menu(), insert_mark_topics(), AW_window::insert_sub_menu(), NULp, and AW_window::sep______________().
Referenced by pars_start_cb(), and popup_new_main_window().
void NT_expand_marked_cb | ( | UNFIXED | , |
TREE_canvas * | ntw | ||
) |
Definition at line 448 of file TreeCallbacks.cxx.
References EXPAND_MARKED, and group_and_refold_tree().
Referenced by MP_group_all_except_marked(), and NT_insert_collapse_submenu().
void NT_insert_collapse_submenu | ( | AW_window_menu_modes * | awm, |
TREE_canvas * | ntw | ||
) |
Definition at line 498 of file TreeCallbacks.cxx.
References AWM_ALL, AW_window::close_sub_menu(), collapse_all_cb(), collapse_terminal_cb(), expand_all_cb(), expand_unmarked_cb(), expand_zombies_cb(), insert_color_collapse_submenu(), AW_window::insert_menu_topic(), AW_window::insert_sub_menu(), AW_window::local_id(), NT_expand_marked_cb(), and AW_window::sep______________().
Referenced by pars_start_cb(), and popup_new_main_window().
GB_ERROR NT_with_displayed_tree_do | ( | TREE_canvas * | ntw, |
bool(*)(TreeNode *tree, GB_ERROR &error) | displayed_tree_cb | ||
) |
Definition at line 518 of file TreeCallbacks.cxx.
References AWT_TREE, error(), AWT_canvas::gb_main, NULp, AWT_canvas::request_save_and_zoom_reset(), and ta.
Referenced by sort_tree_by_other_tree_cb().
void NT_resort_tree_cb | ( | UNFIXED | , |
TREE_canvas * | ntw, | ||
TreeOrder | order | ||
) |
Definition at line 531 of file TreeCallbacks.cxx.
References AWT_TREE, AWT_canvas::gb_main, AWT_canvas::request_save_and_zoom_reset(), and ta.
Referenced by pars_start_cb(), and popup_new_main_window().
void NT_reset_lzoom_cb | ( | UNFIXED | , |
TREE_canvas * | ntw | ||
) |
Definition at line 539 of file TreeCallbacks.cxx.
References AWT_TREE, AWT_canvas::gb_main, AWT_graphic_tree::get_root_node(), AWT_canvas::request_zoom_reset(), AWT_graphic_tree::set_logical_root_to(), and ta.
Referenced by pars_start_cb(), and popup_new_main_window().
void NT_reset_pzoom_cb | ( | UNFIXED | , |
TREE_canvas * | ntw | ||
) |
Definition at line 548 of file TreeCallbacks.cxx.
References AWT_canvas::gb_main, AWT_canvas::request_zoom_reset(), and ta.
Referenced by pars_start_cb(), and popup_new_main_window().
void NT_set_tree_style | ( | UNFIXED | , |
TREE_canvas * | ntw, | ||
AP_tree_display_style | style | ||
) |
Definition at line 554 of file TreeCallbacks.cxx.
References AP_JUMP_REASON_STYLE, AWT_TREE, NULp, AWT_canvas::request_zoom_reset(), and TREE_auto_jump_cb().
Referenced by NT_reinit_treetype(), pars_start_cb(), and popup_new_main_window().
void NT_reinit_treetype | ( | UNFIXED | , |
TREE_canvas * | ntw | ||
) |
Definition at line 563 of file TreeCallbacks.cxx.
References AWT_TREE, NT_set_tree_style(), and NULp.
Referenced by TREE_install_update_callbacks().
void NT_remove_leafs | ( | UNFIXED | , |
TREE_canvas * | ntw, | ||
AWT_RemoveType | mode | ||
) |
Definition at line 567 of file TreeCallbacks.cxx.
References aw_message(), AWT_TREE, AWT_canvas::gb_main, AWT_canvas::request_save_and_zoom_reset(), and ta.
Referenced by pars_start_cb(), and popup_new_main_window().
void NT_remove_bootstrap | ( | UNFIXED | , |
TREE_canvas * | ntw | ||
) |
Definition at line 581 of file TreeCallbacks.cxx.
References aw_message(), AWT_TREE, AWT_canvas::gb_main, TreeNode::remove_bootstrap(), AWT_canvas::request_save_and_zoom_reset(), and ta.
Referenced by pars_start_cb(), and popup_new_main_window().
void NT_edit_bootstrap | ( | UNFIXED | , |
TREE_canvas * | ntw | ||
) |
Definition at line 595 of file TreeCallbacks.cxx.
References TreeNode::apply_aci_to_remarks(), aw_input(), aw_message(), AWT_TREE, GB_transaction::close(), error(), AWT_canvas::gb_main, TREE_canvas::get_awar_tree(), NULp, AW_awar::read_string(), AWT_canvas::request_save_and_zoom_reset(), and ta.
Referenced by popup_new_main_window().
void NT_reset_branchlengths | ( | UNFIXED | , |
TREE_canvas * | ntw | ||
) |
Definition at line 622 of file TreeCallbacks.cxx.
References aw_message(), AWT_TREE, AWT_canvas::gb_main, AWT_canvas::request_save_and_zoom_reset(), TreeNode::reset_branchlengths(), and ta.
Referenced by popup_new_main_window().
void NT_multifurcate_tree | ( | TREE_canvas * | ntw, |
const TreeNode::multifurc_limits & | below | ||
) |
Definition at line 636 of file TreeCallbacks.cxx.
References aw_message(), AWT_TREE, AWT_canvas::gb_main, TreeNode::multifurcate_whole_tree(), AWT_canvas::request_save_and_zoom_reset(), and ta.
Referenced by multifurcation_cb().
void NT_move_boot_branch | ( | UNFIXED | , |
TREE_canvas * | ntw, | ||
int | direction | ||
) |
Definition at line 650 of file TreeCallbacks.cxx.
References AW_advice(), AW_ADVICE_TOGGLE_AND_HELP, aw_message(), AWT_TREE, TreeNode::bootstrap2branchlen(), TreeNode::branchlen2bootstrap(), AWT_canvas::gb_main, GBS_global_string_copy(), NULp, AWT_canvas::request_save_and_zoom_reset(), and ta.
Referenced by popup_new_main_window().
void NT_scale_tree | ( | UNFIXED | , |
TREE_canvas * | ntw | ||
) |
Definition at line 671 of file TreeCallbacks.cxx.
References aw_input(), aw_message(), AWT_TREE, AWT_canvas::gb_main, AWT_canvas::request_save_and_zoom_reset(), TreeNode::scale_branchlengths(), and ta.
Referenced by popup_new_main_window().
void NT_jump_cb | ( | UNFIXED | , |
TREE_canvas * | ntw, | ||
AP_tree_jump_type | jumpType | ||
) |
Definition at line 694 of file TreeCallbacks.cxx.
References AP_DONT_JUMP, AP_JUMP_ALLOW_HCENTER, AP_JUMP_AUTO_UNFOLD, AP_JUMP_BE_VERBOOSE, AP_JUMP_FORCE_HCENTER, AP_JUMP_FORCE_VCENTER, AP_JUMP_LOGICAL_UNZOOM, AP_LIST_NDS, AP_LIST_SIMPLE, AP_TREE_IRS, AP_TREE_NORMAL, AP_TREE_RADIAL, AW::are_distinct(), AWT_graphic_tree::auto_unfold(), aw_message(), AW_MIDDLE_AREA, AW_SIZE, AW_SIZE_UNSCALED, AW_root::awar(), AWAR_SPECIES_NAME, AWT_TREE, AWT_canvas::aww, AW_screen_area::b, common_ancestor(), AWT_graphic::exports, TreeNode::findLeafNamed(), AWT_canvas::gb_main, GBS_global_string_copy(), AW_device::get_area_size(), AWT_graphic_tree::get_cursor(), AWT_graphic_tree::get_group_cursor(), Group::get_group_data(), AWT_graphic_tree::get_logical_root(), Group::get_name(), AW_window::get_root(), AWT_graphic_tree::get_root_node(), AWT_graphic_tree::get_selected_group(), AW_window::get_size_device(), AWT_graphic_tree::get_tree_style(), AWT_canvas::gfx, AWT_canvas::init_device(), TreeNode::is_clade(), AP_tree::is_inside_folded_group(), AWT_graphic_tree::is_logically_zoomed(), is_tree(), is_tree_style(), AWT_graphic_tree::locate_selected_group(), NULp, AW::Origin, AW_screen_area::r, AW_awar::read_char_pntr(), AWT_graphic_exports::request_refresh(), AWT_canvas::request_resize(), AW_device::reset(), AWT_canvas::scroll(), AW_device::set_filter(), AWT_graphic_tree::set_logical_root_to(), AWT_graphic::show(), AWT_canvas::sync_DB_model_and_view(), ta, td_assert, AW_zoomable::transform(), AW::Position::xpos(), and AW::Position::ypos().
Referenced by pars_start_cb(), popup_new_main_window(), and TREE_auto_jump_cb().
void TREE_auto_jump_cb | ( | UNFIXED | , |
TREE_canvas * | ntw, | ||
AP_tree_jump_reason | cause | ||
) |
jump to species when tree/treemode/species changes
cause | reason why auto-jump was triggered |
Definition at line 864 of file TreeCallbacks.cxx.
References AP_DONT_JUMP, AP_JUMP_AUTO_UNFOLD, AP_JUMP_REASON_STYLE, AP_JUMP_REASON_TREE, AW_root::awar(), AWAR_DTREE_AUTO_JUMP, AWAR_DTREE_AUTO_JUMP_TREE, AWAR_DTREE_AUTO_UNFOLD, AWT_canvas::aww, AW_window::get_root(), NT_jump_cb(), NULp, AW_awar::read_int(), and AWT_canvas::request_refresh().
Referenced by canvas_tree_awar_changed_cb(), group_awar_changed_cb(), NT_set_tree_style(), and TREE_install_update_callbacks().
void NT_reload_tree_event | ( | AW_root * | , |
TREE_canvas * | ntw, | ||
bool | unzoom_and_expose | ||
) |
Definition at line 887 of file TreeCallbacks.cxx.
References AWT_graphic_tree::auto_unfold(), aw_message(), AWT_graphic_tree::deselect_group(), DOWNCAST, error(), AWT_graphic_tree::forget_auto_unfolded(), AWT_canvas::gb_main, GB_pop_transaction(), GB_push_transaction(), GBS_global_string(), TREE_canvas::get_awar_tree(), ARB_seqtree_root::get_gb_tree(), TREE_canvas::get_graphic_tree(), AWT_graphic_tree::get_tree_root(), AWT_canvas::gfx, AWT_graphic::load_from_DB(), NULp, plural(), AW_awar::read_string(), AWT_canvas::request_zoom_reset(), AWT_auto_refresh::suppress_update_and_refresh(), and td_assert.
Referenced by canvas_tree_awar_changed_cb(), pars_start_cb(), and popup_new_main_window().
void TREE_GC_changed_cb | ( | GcChange | whatChanged, |
AWT_canvas * | ntw | ||
) |
Definition at line 942 of file TreeCallbacks.cxx.
References AWT_GC_changed_cb(), GC_COLOR_GROUP_USE_CHANGED, NULp, and tree_recompute_cb().
Referenced by AWT_graphic_tree::init_devices().
Definition at line 953 of file TreeCallbacks.cxx.
References GBS_write_hash(), mark_nontree_cb_data::hash, TreeNode::is_leaf(), TreeNode::name, and NT_remove_species_in_tree_from_hash().
Referenced by mark_nontree_cb(), nt_add(), nt_add_partial(), and NT_remove_species_in_tree_from_hash().