MCPcopy Create free account
hub / github.com/Atarity/Lightpack / setCurrentColor

Method setCurrentColor

Software/src/MoodLampManager.cpp:75–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void MoodLampManager::setCurrentColor(QColor color)
76{
77 DEBUG_MID_LEVEL << Q_FUNC_INFO << color;
78
79 m_currentColor = color;
80
81 if (m_isMoodLampEnabled && (m_isLiquidMode == false))
82 {
83 fillColors(color.rgb());
84 emit updateLedsColors(m_colors);
85 }
86}
87
88void MoodLampManager::setLiquidMode(bool state)
89{

Callers 2

settingsChangedMethod · 0.80
clickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected