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

Method pushGlobalStyle

source/Gui/MainLoopController.cpp:605–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603}
604
605void MainLoopController::pushGlobalStyle()
606{
607 ImGui::PushStyleVar(ImGuiStyleVar_GrabMinSize, Const::SliderBarWidth);
608 ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, Const::WindowsRounding);
609 ImGui::PushStyleColor(ImGuiCol_HeaderHovered, (ImVec4)Const::HeaderHoveredColor);
610 ImGui::PushStyleColor(ImGuiCol_HeaderActive, (ImVec4)Const::HeaderActiveColor);
611 ImGui::PushStyleColor(ImGuiCol_Header, (ImVec4)Const::HeaderColor);
612}
613
614void MainLoopController::popGlobalStyle()
615{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected