ARB
|
#include <ed4_class.hxx>
Public Attributes | |
bool | allowed_to_draw |
ED4_terminal * | owner_of_cursor |
Definition at line 628 of file ed4_class.hxx.
ED4_cursor::ED4_cursor | ( | ED4_window * | win | ) |
Definition at line 376 of file ED4_cursor.cxx.
References allowed_to_draw, ED4_root::aw_root, AW_root::awar(), ED4_AWAR_CURSOR_TYPE, ED4_CURSOR_TYPES, ED4_ROOT, init(), NULp, and AW_awar::read_int().
ED4_cursor::~ED4_cursor | ( | ) |
Definition at line 389 of file ED4_cursor.cxx.
bool ED4_cursor::is_partly_visible | ( | ) | const |
Definition at line 1278 of file ED4_cursor.cxx.
References ED4_base::calc_world_coords(), e4_assert, ED4_A_MIDDLE_AREA, ED4_A_TOP_AREA, ED4_base::get_area_level(), ED4_CursorShape::get_bounding_box(), is_hidden_inside_group(), NULp, owner_of_cursor, ED4_window::partly_shows(), ED4_window::shows_xpos(), and y.
Referenced by HideCursor(), and show_cursor_at().
bool ED4_cursor::is_completely_visible | ( | ) | const |
Definition at line 1304 of file ED4_cursor.cxx.
References ED4_base::calc_world_coords(), ED4_window::completely_shows(), e4_assert, ED4_A_MIDDLE_AREA, ED4_A_TOP_AREA, ED4_base::get_area_level(), ED4_CursorShape::get_bounding_box(), is_hidden_inside_group(), NULp, owner_of_cursor, ED4_window::shows_xpos(), and y.
Referenced by set_to_terminal().
bool ED4_cursor::is_hidden_inside_group | ( | ) | const |
Definition at line 1267 of file ED4_cursor.cxx.
References e4_assert, ED4_base::get_parent(), in_consensus_terminal(), ED4_base::is_in_folded_group(), LEV_GROUP, and owner_of_cursor.
Referenced by is_completely_visible(), and is_partly_visible().
void ED4_cursor::changeType | ( | ED4_CursorType | typ | ) |
Definition at line 782 of file ED4_cursor.cxx.
References ED4_root::aw_root, AW_root::awar(), ED4_AWAR_CURSOR_TYPE, ED4_C_NONE, ED4_ROOT, HideCursor(), owner_of_cursor, ShowCursor(), and AW_awar::write_int().
Referenced by ED4_change_cursor(), and redraw().
|
inline |
Definition at line 652 of file ed4_class.hxx.
Referenced by ED4_change_cursor(), and redraw().
|
inline |
Definition at line 654 of file ed4_class.hxx.
References changeType(), and getType().
Referenced by redraw_cursor().
ED4_returncode ED4_cursor::HideCursor | ( | ) |
Definition at line 771 of file ED4_cursor.cxx.
References ED4_R_OK, is_partly_visible(), NULp, and owner_of_cursor.
Referenced by changeType(), and jump_to_corresponding_seq_terminal().
ED4_returncode ED4_cursor::move_cursor | ( | AW_event * | event | ) |
Definition at line 1154 of file ED4_cursor.cxx.
References AW_KEY_DOWN, AW_KEY_END, AW_KEY_HOME, AW_KEY_UP, AW_KEYMODE_ALT, AW_KEYMODE_CONTROL, ED4_root::aw_root, AW_root::awar(), ED4_base::calc_world_coords(), e4_assert, ED4_A_TOP_AREA, ED4_AWAR_FAST_CURSOR_JUMP, ED4_C_DOWN, ED4_C_NONE, ED4_C_UP, ED4_JUMP_KEEP_VISIBLE, ED4_R_IMPOSSIBLE, ED4_R_OK, ED4_ROOT, has_base_at::fulfilled_by(), ED4_base::get_area_level(), get_sequence_pos(), get_upper_lower_cursor_pos(), ED4_terminal::is_hidden(), AW_event::keycode, AW_event::keymodifier, ED4_root::main_manager, NULp, owner_of_cursor, AW_awar::read_int(), result, set_to_terminal(), window(), and ED4_foldable::world_to_win_coords().
Referenced by executeKeystroke().
ED4_returncode ED4_cursor::show_clicked_cursor | ( | AW_pos | click_xpos, |
ED4_terminal * | target_terminal | ||
) |
Definition at line 1470 of file ED4_cursor.cxx.
References ED4_base::calc_world_coords(), ED4_ROOT, ED4_root::pixel2pos(), and show_cursor_at().
Referenced by ED4_terminal::event_sent_by_parent().
ED4_returncode ED4_cursor::show_cursor_at | ( | ED4_terminal * | target_terminal, |
ED4_index | what_pos | ||
) |
Definition at line 1432 of file ED4_cursor.cxx.
References ED4_base::calc_world_coords(), CHARACTEROFFSET, DRAW, ED4_G_SEQUENCES, ED4_R_OK, ED4_ROOT, ED4_root::font_group, ED4_root::get_gb_main(), AW_font_group::get_width(), is_partly_visible(), NULp, owner_of_cursor, ED4_terminal::scroll_into_view(), ta, window(), and ED4_foldable::world_to_win_coords().
Referenced by set_to_terminal(), and show_clicked_cursor().
ED4_returncode ED4_cursor::ShowCursor | ( | ED4_index | offset_x, |
ED4_cursor_move | move, | ||
int | move_pos = 1 |
||
) |
Definition at line 1235 of file ED4_cursor.cxx.
References allow_update_global_cursorpos, allowed_to_draw, ED4_base::calc_world_coords(), e4_assert, ED4_C_LEFT, ED4_C_NONE, ED4_C_RIGHT, ED4_R_OK, owner_of_cursor, window(), ED4_foldable::world_to_win_coords(), and y.
Referenced by changeType(), and jump_screen_pos().
int ED4_cursor::get_sequence_pos | ( | ) | const |
Definition at line 393 of file ED4_cursor.cxx.
References ED4_ROOT, ED4_remap::get_max_screen_pos(), ED4_root_group_manager::remap(), ED4_root::root_group_man, and ED4_remap::screen_to_sequence().
Referenced by ED4_helix_jump_opposite(), ED4_search_cb(), ED4_set_iupac(), ED4_store_curpos(), executeKeystroke(), get_base_position(), jump_sequence_pos(), move_cursor(), searchParamsChanged(), set_abs_x(), set_to_terminal(), and toggle_cursor_group_folding().
|
inline |
Definition at line 663 of file ed4_class.hxx.
Referenced by executeKeystroke(), and jump_screen_pos().
|
inline |
Definition at line 665 of file ed4_class.hxx.
void ED4_cursor::set_abs_x | ( | ) |
Definition at line 1228 of file ED4_cursor.cxx.
References ED4_base::calc_world_coords(), CHARACTEROFFSET, ED4_G_SEQUENCES, ED4_ROOT, ED4_root::font_group, get_sequence_pos(), AW_font_group::get_width(), owner_of_cursor, and y.
Definition at line 668 of file ed4_class.hxx.
References ED4_base_position::get_sequence_position().
Referenced by ED4_jump_to_cursor_position(), and jump_base_pos().
Definition at line 669 of file ed4_class.hxx.
References ED4_base_position::get_base_position().
Referenced by ED4_jump_to_cursor_position(), and get_base_position().
|
inline |
Definition at line 671 of file ed4_class.hxx.
References get_sequence_pos(), and sequence2base_position().
Referenced by ED4_with_whole_block(), and jump_base_pos().
|
inline |
Definition at line 673 of file ed4_class.hxx.
References ED4_base_position::prepare_shutdown().
Referenced by ED4_exit().
void ED4_cursor::jump_screen_pos | ( | int | screen_pos, |
ED4_CursorJumpType | jump_type | ||
) |
Definition at line 930 of file ED4_cursor.cxx.
References abs, allowed_to_draw, aw_message(), ED4_root::aw_root, AW_root::awar(), ED4_window::aww, ED4_base::calc_world_coords(), CHARACTEROFFSET, ED4_window::coords, e4_assert, ED4_AWAR_SCROLL_MARGIN, ED4_C_LEFT, ED4_C_RIGHT, ED4_G_SEQUENCES, ED4_horizontal_change_cb(), ED4_JUMP_CENTERED, ED4_JUMP_KEEP_POSITION, ED4_JUMP_KEEP_VISIBLE, ED4_ROOT, ED4_root::font_group, ED4_window::get_device(), get_screen_pos(), AW_stylable::get_string_size(), AW_font_group::get_width(), ED4_terminal::is_hidden(), owner_of_cursor, AW_awar::read_int(), ED4_terminal::scroll_into_view(), AW_window::set_horizontal_scrollbar_position(), ShowCursor(), AW_window::slider_pos_horizontal, window(), ED4_coords::window_left_clip_point, and ED4_coords::window_right_clip_point.
Referenced by jump_sequence_pos().
void ED4_cursor::jump_sequence_pos | ( | int | sequence_pos, |
ED4_CursorJumpType | jump_type | ||
) |
Definition at line 1033 of file ED4_cursor.cxx.
References ED4_remap::adjacent_screen_positions(), ED4_remap::compile_needed(), e4_assert, ED4_ROOT, get_sequence_pos(), ED4_remap::is_shown(), jump_screen_pos(), owner_of_cursor, ED4_root_group_manager::remap(), ED4_root::root_group_man, and ED4_remap::sequence_to_screen().
Referenced by ED4_compression_changed_cb(), ED4_helix_jump_opposite(), ED4_jump_to_cursor_position(), ED4_remote_set_cursor_cb(), ED4_set_helixnr(), executeKeystroke(), jump_base_pos(), and set_to_terminal().
void ED4_cursor::jump_base_pos | ( | int | base_pos, |
ED4_CursorJumpType | jump_type | ||
) |
Definition at line 1055 of file ED4_cursor.cxx.
References base2sequence_position(), e4_assert, get_base_position(), jump_sequence_pos(), and owner_of_cursor.
Referenced by ED4_with_whole_block().
int ED4_cursor::get_screen_relative_pos | ( | ) | const |
Definition at line 908 of file ED4_cursor.cxx.
References ED4_window::coords, window(), and ED4_coords::window_left_clip_point.
Referenced by set_screen_relative_pos().
void ED4_cursor::set_screen_relative_pos | ( | int | scroll_to_relpos | ) |
Definition at line 912 of file ED4_cursor.cxx.
References ED4_window::aww, ED4_G_SEQUENCES, ED4_horizontal_change_cb(), ED4_ROOT, ED4_root::font_group, get_screen_relative_pos(), AW_font_group::get_width(), AW_window::set_horizontal_scrollbar_position(), AW_window::slider_pos_horizontal, and window().
Referenced by ED4_compression_changed_cb().
void ED4_cursor::set_to_terminal | ( | ED4_terminal * | terminal, |
int | seq_pos, | ||
ED4_CursorJumpType | jump_type | ||
) |
Definition at line 1406 of file ED4_cursor.cxx.
References ED4_ROOT, ED4_root::get_gb_main(), get_sequence_pos(), is_completely_visible(), jump_sequence_pos(), owner_of_cursor, ED4_root_group_manager::remap(), ED4_root::root_group_man, ED4_remap::sequence_to_screen(), show_cursor_at(), and ta.
Referenced by move_cursor().
|
inline |
Definition at line 1852 of file ed4_class.hxx.
Referenced by ED4_toggle_detailed_column_stats(), and PV_SequenceUpdate_CB().
|
inline |
Definition at line 1853 of file ed4_class.hxx.
Referenced by dot_missing_bases(), ED4_set_iupac(), and is_hidden_inside_group().
|
inline |
Definition at line 1854 of file ed4_class.hxx.
Referenced by modsai_cb(), and toggle_helix_for_SAI().
|
inline |
Definition at line 688 of file ed4_class.hxx.
References ED4_base_position::announce_deletion(), and NULp.
Referenced by ED4_window::announce_deletion().
void ED4_cursor::init | ( | ) |
Definition at line 383 of file ED4_cursor.cxx.
References NULp, and owner_of_cursor.
Referenced by ED4_cursor(), and ED4_terminal::~ED4_terminal().
|
inline |
Definition at line 695 of file ed4_class.hxx.
Referenced by ED4_compression_changed_cb(), get_screen_relative_pos(), jump_screen_pos(), move_cursor(), set_screen_relative_pos(), show_cursor_at(), and ShowCursor().
bool ED4_cursor::allowed_to_draw |
Definition at line 643 of file ed4_class.hxx.
Referenced by ED4_cursor(), jump_screen_pos(), and ShowCursor().
ED4_terminal* ED4_cursor::owner_of_cursor |
Definition at line 644 of file ed4_class.hxx.
Referenced by changeType(), create_new_species(), detect_current_ref_terminal(), dot_missing_bases(), ED4_helix_jump_opposite(), ED4_menu_highlight(), ED4_search_cb(), ED4_set_helixnr(), ED4_set_iupac(), ED4_set_protection(), ED4_store_curpos(), ED4_toggle_detailed_column_stats(), ED4_undo_redo(), ED4_with_whole_block(), executeKeystroke(), HideCursor(), init(), is_completely_visible(), is_hidden_inside_group(), is_partly_visible(), jump_base_pos(), jump_screen_pos(), jump_sequence_pos(), move_cursor(), PV_ManageTerminals(), PV_SequenceUpdate_CB(), searchParamsChanged(), select_named_sequence_terminal(), set_abs_x(), set_to_terminal(), show_cursor_at(), ShowCursor(), toggle_cursor_group_folding(), toggle_helix_for_SAI(), and ED4_terminal::~ED4_terminal().