ARB
|
#include <ed4_class.hxx>
Static Public Member Functions | |
static ED4_window * | insert_window (AW_window_menu_modes *new_aww) |
Public Attributes | |
AW_window_menu_modes * | aww |
ED4_window * | next |
int | slider_pos_horizontal |
int | slider_pos_vertical |
ED4_scrolled_rectangle | scrolled_rect |
int | id |
ED4_coords | coords |
char | awar_path_for_cursor [50] |
char | awar_path_for_Ecoli [50] |
char | awar_path_for_basePos [50] |
char | awar_path_for_IUPAC [50] |
char | awar_path_for_helixNr [50] |
bool | is_hidden |
ED4_cursor | cursor |
Static Public Attributes | |
static int | no_of_windows = 0 |
Additional Inherited Members | |
Protected Member Functions inherited from ED4_foldable | |
void | reset () |
bool | is_reset () const |
Definition at line 701 of file ed4_class.hxx.
ED4_window::ED4_window | ( | AW_window_menu_modes * | window | ) |
Definition at line 428 of file ED4_window.cxx.
References ED4_root::aw_root, AW_ROOT_DEFAULT, AWAR_EDIT_BASE_POSITION, AWAR_EDIT_ECOLI_POSITION, AWAR_EDIT_HELIXNR, AWAR_EDIT_IUPAC, AWAR_EDIT_SEQ_POSITION, AW_root::awar_int(), awar_path_for_basePos, awar_path_for_cursor, awar_path_for_Ecoli, awar_path_for_helixNr, awar_path_for_IUPAC, AW_root::awar_string(), ED4_coords::clear(), coords, ED4_IUPAC_EMPTY, and ED4_ROOT.
Referenced by insert_window().
ED4_window::~ED4_window | ( | ) |
Definition at line 456 of file ED4_window.cxx.
References aww, and no_of_windows.
|
static |
Definition at line 395 of file ED4_window.cxx.
References AW_MIDDLE_AREA, ED4_expose_cb(), ED4_G_STANDARD, ED4_horizontal_change_cb(), ED4_input_cb(), ED4_motion_cb(), ED4_resize_cb(), ED4_ROOT, ED4_vertical_change_cb(), ED4_window(), ED4_root::first_window, next, AW_window::set_expose_callback(), AW_window::set_horizontal_change_callback(), AW_window::set_input_callback(), AW_window::set_motion_callback(), AW_window::set_resize_callback(), AW_window::set_vertical_change_callback(), and ED4_root::temp_gc.
Referenced by ED4_root::generate_window().
void ED4_window::delete_window | ( | ED4_window * | window | ) |
Definition at line 349 of file ED4_window.cxx.
References ED4_root::aw_root, AW_root::awar(), awar_path_for_basePos, awar_path_for_cursor, awar_path_for_Ecoli, awar_path_for_helixNr, awar_path_for_IUPAC, ED4_IUPAC_EMPTY, ED4_ROOT, ED4_root::first_window, next, AW_awar::write_int(), and AW_awar::write_string().
Referenced by ED4_exit().
void ED4_window::reset_all_for_new_config | ( | ) |
Definition at line 20 of file ED4_window.cxx.
References ED4_root::aw_root, AW_root::awar(), awar_path_for_basePos, awar_path_for_cursor, awar_path_for_Ecoli, awar_path_for_helixNr, awar_path_for_IUPAC, coords, e4_assert, ED4_IUPAC_EMPTY, ED4_ROOT, ED4_foldable::is_reset(), ED4_coords::middle_area_x, ED4_coords::middle_area_y, next, ED4_scrolled_rectangle::reset(), reset_all_for_new_config(), scrolled_rect, slider_pos_horizontal, slider_pos_vertical, ED4_coords::top_area_height, ED4_coords::top_area_x, ED4_coords::top_area_y, ED4_coords::window_height, ED4_coords::window_left_clip_point, ED4_coords::window_lower_clip_point, ED4_coords::window_right_clip_point, ED4_coords::window_upper_clip_point, ED4_coords::window_width, AW_awar::write_int(), and AW_awar::write_string().
Referenced by ED4_load_new_config(), and reset_all_for_new_config().
ED4_window * ED4_window::get_matching_ed4w | ( | AW_window * | aww | ) |
Definition at line 107 of file ED4_window.cxx.
References aww, e4_assert, ED4_ROOT, ED4_root::first_window, and next.
Referenced by ED4_menu_highlight(), and ED4_WinContext::ED4_WinContext().
|
inline |
Definition at line 731 of file ed4_class.hxx.
References ED4_cursor::announce_deletion().
void ED4_window::update_scrolled_rectangle | ( | ) |
Definition at line 144 of file ED4_window.cxx.
References ED4_scrolled_rectangle::add_to_top_left_dimension(), aww, AW_screen_area::b, ED4_scrolled_rectangle::calc_bottomRight_folding_dimensions(), AW_window::calculate_scrollbars(), check_valid_scrollbar_values(), e4_assert, ED4_scrolled_rectangle::exists(), AW_device::get_area_size(), get_device(), ED4_scrolled_rectangle::get_world_rect(), ED4_scrolled_rectangle::is_linked(), AW_screen_area::r, scrolled_rect, ED4_scrolled_rectangle::set_rect_and_update_folding_line_positions(), AW_window::slider_pos_horizontal, slider_pos_horizontal, AW_window::slider_pos_vertical, slider_pos_vertical, AW_window::tell_scrolled_picture_size(), and update_window_coords().
Referenced by ED4_root::create_hierarchy(), ED4_compression_changed_cb(), ED4_expose_cb(), ED4_new_editor_window(), ED4_resize_cb(), and update_scrolled_rectangles().
ED4_returncode ED4_window::scroll_rectangle | ( | int | dx, |
int | dy | ||
) |
Definition at line 291 of file ED4_window.cxx.
References abs, coords, ED4_R_OK, get_device(), ED4_scrolled_rectangle::get_window_rect(), AW::Rectangle::lower_right_corner(), ED4_coords::middle_area_x, move_and_update_rectangle(), AW_device::pop_clip_scale(), AW_device::push_clip_scale(), ED4_scrolled_rectangle::scroll(), scrolled_rect, ED4_coords::top_area_height, ED4_coords::top_area_y, update_rectangle(), AW::Rectangle::upper_left_corner(), AW::Position::xpos(), and AW::Position::ypos().
Referenced by ED4_horizontal_change_cb(), ED4_scrollbar_change_cb(), and ED4_vertical_change_cb().
ED4_returncode ED4_window::set_scrolled_rectangle | ( | ED4_base * | x_link, |
ED4_base * | y_link, | ||
ED4_base * | width_link, | ||
ED4_base * | height_link | ||
) |
Definition at line 183 of file ED4_window.cxx.
References AW_screen_area::b, ED4_scrolled_rectangle::create_folding_lines(), ED4_scrolled_rectangle::destroy_folding_lines(), e4_assert, ED4_R_OK, AW_device::get_area_size(), get_device(), ED4_scrolled_rectangle::get_world_rect(), ED4_scrolled_rectangle::link(), ED4_update_info::linked_to_scrolled_rectangle, AW_screen_area::r, scrolled_rect, ED4_scrolled_rectangle::set_rect(), and ED4_base::update_info.
Referenced by ED4_root::create_hierarchy(), and ED4_new_editor_window().
|
inline |
Definition at line 738 of file ed4_class.hxx.
References fputs(), ED4_scrolled_rectangle::left_dim(), AW_window::slider_pos_horizontal, AW_window::slider_pos_vertical, and ED4_scrolled_rectangle::top_dim().
Referenced by check_valid_scrollbar_values().
|
inline |
Definition at line 759 of file ed4_class.hxx.
References e4_assert, and scrollbars_and_scrolledRect_inSync().
Referenced by update_scrolled_rectangle().
|
inline |
Definition at line 761 of file ed4_class.hxx.
References ED4_coords::window_left_clip_point, and ED4_coords::window_right_clip_point.
Referenced by ED4_cursor::is_completely_visible(), and ED4_cursor::is_partly_visible().
Definition at line 208 of file ED4_base.cxx.
References coords, e4_assert, ranges_overlap(), ED4_coords::window_left_clip_point, ED4_coords::window_lower_clip_point, ED4_coords::window_right_clip_point, and ED4_coords::window_upper_clip_point.
Referenced by ED4_cursor::is_partly_visible().
Definition at line 219 of file ED4_base.cxx.
References coords, e4_assert, range_contained_in(), ED4_coords::window_left_clip_point, ED4_coords::window_lower_clip_point, ED4_coords::window_right_clip_point, and ED4_coords::window_upper_clip_point.
Referenced by ED4_cursor::is_completely_visible().
void ED4_window::update_window_coords | ( | ) |
Definition at line 52 of file ED4_window.cxx.
References AW_window::_get_area_size(), AW_MIDDLE_AREA, aww, AW_screen_area::b, ED4_base::calc_world_coords(), coords, ED4_ROOT, ED4_base::extension, HEIGHT, ED4_scroll_links::link_for_hor_slider, long, ED4_root::middle_area_man, ED4_coords::middle_area_x, ED4_coords::middle_area_y, AW_screen_area::r, ED4_root::scroll_links, ED4_extension::size, AW_window::slider_pos_horizontal, AW_window::slider_pos_vertical, ED4_coords::top_area_height, ED4_root::top_area_man, ED4_coords::top_area_x, ED4_coords::top_area_y, ED4_coords::window_height, ED4_coords::window_left_clip_point, ED4_coords::window_lower_clip_point, ED4_coords::window_right_clip_point, ED4_coords::window_upper_clip_point, ED4_coords::window_width, and y.
Referenced by ED4_root::create_hierarchy(), ED4_horizontal_change_cb(), ED4_scrollbar_change_cb(), ED4_vertical_change_cb(), and update_scrolled_rectangle().
|
inline |
Definition at line 767 of file ed4_class.hxx.
References AW_MIDDLE_AREA, and AW_window::get_device().
Referenced by ED4_calc_terminal_extentions(), ED4_cursor::jump_screen_pos(), scroll_rectangle(), EDB_root_bact::search_sequence_data_rek(), set_scrolled_rectangle(), and update_scrolled_rectangle().
AW_window_menu_modes* ED4_window::aww |
Definition at line 705 of file ed4_class.hxx.
Referenced by ED4_root::create_first_window(), ED4_root::create_hierarchy(), current_aww(), ED4_exit(), ED4_new_editor_window(), ED4_root::generate_window(), get_matching_ed4w(), ED4_cursor::jump_screen_pos(), jump_to_next_helix_cb(), ED4_terminal::scroll_into_view(), scrollHalfPage(), ED4_cursor::set_screen_relative_pos(), update_scrolled_rectangle(), update_window_coords(), and ~ED4_window().
ED4_window* ED4_window::next |
Definition at line 706 of file ed4_class.hxx.
Referenced by ED4_root::create_hierarchy(), delete_window(), ED4_exit(), ED4_load_new_config(), ED4_root::generate_window(), get_matching_ed4w(), insert_window(), ED4_root::refresh_all_windows(), ED4_root::remove_all_callbacks(), reset_all_for_new_config(), ED4_base::~ED4_base(), and ED4_terminal::~ED4_terminal().
int ED4_window::slider_pos_horizontal |
Definition at line 707 of file ed4_class.hxx.
Referenced by ED4_root::copy_window_struct(), ED4_horizontal_change_cb(), ED4_scrollbar_change_cb(), reset_all_for_new_config(), and update_scrolled_rectangle().
int ED4_window::slider_pos_vertical |
Definition at line 708 of file ed4_class.hxx.
Referenced by ED4_root::copy_window_struct(), ED4_scrollbar_change_cb(), ED4_vertical_change_cb(), reset_all_for_new_config(), and update_scrolled_rectangle().
ED4_scrolled_rectangle ED4_window::scrolled_rect |
Definition at line 709 of file ed4_class.hxx.
Referenced by reset_all_for_new_config(), scroll_rectangle(), scrollHalfPage(), set_scrolled_rectangle(), update_scrolled_rectangle(), and ED4_base::~ED4_base().
int ED4_window::id |
Definition at line 710 of file ed4_class.hxx.
Referenced by ED4_popup_search_window().
ED4_coords ED4_window::coords |
Definition at line 711 of file ed4_class.hxx.
Referenced by ED4_abstract_sequence_terminal::calc_update_interval(), completely_shows(), ED4_root::copy_window_struct(), ED4_horizontal_change_cb(), ED4_scrollbar_change_cb(), ED4_vertical_change_cb(), ED4_window(), ED4_cursor::get_screen_relative_pos(), ED4_cursor::jump_screen_pos(), partly_shows(), reset_all_for_new_config(), ED4_terminal::scroll_into_view(), scroll_rectangle(), and update_window_coords().
|
static |
Definition at line 713 of file ed4_class.hxx.
Referenced by ED4_root::generate_window(), and ~ED4_window().
char ED4_window::awar_path_for_cursor[50] |
Definition at line 715 of file ed4_class.hxx.
Referenced by delete_window(), ED4_window(), and reset_all_for_new_config().
char ED4_window::awar_path_for_Ecoli[50] |
Definition at line 716 of file ed4_class.hxx.
Referenced by delete_window(), ED4_window(), and reset_all_for_new_config().
char ED4_window::awar_path_for_basePos[50] |
Definition at line 717 of file ed4_class.hxx.
Referenced by delete_window(), ED4_window(), and reset_all_for_new_config().
char ED4_window::awar_path_for_IUPAC[50] |
Definition at line 718 of file ed4_class.hxx.
Referenced by delete_window(), ED4_window(), and reset_all_for_new_config().
char ED4_window::awar_path_for_helixNr[50] |
Definition at line 719 of file ed4_class.hxx.
Referenced by delete_window(), ED4_window(), jump_to_next_helix_cb(), and reset_all_for_new_config().
bool ED4_window::is_hidden |
Definition at line 721 of file ed4_class.hxx.
Referenced by ED4_quit_editor(), and ED4_root::generate_window().
ED4_cursor ED4_window::cursor |
Definition at line 722 of file ed4_class.hxx.
Referenced by current_cursor(), detect_current_ref_terminal(), ED4_exit(), ED4_menu_highlight(), ED4_with_whole_block(), and redraw_cursor().