mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-05 17:10:42 +08:00
Made ui_settings extern.
This commit is contained in:
parent
e15e628645
commit
ec2582c4e4
@ -3,6 +3,8 @@
|
||||
|
||||
namespace Slic3r { namespace GUI {
|
||||
|
||||
std::unique_ptr<Settings> ui_settings {nullptr};
|
||||
|
||||
Settings::Settings() {
|
||||
// Initialize fonts
|
||||
_small_font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
|
||||
|
@ -153,7 +153,7 @@ std::vector<wxString> open_model(wxWindow* parent, wxWindow* top);
|
||||
inline Slic3r::Point new_scale(const wxPoint& p) { return Slic3r::Point::new_scale(p.x, p.y); }
|
||||
|
||||
/// Singleton for UI settings.
|
||||
std::unique_ptr<Settings> ui_settings {nullptr};
|
||||
extern std::unique_ptr<Settings> ui_settings;
|
||||
|
||||
}} // namespace Slic3r::GUI
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user