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

Method processActionButton

source/Gui/BrowserWindow.cpp:1164–1172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1162}
1163
1164bool BrowserWindow::processActionButton(std::string const& text)
1165{
1166 ImGui::PushStyleColor(ImGuiCol_Button, static_cast<ImVec4>(Const::ToolbarButtonBackgroundColor));
1167 ImGui::PushStyleColor(ImGuiCol_ButtonHovered, (ImU32)Const::ToolbarButtonHoveredColor);
1168 auto result = ImGui::Button(text.c_str());
1169 ImGui::PopStyleColor(2);
1170
1171 return result;
1172}
1173
1174bool BrowserWindow::processDetailButton()
1175{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected