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

Method processDetailButton

source/Gui/BrowserWindow.cpp:1174–1184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1172}
1173
1174bool BrowserWindow::processDetailButton()
1175{
1176 auto color = Const::DetailButtonColor;
1177 float h, s, v;
1178 ImGui::ColorConvertRGBtoHSV(color.Value.x, color.Value.y, color.Value.z, h, s, v);
1179 ImGui::PushStyleColor(ImGuiCol_Button, (ImVec4)ImColor::HSV(h, s, v * 0.3f));
1180 ImGui::PushStyleColor(ImGuiCol_ButtonHovered, (ImVec4)ImColor::HSV(h, s, v * 0.4f));
1181 auto detailClicked = AlienImGui::Button("...");
1182 ImGui::PopStyleColor(2);
1183 return detailClicked;
1184}
1185
1186void BrowserWindow::processRefreshingScreen(RealVector2D const& startPos)
1187{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected