mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-06 05:37:04 +08:00
Initial load status bar, apparently layout broke for plater.
This commit is contained in:
parent
121f467251
commit
547206aa4f
@ -28,11 +28,10 @@ MainFrame::MainFrame(const wxString& title, const wxPoint& pos, const wxSize& si
|
|||||||
|
|
||||||
wxToolTip::SetAutoPop(TOOLTIP_TIMER);
|
wxToolTip::SetAutoPop(TOOLTIP_TIMER);
|
||||||
|
|
||||||
// STUB: Initialize status bar with text.
|
// initialize status bar
|
||||||
/* # initialize status bar
|
this->statusbar = new ProgressStatusBar(this, -1);
|
||||||
$self->{statusbar} = Slic3r::GUI::ProgressStatusBar->new($self, -1);
|
this->statusbar->SetStatusText("Version $Slic3r::VERSION - Remember to check for updates at http://slic3r.org/");
|
||||||
$self->{statusbar}->SetStatusText("Version $Slic3r::VERSION - Remember to check for updates at http://slic3r.org/");
|
this->SetStatusBar(this->statusbar);
|
||||||
$self->SetStatusBar($self->{statusbar}); */
|
|
||||||
|
|
||||||
this->loaded = 1;
|
this->loaded = 1;
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
#include "PresetEditor.hpp"
|
#include "PresetEditor.hpp"
|
||||||
#include "Settings.hpp"
|
#include "Settings.hpp"
|
||||||
#include "GUI.hpp"
|
#include "GUI.hpp"
|
||||||
|
#include "ProgressStatusBar.hpp"
|
||||||
|
|
||||||
namespace Slic3r { namespace GUI {
|
namespace Slic3r { namespace GUI {
|
||||||
|
|
||||||
@ -47,6 +48,8 @@ private:
|
|||||||
std::shared_ptr<Settings> gui_config;
|
std::shared_ptr<Settings> gui_config;
|
||||||
std::map<wxWindowID, PresetEditor*> preset_editor_tabs;
|
std::map<wxWindowID, PresetEditor*> preset_editor_tabs;
|
||||||
|
|
||||||
|
ProgressStatusBar* statusbar {new ProgressStatusBar(this, -1)};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}} // Namespace Slic3r::GUI
|
}} // Namespace Slic3r::GUI
|
||||||
|
Loading…
x
Reference in New Issue
Block a user