summaryrefslogtreecommitdiff
path: root/gui/src/threadedSystemDialogs.h
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2018-09-10 23:24:49 +0100
committerTim Redfern <tim@getdrop.com>2018-09-10 23:24:49 +0100
commita0b504d11542097843db77653d3e26516a892593 (patch)
tree5bec9beb2a84a831059ada24c5523f27193ee8e2 /gui/src/threadedSystemDialogs.h
parentfa5fc1eeaf7925024575f7154be1684534a62071 (diff)
lut blend
Diffstat (limited to 'gui/src/threadedSystemDialogs.h')
-rw-r--r--gui/src/threadedSystemDialogs.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/gui/src/threadedSystemDialogs.h b/gui/src/threadedSystemDialogs.h
new file mode 100644
index 0000000..5a055b2
--- /dev/null
+++ b/gui/src/threadedSystemDialogs.h
@@ -0,0 +1,20 @@
+
+#pragma once
+
+#include "ofThread.h"
+#include "ofURLFileLoader.h"
+#include "ofTypes.h"
+
+
+class threadedSystemLoadDialog : public ofThread {
+ public:
+ threadedSystemLoadDialog(){};
+ ~threadedSystemLoadDialog(){};
+
+ void load(std::string _caption,std::function<bool(std::string)> _callback); //bool (*_callback)(std::string filename));
+
+ std::string caption;
+ std::function<bool(std::string)> load_callback;
+
+ virtual void threadedFunction();
+};