MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / setMain

Method setMain

gui/qt/lcdwidget.cpp:191–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191void LCDWidget::setMain() {
192 m_mutex.lock();
193 m_renderedFrame.fill(Qt::black);
194 m_blendedFrame.fill(Qt::black);
195 m_currFrame = &m_renderedFrame;
196 m_mutex.unlock();
197 emu_set_lcd_callback([](void *lcd) { return static_cast<LCDWidget*>(lcd)->draw(); }, this);
198}
199
200void LCDWidget::setResponseMode(bool state) {
201 m_responseMode = state;

Callers 1

emuCheckMethod · 0.80

Calls 2

emu_set_lcd_callbackFunction · 0.85
drawMethod · 0.45

Tested by

no test coverage detected