ARB
|
#include <PH_display.hxx>
Public Member Functions | |
PH_display () | |
void | initialize_display (display_type) |
void | display () |
display_type | displayed () |
void | clear_window () |
void | resized () |
void | monitor_vertical_scroll_cb (AW_window *) |
void | monitor_horizontal_scroll_cb (AW_window *) |
Static Public Attributes | |
static PH_display * | ph_display = NULp |
Definition at line 22 of file PH_display.hxx.
PH_display::PH_display | ( | ) |
Definition at line 63 of file PH_display.cxx.
References DISP_NONE.
void PH_display::initialize_display | ( | display_type | dpyt | ) |
Definition at line 69 of file PH_display.cxx.
References aw_message(), AW_MIDDLE_AREA, DISP_FILTER, DISP_NONE, DISP_SPECIES, AW_window::get_device(), AW_stylable::get_font_limits(), AW_font_limits::get_height(), PHDATA::nentries, PH_used_windows::phylo_main_window, resized(), PHDATA::ROOT, SPECIES_NAME_LEN, AW_font_limits::width, and PH_used_windows::windowList.
Referenced by ph_calc_filter_cb(), and ph_view_species_cb().
void PH_display::display | ( | ) |
Definition at line 150 of file PH_display.cxx.
References AW_root::awar(), AWAR_PHYLO_FILTER_MAXHOM, AWAR_PHYLO_FILTER_MINHOM, AWAR_PHYLO_FILTER_STARTCOL, AWAR_PHYLO_FILTER_STOPCOL, DISP_FILTER, DISP_NONE, GB_read_char_pntr(), GB_read_count(), AW_stylable::get_font_limits(), get_gb_main(), AW_font_limits::get_height(), AW_window::get_root(), PHDATA::hash_elements, PHDATA::markerline, min, PH_GC_MARKER, PH_GC_NOT_MARKER, PH_GC_SEQUENCE, PH_used_windows::phylo_main_window, AW_awar::read_int(), PHDATA::ROOT, AW_zoomable::shift(), ta, AW_device::text(), PH_used_windows::windowList, and y.
Referenced by expose_cb(), monitor_horizontal_scroll_cb(), monitor_vertical_scroll_cb(), ph_calc_filter_cb(), ph_view_species_cb(), and resize_cb().
|
inline |
Definition at line 48 of file PH_display.hxx.
|
inline |
Definition at line 50 of file PH_display.hxx.
References AW_device::clear().
Referenced by expose_cb().
void PH_display::resized | ( | ) |
Definition at line 98 of file PH_display.cxx.
References AW_MIDDLE_AREA, AW_screen_area::b, AW_window::calculate_scrollbars(), AW_device::clear(), DISP_FILTER, DISP_NONE, DISP_SPECIES, AW_window::get_device(), PHDATA::get_seq_len(), AW_screen_area::l, long, PH_used_windows::phylo_main_window, AW_screen_area::r, AW_device::reset(), PHDATA::ROOT, AW_window::set_horizontal_scrollbar_position(), AW_clipable::set_right_clip_border(), AW_window::set_vertical_scrollbar_position(), AW_screen_area::t, AW_window::tell_scrolled_picture_size(), and PH_used_windows::windowList.
Referenced by initialize_display(), and resize_cb().
void PH_display::monitor_vertical_scroll_cb | ( | AW_window * | aww | ) |
Definition at line 233 of file PH_display.cxx.
References AW_device::clear(), AW_device::clear_part(), diff(), display(), AW_device::move_region(), AW_device::pop_clip_scale(), AW_device::push_clip_scale(), AW_clipable::set_bottom_clip_border(), AW_clipable::set_top_clip_border(), and AW_window::slider_pos_vertical.
Referenced by vertical_change_cb().
void PH_display::monitor_horizontal_scroll_cb | ( | AW_window * | aww | ) |
Definition at line 262 of file PH_display.cxx.
References AW_device::clear(), AW_device::clear_part(), diff(), display(), AW_device::move_region(), AW_device::pop_clip_scale(), AW_device::push_clip_scale(), AW_clipable::set_left_clip_border(), AW_clipable::set_right_clip_border(), and AW_window::slider_pos_horizontal.
Referenced by horizontal_change_cb().
|
static |
Definition at line 44 of file PH_display.hxx.
Referenced by ARB_main(), display_status_cb(), expose_cb(), horizontal_change_cb(), ph_calc_filter_cb(), ph_view_species_cb(), resize_cb(), and vertical_change_cb().