10 #ifndef DI_VIEW_MATRIX_HXX
11 #define DI_VIEW_MATRIX_HXX
44 char format_string[50];
49 int vert_last_view_start;
50 int horiz_last_view_start;
52 int total_cells_horiz;
64 void set_scrollbar_steps(
long width,
long hight,
long xinc,
long yinc);
65 void scroll_to(
int sxpos,
int sypos);
78 void adapt_to_canvas_size();
81 enum LastAutoPop { UNKNOWN, UP, DOWN };
82 LastAutoPop lastautopop;
84 bool autopop(
bool show) {
87 if (!
awm)
return false;
90 awm->
hide(); lastautopop = DOWN;
115 vert_last_view_start(0),
116 horiz_last_view_start(0),
117 total_cells_horiz(0),
126 lastautopop(UNKNOWN),
134 if (!awm)
return false;
135 return awm->
is_shown() || lastautopop == DOWN;
145 if (beforeUpdate&
NEED_RESIZE) adapt_to_canvas_size();
162 #error di_view_matrix.hxx included twice
163 #endif // DI_VIEW_MATRIX_HXX
void monitor_vertical_scroll_cb(AW_window *)
void handle_move(AW_event &event)
void set_slider_min(double d)
void monitor_horizontal_scroll_cb(AW_window *)
void mark(UpdateFlag needed)
void scroll_cells(int cells_x, int cells_y)
DI_GLOBAL_MATRIX GLOBAL_MATRIX
MatrixDisplay(GBDATA *gb_main_)
AW_window * DI_create_view_matrix_window(AW_root *awr, MatrixDisplay *disp, save_matrix_params *sparam)
void set_slider_max(double d)