mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 17:15:53 +08:00
Small refactoring in GLGizmoSeam::on_render_input_window() to use predefined orange color
This commit is contained in:
parent
d8575f30e8
commit
68b5567267
@ -110,8 +110,7 @@ void GLGizmoSeam::on_render_input_window(float x, float y, float bottom_limit)
|
|||||||
window_width = std::max(window_width, cursor_type_radio_left + cursor_type_radio_sphere + cursor_type_radio_circle);
|
window_width = std::max(window_width, cursor_type_radio_left + cursor_type_radio_sphere + cursor_type_radio_circle);
|
||||||
|
|
||||||
auto draw_text_with_caption = [this, &caption_max](const wxString& caption, const wxString& text) {
|
auto draw_text_with_caption = [this, &caption_max](const wxString& caption, const wxString& text) {
|
||||||
static const ImVec4 ORANGE(1.0f, 0.49f, 0.22f, 1.0f);
|
m_imgui->text_colored(ImGuiWrapper::COL_ORANGE_LIGHT, caption);
|
||||||
m_imgui->text_colored(ORANGE, caption);
|
|
||||||
ImGui::SameLine(caption_max);
|
ImGui::SameLine(caption_max);
|
||||||
m_imgui->text(text);
|
m_imgui->text(text);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user