OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::anonymous_namespace{SlicingProgressNotification.cpp} Namespace Reference

Functions

void push_style_color (ImGuiCol idx, const ImVec4 &col, bool fading_out, float current_fade_opacity)

Function Documentation

◆ push_style_color()

void Slic3r::GUI::anonymous_namespace{SlicingProgressNotification.cpp}::push_style_color ( ImGuiCol idx,
const ImVec4 & col,
bool fading_out,
float current_fade_opacity )
inline
25 {
26 if (fading_out)
27 ImGui::PushStyleColor(idx, ImVec4(col.x, col.y, col.z, col.w * current_fade_opacity));
28 else
29 ImGui::PushStyleColor(idx, col);
30 }

References push_style_color().

Referenced by push_style_color().

Here is the call graph for this function:
Here is the caller graph for this function: