mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
Merge branch 'main' into dev/gizmo
This commit is contained in:
commit
df48b05f73
8 changed files with 344 additions and 242 deletions
|
@ -1845,6 +1845,20 @@ void ImGuiWrapper::title(const std::string& str)
|
|||
ImGui::Separator();
|
||||
}
|
||||
|
||||
void ImGuiWrapper::title(const std::string &str, bool suppress_seperator)
|
||||
{
|
||||
if (bold_font) {
|
||||
ImGui::PushFont(bold_font);
|
||||
text(str);
|
||||
ImGui::PopFont();
|
||||
} else {
|
||||
text(str);
|
||||
}
|
||||
if (!suppress_seperator) {
|
||||
ImGui::Separator();
|
||||
}
|
||||
}
|
||||
|
||||
void ImGuiWrapper::disabled_begin(bool disabled)
|
||||
{
|
||||
wxCHECK_RET(!m_disabled, "ImGUI: Unbalanced disabled_begin() call");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue