MCPcopy Create free account
hub / github.com/ckb-next/ckb-next / displayColorMap

Method displayColorMap

src/gui/keywidget.cpp:285–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285void KeyWidget::displayColorMap(const ColorMap& newDisplayMap, const QSet<QString>& indicators, quint64 renderInterval){
286 if(!isVisible())
287 return;
288 _displayColorMap = newDisplayMap;
289 _indicators = indicators;
290#ifdef FPS_COUNTER
291 if(renderInterval != std::numeric_limits<quint64>::max())
292 kbLoopElapsed = renderInterval;
293#endif
294 update();
295}
296
297void KeyWidget::bindMap(const BindMap& newBindMap){
298 _bindMap = newBindMap;

Callers 2

stateChangeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected