void seqkeys::change_vert () { m_scroll_offset_key = (int) m_vadjust->get_value(); m_scroll_offset_y = m_scroll_offset_key * c_key_y, force_draw(); }
void seqdata::change_horz () { m_scroll_offset_ticks = int(m_hadjust.get_value()); m_scroll_offset_x = m_scroll_offset_ticks / m_zoom; update_pixmap(); force_draw(); }
void seqtime::change_horz( ) { m_scroll_offset_ticks = (int) m_hadjust->get_value(); m_scroll_offset_x = m_scroll_offset_ticks / m_zoom; update_pixmap(); force_draw(); }
void seqroll::redraw_events () { if (m_ignore_redraw) return; update_pixmap(); force_draw(); }
void seqroll::redraw () { if (m_ignore_redraw) return; m_scroll_offset_ticks = (int) m_hadjust->get_value(); m_scroll_offset_x = m_scroll_offset_ticks / m_zoom; update_background(); update_pixmap(); force_draw(); }
void seqroll::change_vert () { m_scroll_offset_key = (int) m_vadjust->get_value(); m_scroll_offset_y = m_scroll_offset_key * c_key_y; if (m_ignore_redraw) return; update_background(); update_pixmap(); force_draw(); }
void seqdata::reset () { /* * Stazed fix; same code found in change_horz(). */ m_scroll_offset_ticks = int(m_hadjust.get_value()); m_scroll_offset_x = m_scroll_offset_ticks / m_zoom; update_sizes(); /* * Instead of this, try forcing the redraw, to eliminate the bug of not * redrawing on changing zoom. * * redraw(); */ update_pixmap(); force_draw(); }