mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-01-30 16:38:41 +03:00
Update logo
This commit is contained in:
@@ -344,14 +344,27 @@ AboutDialog::AboutDialog()
|
||||
m_html->SetFonts(font.GetFaceName(), font.GetFaceName(), size);
|
||||
m_html->SetMinSize(wxSize(FromDIP(-1), FromDIP(16)));
|
||||
m_html->SetBorders(2);
|
||||
const auto text = from_u8(
|
||||
(boost::format(
|
||||
"<html>"
|
||||
"<body>"
|
||||
"<p style=\"text-align:left\"><a href=\"www.qidi3d.com\">www.qidi3d.com</ a></p>"
|
||||
"</body>"
|
||||
"</html>")
|
||||
).str());
|
||||
wxString text;
|
||||
if (wxGetApp().dark_mode()) {
|
||||
text = from_u8(
|
||||
(boost::format(
|
||||
"<html>"
|
||||
"<body>"
|
||||
"<p style=\"text-align:left\"><a href=\"www.qidi3d.com\" style=\"color: white;\">www.qidi3d.com</ a></p>"
|
||||
"</body>"
|
||||
"</html>")
|
||||
).str());
|
||||
}
|
||||
else {
|
||||
text = from_u8(
|
||||
(boost::format(
|
||||
"<html>"
|
||||
"<body>"
|
||||
"<p style=\"text-align:left\"><a href=\"www.qidi3d.com\";\">www.qidi3d.com</ a></p>"
|
||||
"</body>"
|
||||
"</html>")
|
||||
).str());
|
||||
}
|
||||
m_html->SetPage(text);
|
||||
copyright_ver_sizer->Add(m_html, 0, wxEXPAND, 0);
|
||||
m_html->Bind(wxEVT_HTML_LINK_CLICKED, &AboutDialog::onLinkClicked, this);
|
||||
|
||||
@@ -148,7 +148,13 @@ void CalibrationPanel::create_preset_box(wxWindow* parent, wxBoxSizer* sizer_sid
|
||||
h_process_sizer->Add(m_process_title, 0, wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL | wxLEFT, 5);
|
||||
h_process_sizer->AddStretchSpacer(1);
|
||||
|
||||
wxColour bg(243, 243, 243);
|
||||
wxColour bg(241, 241, 241);
|
||||
m_printer_icon->SetBackgroundColour(bg);
|
||||
m_filament_icon->SetBackgroundColour(bg);
|
||||
m_process_icon->SetBackgroundColour(bg);
|
||||
m_printer_title->SetBackgroundColour(bg);
|
||||
m_filament_title->SetBackgroundColour(bg);
|
||||
m_process_title->SetBackgroundColour(bg);
|
||||
m_printer_panel->SetBackgroundColour(bg);
|
||||
m_filament_panel->SetBackgroundColour(bg);
|
||||
m_process_panel->SetBackgroundColour(bg);
|
||||
@@ -164,7 +170,8 @@ void CalibrationPanel::create_preset_box(wxWindow* parent, wxBoxSizer* sizer_sid
|
||||
sizer_side_tools->Add(m_print_choice, 0, wxEXPAND | wxLEFT | wxRIGHT, 5);
|
||||
|
||||
wxStaticLine* line = new wxStaticLine(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL);
|
||||
line->SetBackgroundColour(wxColour(192, 192, 192));
|
||||
line->SetForegroundColour(bg);
|
||||
line->SetBackgroundColour(bg);
|
||||
|
||||
sizer_side_tools->Add(line, 0, wxEXPAND | wxTOP, 10);
|
||||
|
||||
|
||||
@@ -527,6 +527,7 @@ wxBoxSizer *PrinterWebView::init_menu_bar(wxPanel *Panel)
|
||||
|
||||
DeviceButton *machine_button = new DeviceButton(leftScrolledWindow, fullname, Machine_Name, wxBU_LEFT, wxSize(80, 80), device_name, ip);
|
||||
machine_button->SetBackgroundColor(mac_btn_bg);
|
||||
machine_button->SetBorderColor(wxColour(57, 51, 55));
|
||||
machine_button->SetCanFocus(false);
|
||||
machine_button->SetIsSimpleMode(m_isSimpleMode);
|
||||
wxString formattedHost = ip;
|
||||
|
||||
@@ -39,6 +39,8 @@ static std::map<wxColour, wxColour> gDarkColors{
|
||||
{"#2B3436", "#808080"},
|
||||
{"#ABABAB", "#ABABAB"},
|
||||
{"#D9D9D9", "#2D2D32"},
|
||||
{"#e0ffff", "#0078d7"},
|
||||
{"#afeeff", "#4479fb"},
|
||||
//{"#F0F0F0", "#4C4C54"},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user