void seqtime::redraw () { m_scroll_offset_ticks = int(m_hadjust.get_value()); m_scroll_offset_x = m_scroll_offset_ticks / m_zoom; update_pixmap(); draw_pixmap_on_window(); }
void seqtime::reset() { m_scroll_offset_ticks = (int) m_hadjust->get_value(); m_scroll_offset_x = m_scroll_offset_ticks / m_zoom; update_sizes(); update_pixmap(); draw_pixmap_on_window(); }