Memory statistics (total memory, memory usage, Undo / Redo stack size)

into the System INfo dialog.
This commit is contained in:
bubnikv 2019-07-19 11:12:38 +02:00
parent f1f6fe5fb5
commit 2de6d95322
5 changed files with 49 additions and 10 deletions

View file

@ -27,6 +27,11 @@ class ModelObject;
class Print;
class SLAPrint;
namespace UndoRedo {
class Stack;
struct Snapshot;
};
namespace GUI {
class MainFrame;
@ -191,6 +196,7 @@ public:
void undo_to(int selection);
void redo_to(int selection);
bool undo_redo_string_getter(const bool is_undo, int idx, const char** out_text);
const Slic3r::UndoRedo::Stack& undo_redo_stack() const;
void on_extruders_change(int extruders_count);
void on_config_change(const DynamicPrintConfig &config);