MCPcopy Create free account
hub / github.com/chrxh/alien / colorButton

Method colorButton

source/Gui/PatternEditorWindow.cpp:439–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439bool PatternEditorWindow::colorButton(std::string id, uint32_t cellColor)
440{
441 ImGui::PushID(id.c_str());
442 auto result = AlienImGui::ColorField(cellColor);
443 ImGui::PopID();
444 return result;
445}
446
447bool PatternEditorWindow::hasSelectionChanged(SelectionShallowData const& selection) const
448{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected