ARB
Public Types | Public Member Functions | Public Attributes | List of all members
MatrixDisplay Class Reference

#include <di_view_matrix.hxx>

Collaboration diagram for MatrixDisplay:
Collaboration graph
[legend]

Public Types

enum  UpdateFlag { NEED_NOTHING = 0, NEED_CLEAR = 1, NEED_RESIZE = 2, NEED_SETUP = 4 }
 

Public Member Functions

 MatrixDisplay (GBDATA *gb_main_)
 
DI_MATRIXget_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_windowawm
 
AW_devicedevice
 

Detailed Description

Definition at line 30 of file di_view_matrix.hxx.

Member Enumeration Documentation

Enumerator
NEED_NOTHING 
NEED_CLEAR 
NEED_RESIZE 
NEED_SETUP 

Definition at line 68 of file di_view_matrix.hxx.

Constructor & Destructor Documentation

MatrixDisplay::MatrixDisplay ( GBDATA gb_main_)
inline

Definition at line 103 of file di_view_matrix.hxx.

Member Function Documentation

DI_MATRIX* MatrixDisplay::get_matrix ( )
inline

Definition at line 131 of file di_view_matrix.hxx.

References DI_GLOBAL_MATRIX::get(), and GLOBAL_MATRIX.

Referenced by input_cb().

bool MatrixDisplay::willShow ( )
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)
void MatrixDisplay::monitor_horizontal_scroll_cb ( AW_window aww)
void MatrixDisplay::mark ( UpdateFlag  needed)
inline
void MatrixDisplay::update_display ( )
inline
void MatrixDisplay::set_slider_min ( double  d)
inline

Definition at line 151 of file di_view_matrix.hxx.

Referenced by di_view_set_distances().

void MatrixDisplay::set_slider_max ( double  d)
inline

Definition at line 152 of file di_view_matrix.hxx.

Referenced by di_view_set_distances().

void MatrixDisplay::handle_move ( AW_event event)
void MatrixDisplay::scroll_cells ( int  cells_x,
int  cells_y 
)

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().

Member Data Documentation

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

The documentation for this class was generated from the following files: