Mark frame drawing code segment.

This commit is contained in:
Bartosz Taudul 2017-09-21 01:49:01 +02:00
parent 155c9de767
commit 0b2a98d6b2

View File

@ -684,6 +684,8 @@ void View::DrawZones()
} }
} }
// frames
{
const auto zitbegin = std::lower_bound( m_frames.begin(), m_frames.end(), m_zvStart ); const auto zitbegin = std::lower_bound( m_frames.begin(), m_frames.end(), m_zvStart );
if( zitbegin == m_frames.end() ) return; if( zitbegin == m_frames.end() ) return;
const auto zitend = std::lower_bound( m_frames.begin(), m_frames.end(), m_zvEnd ); const auto zitend = std::lower_bound( m_frames.begin(), m_frames.end(), m_zvEnd );
@ -744,6 +746,7 @@ void View::DrawZones()
{ {
draw->AddLine( wpos + ImVec2( ( fend - m_zvStart ) * pxns, 0 ), wpos + ImVec2( ( fend - m_zvStart ) * pxns, h ), 0x22FFFFFF ); draw->AddLine( wpos + ImVec2( ( fend - m_zvStart ) * pxns, 0 ), wpos + ImVec2( ( fend - m_zvStart ) * pxns, h ), 0x22FFFFFF );
} }
}
} }
} }