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

Method IsLightInGroup

alienfx-gui/ConfigHandler.cpp:583–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583bool ConfigHandler::IsLightInGroup(DWORD lgh, AlienFX_SDK::Afx_group* grp) {
584 if (grp)
585 //return find(grp->lights.begin(), grp->lights.end(), lgh) != grp->lights.end();
586 for (auto& pos : grp->lights)
587 if (pos.lgh == lgh)
588 return true;
589 return false;
590}
591
592void ConfigHandler::SetRandomColor(AlienFX_SDK::Afx_colorcode* clr) {
593 clr->r = (byte)rclr(rnd);

Callers 4

SelectLightsDialogFunction · 0.80
RecalcGridZoneFunction · 0.80
ModifyColorDragZoneFunction · 0.80
TabGridFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected