save on exit message, * symbol on unsaved docs, saved status on history

This commit is contained in:
2018-07-31 17:25:50 +02:00
parent 5a37f578cb
commit 1a7677a727
10 changed files with 43 additions and 21 deletions

View File

@@ -64,7 +64,7 @@ public:
Node* current_panel = nullptr;
NodeScroll* panels;
const uint16_t main_id = const_hash("main");
std::string doc_name;
std::string doc_name = "no-name";
float width;
float height;
bool keys[256];
@@ -155,7 +155,7 @@ public:
std::shared_ptr<NodeProgressBar> show_progress(const std::string& title);
void brush_update();
void title_update(std::string name, int resolution);
void title_update();
void update_memory_usage(size_t bytes);
void update_rec_frames();