MCPcopy Create free account
hub / github.com/LMMS/lmms / paintEvent

Method paintEvent

src/gui/widgets/FxLine.cpp:191–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189
190
191void FxLine::paintEvent( QPaintEvent * )
192{
193 bool sendToThis = Engine::fxMixer()->channelSendModel( m_mv->currentFxLine()->m_channelIndex, m_channelIndex ) != NULL;
194 bool receiveFromThis = Engine::fxMixer()->channelSendModel( m_channelIndex, m_mv->currentFxLine()->m_channelIndex ) != NULL;
195 QPainter painter;
196 painter.begin( this );
197 drawFxLine( &painter, this, m_mv->currentFxLine() == this, sendToThis, receiveFromThis );
198 painter.end();
199}
200
201
202

Callers

nothing calls this directly

Calls 4

fxMixerFunction · 0.85
channelSendModelMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected