mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
This commit is contained in:
commit
cd45b78c48
1 changed files with 2 additions and 2 deletions
|
@ -371,7 +371,7 @@ bool ImGuiWrapper::checkbox(const wxString &label, bool &value)
|
||||||
|
|
||||||
void ImGuiWrapper::text(const char *label)
|
void ImGuiWrapper::text(const char *label)
|
||||||
{
|
{
|
||||||
ImGui::Text(label, NULL);
|
ImGui::Text("%s", label);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImGuiWrapper::text(const std::string &label)
|
void ImGuiWrapper::text(const std::string &label)
|
||||||
|
@ -387,7 +387,7 @@ void ImGuiWrapper::text(const wxString &label)
|
||||||
|
|
||||||
void ImGuiWrapper::text_colored(const ImVec4& color, const char* label)
|
void ImGuiWrapper::text_colored(const ImVec4& color, const char* label)
|
||||||
{
|
{
|
||||||
ImGui::TextColored(color, label);
|
ImGui::TextColored(color, "%s", label);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImGuiWrapper::text_colored(const ImVec4& color, const std::string& label)
|
void ImGuiWrapper::text_colored(const ImVec4& color, const std::string& label)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue