Refactor the drawing of TCO's; Get rid of hardcoded colors in TCOs; Make TCO gradient configurable; Even out the color scheme

Thanks to @Fastigium for helping with the BB Pattern redraw problem
This commit is contained in:
Umcaruje
2016-02-16 01:01:43 +01:00
parent 8841b89b6d
commit f136ba3097
12 changed files with 466 additions and 342 deletions

View File

@@ -903,9 +903,7 @@ void SampleBuffer::visualize( QPainter & _p, const QRect & _dr,
const bool focus_on_range = _to_frame <= m_frames
&& 0 <= _from_frame && _from_frame < _to_frame;
// _p.setClipRect( _clip );
// _p.setPen( QColor( 0x22, 0xFF, 0x44 ) );
//_p.setPen( QColor( 64, 224, 160 ) );
//_p.setClipRect( _clip );
const int w = _dr.width();
const int h = _dr.height();