Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkewley committed Sep 14, 2024
1 parent addce25 commit 6559704
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/oscar/UI/oscimgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,9 @@ namespace
return rgs::min(dimensions);
}


void push_style_color(ImGuiCol index, ImU32 col)
{
ImGui::PushStyleColor(index, col);
}

ImU32 to_ImU32(const Vec4& color)
{
return ImGui::ColorConvertFloat4ToU32(color);
}

ImU32 to_ImU32(const Color& color)
{
return to_ImU32(Vec4{color});
return ImGui::ColorConvertFloat4ToU32(color);
}

Color to_color(ImU32 u32color)
Expand Down

0 comments on commit 6559704

Please sign in to comment.