MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / getActionColorXY

Method getActionColorXY

dependencies/hueplusplus-1.0.0/src/Group.cpp:143–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143std::pair<float, float> Group::getActionColorXY()
144{
145 const nlohmann::json& xy = state.getValue().at("action").at("xy");
146 return std::pair<float, float>(xy[0].get<float>(), xy[1].get<float>());
147}
148std::pair<float, float> Group::getActionColorXY() const
149{
150 const nlohmann::json& xy = state.getValue().at("action").at("xy");

Callers 1

TEST_FFunction · 0.80

Calls 1

getValueMethod · 0.80

Tested by 1

TEST_FFunction · 0.64