mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-06 22:47:32 -06:00
fix colors
This commit is contained in:
parent
7a53dd60f2
commit
3470460931
10 changed files with 20 additions and 20 deletions
|
@ -149,13 +149,13 @@ NotificationManager::PopNotification::PopNotification(const NotificationData &n,
|
|||
|
||||
m_ErrorColor = ImVec4(0.9, 0.36, 0.36, 1);
|
||||
m_WarnColor = ImVec4(0.99, 0.69, 0.455, 1);
|
||||
m_NormalColor = ImVec4(0.03, 0.6, 0.18, 1);
|
||||
m_NormalColor = ImVec4(0, 0.588, 0.533, 1);
|
||||
|
||||
m_CurrentColor = m_NormalColor; //Default
|
||||
|
||||
m_WindowBkgColor = ImVec4(1, 1, 1, 1);
|
||||
m_TextColor = ImVec4(.2f, .2f, .2f, 1.0f);
|
||||
m_HyperTextColor = ImVec4(0.03, 0.6, 0.18, 1);
|
||||
m_HyperTextColor = ImVec4(0, 0.588, 0.533, 1);
|
||||
|
||||
m_WindowRadius = 4.0f * wxGetApp().plater()->get_current_canvas3D()->get_scale();
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ void NotificationManager::PopNotification::use_bbl_theme()
|
|||
|
||||
m_WindowBkgColor = m_is_dark ? ImVec4(45 / 255.f, 45 / 255.f, 49 / 255.f, 1.f) : ImVec4(1, 1, 1, 1);
|
||||
m_TextColor = m_is_dark ? ImVec4(224 / 255.f, 224 / 255.f, 224 / 255.f, 1.f) : ImVec4(.2f, .2f, .2f, 1.0f);
|
||||
m_HyperTextColor = m_is_dark ? ImVec4(0.03, 0.6, 0.18, 1) : ImVec4(0.03, 0.6, 0.18, 1);
|
||||
m_HyperTextColor = m_is_dark ? ImVec4(0, 0.588, 0.533, 1) : ImVec4(0, 0.588, 0.533, 1);
|
||||
m_is_dark ? push_style_color(ImGuiCol_Border, {62 / 255.f, 62 / 255.f, 69 / 255.f, 1.f}, true, m_current_fade_opacity) : push_style_color(ImGuiCol_Border, m_CurrentColor, true, m_current_fade_opacity);
|
||||
push_style_color(ImGuiCol_WindowBg, m_WindowBkgColor, true, m_current_fade_opacity);
|
||||
push_style_color(ImGuiCol_Text, m_TextColor, true, m_current_fade_opacity);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue