mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
* Adds overview for custom gcodes like pause, change filament, custom * Fix: incorrect time display of inserted pauses
This commit is contained in:
parent
07d5a06794
commit
8ca0d79b05
3 changed files with 86 additions and 3 deletions
|
@ -1735,6 +1735,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