ARB
|
#include <di_view_matrix.hxx>
Public Types | |
enum | UpdateFlag { NEED_NOTHING = 0, NEED_CLEAR = 1, NEED_RESIZE = 2, NEED_SETUP = 4 } |
Public Member Functions | |
MatrixDisplay (GBDATA *gb_main_) | |
DI_MATRIX * | get_matrix () |
bool | willShow () |
void | monitor_vertical_scroll_cb (AW_window *) |
void | monitor_horizontal_scroll_cb (AW_window *) |
void | mark (UpdateFlag needed) |
void | update_display () |
void | set_slider_min (double d) |
void | set_slider_max (double d) |
void | handle_move (AW_event &event) |
void | scroll_cells (int cells_x, int cells_y) |
Public Attributes | |
AW_window * | awm |
AW_device * | device |
Definition at line 30 of file di_view_matrix.hxx.
Enumerator | |
---|---|
NEED_NOTHING | |
NEED_CLEAR | |
NEED_RESIZE | |
NEED_SETUP |
Definition at line 68 of file di_view_matrix.hxx.
|
inline |
Definition at line 103 of file di_view_matrix.hxx.
|
inline |
Definition at line 131 of file di_view_matrix.hxx.
References DI_GLOBAL_MATRIX::get(), and GLOBAL_MATRIX.
Referenced by input_cb().
|
inline |
Definition at line 133 of file di_view_matrix.hxx.
References AW_window::is_shown().
Referenced by update_cb().
void MatrixDisplay::monitor_vertical_scroll_cb | ( | AW_window * | aww | ) |
Definition at line 478 of file DI_view_matrix.cxx.
References abs, AW_SCREEN, AW_device::clear_part(), device, diff(), mark(), 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(), AW_window::slider_pos_vertical, and update_display().
Referenced by vertical_change_cb().
void MatrixDisplay::monitor_horizontal_scroll_cb | ( | AW_window * | aww | ) |
Definition at line 515 of file DI_view_matrix.cxx.
References abs, AW_SCREEN, AW_device::clear_part(), device, diff(), mark(), 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(), AW_window::slider_pos_horizontal, and update_display().
Referenced by horizontal_change_cb().
|
inline |
Definition at line 141 of file di_view_matrix.hxx.
Referenced by di_calculate_compressed_matrix_cb(), di_view_matrix_cb(), di_view_set_distances(), matrix_changed_cb(), monitor_horizontal_scroll_cb(), monitor_vertical_scroll_cb(), redisplay_needed(), reinit_needed(), and resize_needed().
|
inline |
Definition at line 143 of file di_view_matrix.hxx.
References NEED_NOTHING, NEED_RESIZE, and NEED_SETUP.
Referenced by di_calculate_compressed_matrix_cb(), di_view_matrix_cb(), di_view_set_distances(), input_cb(), matrix_changed_cb(), monitor_horizontal_scroll_cb(), monitor_vertical_scroll_cb(), redisplay_needed(), reinit_needed(), and resize_needed().
|
inline |
Definition at line 151 of file di_view_matrix.hxx.
Referenced by di_view_set_distances().
|
inline |
Definition at line 152 of file di_view_matrix.hxx.
Referenced by di_view_set_distances().
void MatrixDisplay::handle_move | ( | AW_event & | event | ) |
Definition at line 203 of file DI_view_matrix.cxx.
References AW_Mouse_Drag, AW_Mouse_Press, AW_Mouse_Release, awm, AW_window::slider_pos_horizontal, AW_window::slider_pos_vertical, and AW_event::type.
Referenced by input_cb(), and motion_cb().
Definition at line 198 of file DI_view_matrix.cxx.
References awm, AW_window::slider_pos_horizontal, and AW_window::slider_pos_vertical.
Referenced by input_cb().
AW_window* MatrixDisplay::awm |
Definition at line 100 of file di_view_matrix.hxx.
Referenced by DI_create_view_matrix_window(), handle_move(), and scroll_cells().
AW_device* MatrixDisplay::device |
Definition at line 101 of file di_view_matrix.hxx.
Referenced by DI_create_view_matrix_window(), input_cb(), monitor_horizontal_scroll_cb(), and monitor_vertical_scroll_cb().