ARB
|
#include <awt_canvas.hxx>
Protected Attributes | |
screen_update_callback | announce_update_cb |
AW_CL | user_data |
Definition at line 298 of file awt_canvas.hxx.
AWT_canvas::AWT_canvas | ( | GBDATA * | gb_main_, |
AW_window * | aww_, | ||
const char * | gc_base_name_, | ||
AWT_graphic * | gfx_ | ||
) |
Definition at line 798 of file AWT_canvas.cxx.
References AW_get_drag_gc(), AW_MIDDLE_AREA, AWT_expose_cb(), aww, canvas_focus_cb(), canvas_resize_cb(), AWT_graphic::drag_gc, gc_manager, gfx, input_event(), motion_event(), NULp, scroll_hor_cb(), scroll_vert_cb(), AW_window::set_expose_callback(), AW_window::set_focus_callback(), AW_window::set_horizontal_change_callback(), AW_window::set_input_callback(), AW_window::set_motion_callback(), AW_window::set_resize_callback(), and AW_window::set_vertical_change_callback().
|
inlinevirtual |
Definition at line 348 of file awt_canvas.hxx.
void AWT_canvas::init_device | ( | AW_device * | device | ) |
Definition at line 106 of file AWT_canvas.cxx.
References AW_device::reset(), AW_zoomable::shift(), and AW_zoomable::zoom().
Referenced by canvas_to_xfig(), clip_expose(), input_event(), motion_event(), NT_jump_cb(), and SEC_root::perform_autoscroll().
void AWT_canvas::set_scrollbars | ( | ) |
Definition at line 76 of file AWT_canvas.cxx.
References AW::Vector::x(), and AW::Vector::y().
Definition at line 589 of file AWT_canvas.cxx.
References awt_assert, AWT_ZOOM_BOTH, AWT_ZOOM_NEVER, AWT_ZOOM_X, and AWT_ZOOM_Y.
Referenced by motion_event().
Definition at line 62 of file AWT_canvas.cxx.
Definition at line 69 of file AWT_canvas.cxx.
|
inline |
Definition at line 59 of file AWT_canvas.cxx.
References gb_main, and GB_push_transaction().
Referenced by canvas_focus_cb(), input_event(), and motion_event().
|
inline |
Definition at line 60 of file AWT_canvas.cxx.
References gb_main, and GB_pop_transaction().
Referenced by canvas_focus_cb(), input_event(), and motion_event().
|
inline |
Definition at line 354 of file awt_canvas.hxx.
References AWT_graphic::exports, and AWT_graphic_exports::inside_auto_refresh().
|
inline |
Definition at line 362 of file awt_canvas.hxx.
References AWT_graphic::exports, and AWT_graphic_exports::request_refresh().
Referenced by AWT_expose_cb(), AWT_GC_changed_cb(), bootstrap_range_changed_cb(), GEN_gene_container_changed_cb(), GEN_jump_cb_auto(), GEN_map_window_refresh(), GEN_mode_event(), group_awar_changed_cb(), handleZoomEvent(), import_structure_from_file(), mark_nontree_cb(), NT_delete_mark_all_cb(), NT_undo_cb(), refreshCanvas(), reinit_NDS_4_window(), SEC_delete_structure(), sec_mode_event(), SEC_rename_structure(), SEC_toggle_cb(), SEC_undo_cb(), transl_def_changed_cb(), and TREE_auto_jump_cb().
|
inline |
Definition at line 363 of file awt_canvas.hxx.
References AWT_graphic::exports, and AWT_graphic_exports::request_resize().
Referenced by AWT_GC_changed_cb(), CreateRNA3DMainWindow(), createSaiProbeMatchWindow(), GEN_map_window::init(), NT_jump_cb(), start_SECEDIT_plugin(), TREE_recompute_and_resize_cb(), and TREE_resize_cb().
|
inline |
Definition at line 364 of file awt_canvas.hxx.
References AWT_graphic::exports, and AWT_graphic_exports::request_zoom_reset().
Referenced by canvas_resize_cb(), GEN_jump_cb_auto(), handleZoomEvent(), NT_reload_tree_event(), NT_reset_lzoom_cb(), NT_reset_pzoom_cb(), NT_set_tree_style(), SEC_fit_window_cb(), and SEC_new_structure().
|
inline |
Definition at line 365 of file awt_canvas.hxx.
References AWT_graphic::exports, and AWT_graphic_exports::request_structure_update().
Referenced by mark_tree_cb(), NT_mark_all_cb(), NT_mark_duplicates(), TREE_recompute_and_resize_cb(), and tree_recompute_cb().
|
inline |
Definition at line 366 of file awt_canvas.hxx.
References AWT_graphic::exports, and AWT_graphic_exports::request_save().
Referenced by AP_user_pop_cb(), and NT_pseudo_species_to_organism().
|
inline |
Definition at line 368 of file awt_canvas.hxx.
References AWT_graphic::exports, and AWT_graphic_exports::request_save_and_zoom_reset().
Referenced by NT_edit_bootstrap(), NT_justify_branch_lenghs(), NT_move_boot_branch(), NT_multifurcate_tree(), NT_remove_bootstrap(), NT_remove_leafs(), NT_reset_branchlengths(), NT_resort_tree_cb(), NT_scale_tree(), and NT_with_displayed_tree_do().
void AWT_canvas::instant_refresh | ( | ) |
Definition at line 373 of file AWT_canvas.cxx.
References assert_no_auto_refresh_for, AW_MIDDLE_AREA, AW_device::clear(), clip_expose(), and TRACE_UPDATE().
Referenced by refresh_without_dbsync(), and AWT_graphic_exports::update_display_as_requested().
void AWT_canvas::instant_resize | ( | bool | adjust_scrollbars | ) |
Definition at line 112 of file AWT_canvas.cxx.
References assert_no_auto_refresh_for, AW_MIDDLE_AREA, AW_SIZE, AW_SIZE_UNSCALED, gb_main, AW_device::get_area_size(), AW_device_size::get_size_information(), AW_device_size::get_unscaleable_overlap(), AW_screen_area::r, AW_device::reset(), AW_device::set_filter(), ta, and TRACE_UPDATE().
Referenced by AWT_graphic_exports::update_display_as_requested().
void AWT_canvas::instant_zoom_reset | ( | ) |
Definition at line 156 of file AWT_canvas.cxx.
References aw_assert, AWT_FIT_LARGER, AWT_FIT_NEVER, AWT_FIT_SMALLER, AWT_FIT_X, AWT_FIT_Y, AWT_MIN_WIDTH, AWT_ZOOM_X, AWT_ZOOM_Y, EPS, max, min, and TRACE_UPDATE().
Referenced by AWT_graphic_exports::update_display_as_requested().
|
inline |
Definition at line 378 of file awt_canvas.hxx.
Referenced by AWT_graphic_tree::apply_zoom_settings_for_treetype().
void AWT_canvas::zoom | ( | AW_device * | device, |
bool | zoomIn, | ||
const AW::Rectangle & | wanted_part, | ||
const AW::Rectangle & | current_part, | ||
int | percent | ||
) |
Definition at line 205 of file AWT_canvas.cxx.
References aw_message(), awt_assert, AWT_ZOOM_BOTH, AWT_ZOOM_NEVER, AWT_ZOOM_X, AWT_ZOOM_Y, AW::LineVector::centroid(), AW::Rectangle::diagonal(), EPS, AW::Rectangle::height(), if, AW::Vector::length(), AW::LineVector::line_vector(), max, min, AW_zoomable::rtransform(), and AW::Rectangle::width().
Referenced by handleZoomEvent().
|
inline |
Definition at line 382 of file awt_canvas.hxx.
Referenced by ButtonPressEventHandler(), CreateRNA3DMainWindow(), GEN_mode_event(), GEN_map_window::init(), nt_mode_event(), popup_new_main_window(), sec_mode_event(), and start_SECEDIT_plugin().
Definition at line 703 of file AWT_canvas.cxx.
References AW_MIDDLE_AREA, AW_SCREEN, clip_expose(), CLIP_OVERLAP, AW_device::move_region(), AW_device::reset(), and AW_device::set_filter().
Referenced by motion_event(), NT_jump_cb(), SEC_root::perform_autoscroll(), scroll(), scroll_hor_cb(), and scroll_vert_cb().
|
inline |
Definition at line 385 of file awt_canvas.hxx.
References scroll(), AW::Vector::x(), and AW::Vector::y().
Definition at line 454 of file AWT_canvas.cxx.
References AW_BUTTON_LEFT, AW_BUTTON_RIGHT, AW_KEYMODE_ALT, AW_KEYMODE_CONTROL, AW_Mouse_Press, AW_Mouse_Release, AW_WHEEL_DOWN, AW_WHEEL_UP, AW_event::button, handleZoomEvent(), AW_event::keymodifier, min, and AW_event::type.
Referenced by input_event().
|
inline |
Definition at line 391 of file awt_canvas.hxx.
Referenced by RNA3D_Graphics::init_devices(), GEN_graphic::init_devices(), SAI_graphic::init_devices(), and AWT_graphic_tree::init_devices().
void AWT_canvas::sync_DB_model_and_view | ( | bool | perform_refresh | ) |
Definition at line 515 of file AWT_canvas.cxx.
Referenced by NT_jump_cb(), and AWT_auto_refresh::~AWT_auto_refresh().
|
inline |
Definition at line 395 of file awt_canvas.hxx.
References announce_update_cb.
Referenced by clip_expose().
|
inline |
Definition at line 397 of file awt_canvas.hxx.
References AW_window::is_shown().
Referenced by NT_get_canvas_showing_tree().
|
protected |
Definition at line 304 of file awt_canvas.hxx.
Referenced by announce_screen_update(), and TREE_canvas::at_screen_update_call().
|
protected |
Definition at line 305 of file awt_canvas.hxx.
Referenced by TREE_canvas::at_screen_update_call().
AW_pos AWT_canvas::trans_to_fit |
Definition at line 310 of file awt_canvas.hxx.
Referenced by canvas_to_xfig(), and get_drawsize().
AW_pos AWT_canvas::shift_x_to_fit |
Definition at line 311 of file awt_canvas.hxx.
AW_pos AWT_canvas::shift_y_to_fit |
Definition at line 312 of file awt_canvas.hxx.
int AWT_canvas::old_hor_scroll_pos |
Definition at line 314 of file awt_canvas.hxx.
Referenced by scroll_hor_cb().
int AWT_canvas::old_vert_scroll_pos |
Definition at line 315 of file awt_canvas.hxx.
Referenced by scroll_vert_cb().
AW_screen_area AWT_canvas::rect |
Definition at line 316 of file awt_canvas.hxx.
Referenced by handleZoomEvent().
AW_world AWT_canvas::worldinfo |
Definition at line 317 of file awt_canvas.hxx.
AW_world AWT_canvas::worldsize |
Definition at line 318 of file awt_canvas.hxx.
int AWT_canvas::zoom_drag_sx |
Definition at line 319 of file awt_canvas.hxx.
Referenced by handleZoomEvent(), and nt_draw_zoom_box().
int AWT_canvas::zoom_drag_sy |
Definition at line 320 of file awt_canvas.hxx.
Referenced by handleZoomEvent(), and nt_draw_zoom_box().
int AWT_canvas::zoom_drag_ex |
Definition at line 321 of file awt_canvas.hxx.
Referenced by handleZoomEvent(), input_event(), motion_event(), and nt_draw_zoom_box().
int AWT_canvas::zoom_drag_ey |
Definition at line 322 of file awt_canvas.hxx.
Referenced by handleZoomEvent(), input_event(), motion_event(), and nt_draw_zoom_box().
int AWT_canvas::drag |
Definition at line 323 of file awt_canvas.hxx.
Referenced by handleZoomEvent().
GBDATA* AWT_canvas::gb_main |
Definition at line 336 of file awt_canvas.hxx.
Referenced by AWT_auto_refresh::AWT_auto_refresh(), canvas_focus_cb(), canvas_to_printer(), canvas_to_xfig(), clip_expose(), get_drawsize(), group_and_refold_tree(), mark_action(), mark_nontree_cb(), mark_tree_cb(), MP_close_main(), MP_Main::MP_Main(), MP_mark_probes_in_tree(), MP_normal_colors_in_tree(), MP_show_probes_in_tree(), NT_activate_configMarkers_display(), NT_create_compare_taxonomy_window(), NT_create_config_after_import(), nt_create_config_after_import(), NT_delete_mark_all_cb(), NT_edit_bootstrap(), NT_infomode_cb(), NT_jump_cb(), NT_justify_branch_lenghs(), NT_mark_all_cb(), NT_mark_duplicates(), NT_move_boot_branch(), NT_multifurcate_tree(), NT_pseudo_species_to_organism(), NT_reload_tree_event(), NT_remove_bootstrap(), NT_remove_leafs(), NT_reset_branchlengths(), NT_reset_lzoom_cb(), NT_reset_pzoom_cb(), NT_resort_tree_cb(), NT_scale_tree(), NT_with_displayed_tree_do(), PARS_infomode_cb(), pars_start_cb(), probe_match_with_specificity_event(), refresh_without_dbsync(), selected_configs_awar_changed_cb(), and TREE_install_update_callbacks().
AW_window* AWT_canvas::aww |
Definition at line 337 of file awt_canvas.hxx.
Referenced by AWT_canvas(), canvas_to_xfig(), CreateRNA3DMainWindow(), get_drawsize(), input_event(), multifurcation_cb(), NT_create_multifurcate_tree_window(), NT_create_sort_tree_by_other_tree_window(), NT_get_canvas_showing_tree(), NT_jump_cb(), SEC_root::perform_autoscroll(), and TREE_auto_jump_cb().
AW_root* AWT_canvas::awr |
Definition at line 338 of file awt_canvas.hxx.
Referenced by awt_print_tree_check_size(), canvas_to_xfig(), canvas_updated_cb(), NT_activate_configMarkers_display(), nt_create_config_after_import(), NT_infomode_cb(), nt_mode_event(), NT_optimize(), NT_recursiveNNI(), TREE_canvas_registry::register_canvas(), and TREE_install_update_callbacks().
AWT_graphic* AWT_canvas::gfx |
Definition at line 339 of file awt_canvas.hxx.
Referenced by AWT_auto_refresh::AWT_auto_refresh(), AWT_canvas(), canvas_to_xfig(), clip_expose(), get_drawsize(), TREE_canvas::get_graphic_tree(), input_event(), motion_event(), nt_draw_zoom_box(), NT_jump_cb(), NT_reload_tree_event(), NT_TreeShader::NT_TreeShader(), SEC_root::perform_autoscroll(), refresh_matchedProbesDisplay_cb(), refresh_without_dbsync(), selected_configs_awar_changed_cb(), AWT_auto_refresh::suppress_update_and_refresh(), TREE_recompute_and_resize_cb(), and AWT_auto_refresh::~AWT_auto_refresh().
AW_gc_manager* AWT_canvas::gc_manager |
Definition at line 341 of file awt_canvas.hxx.
Referenced by AWT_canvas(), CreateRNA3DMainWindow(), createSaiProbeMatchWindow(), GEN_map_window::init(), pars_start_cb(), popup_new_main_window(), and start_SECEDIT_plugin().
AWT_COMMAND_MODE AWT_canvas::mode |
Definition at line 343 of file awt_canvas.hxx.
Referenced by input_event(), and motion_event().