MCPcopy Create free account
hub / github.com/T-Troll/alienfx-tools / SetRandomColor

Method SetRandomColor

alienfx-gui/ConfigHandler.cpp:592–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592void ConfigHandler::SetRandomColor(AlienFX_SDK::Afx_colorcode* clr) {
593 clr->r = (byte)rclr(rnd);
594 clr->g = (byte)rclr(rnd);
595 clr->b = (byte)rclr(rnd);
596}
597
598void ConfigHandler::RemoveUnusedGroups() {
599 for (auto i = afx_dev.GetGroups()->begin(); i != afx_dev.GetGroups()->end();) {

Callers 2

StartGridRunMethod · 0.80
RefreshHapticsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected