upload progresso bar

This commit is contained in:
2018-01-09 03:27:15 +00:00
parent 5feb3acb1d
commit 0bdb879e76
4 changed files with 72 additions and 32 deletions

View File

@@ -16,6 +16,7 @@
#include "node_scroll.h"
#include "node_canvas.h"
#include "node_dialog_layer_rename.h"
#include "node_progress_bar.h"
#if defined(__OBJC__) && defined(__IOS__)
#import <Foundation/Foundation.h>
@@ -129,8 +130,10 @@ public:
void cloud_upload();
void cloud_upload_all();
void cloud_browse();
void upload(std::string filename, std::string name = "");
void download(std::string filename, std::function<void(float)> progress);
void upload(std::string filename, std::string name = "", std::function<void(float)> progress = nullptr);
void download(std::string filename, std::function<void(float)> progress = nullptr);
std::shared_ptr<NodeProgressBar> show_progress(const std::string& title);
void brush_update();
void title_update(std::string name, int resolution);