ImGuiCol_Button
ImGuiCol_ButtonHovered
ImGuiCol_ButtonActive
(пример)
bool selected = (subtab == 0);
if (selected)
{
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0.25f, 0.25f, 0.35f, 1.0f));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(0.30f, 0.30f, 0.45f, 1.0f));
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(0.35f, 0.35f, 0.60f, 1.0f));
}
if (ImGui::Button("Aimbot"))
subtab = 0;
if (selected)
ImGui::PopStyleColor(3);