mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
NEW: add build time in about dialog
Change-Id: Ibb27223568f19f39ec57c01af23376c325d3972b Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
93b1a335d2
commit
a163d4fa02
3 changed files with 11 additions and 0 deletions
|
@ -258,6 +258,13 @@ AboutDialog::AboutDialog()
|
|||
version->SetForegroundColour(wxColour("#FFFFFD"));
|
||||
version->SetBackgroundColour(wxColour("#00AF42"));
|
||||
vesizer->Add(version, 0, wxALL | wxALIGN_CENTER_HORIZONTAL, FromDIP(5));
|
||||
#if BBL_INTERNAL_TESTING
|
||||
wxString build_time = wxString::Format("Build Time: %s", std::string(SLIC3R_BUILD_TIME));
|
||||
wxStaticText* build_time_text = new wxStaticText(this, wxID_ANY, build_time, wxDefaultPosition, wxDefaultSize);
|
||||
build_time_text->SetForegroundColour(wxColour("#FFFFFE"));
|
||||
build_time_text->SetBackgroundColour(wxColour("#00AF42"));
|
||||
vesizer->Add(build_time_text, 0, wxALL | wxALIGN_CENTER_HORIZONTAL, FromDIP(5));
|
||||
#endif
|
||||
vesizer->Add(0, 0, 1, wxEXPAND, FromDIP(5));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue