summaryrefslogtreecommitdiff
path: root/src/user/settings/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/settings/editor.h')
-rw-r--r--src/user/settings/editor.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/user/settings/editor.h b/src/user/settings/editor.h
new file mode 100644
index 0000000..2980884
--- /dev/null
+++ b/src/user/settings/editor.h
@@ -0,0 +1,20 @@
+#ifndef EDITOR_H
+#define EDITOR_H
+
+#include <raleigh/d/saving_window.h>
+
+using namespace raleigh;
+
+class editor {
+ friend bool editor_save(window_tag_t e);
+public:
+ void show();
+protected:
+ editor();
+ void editing_widget_ready(widget &e, const char *sname);
+ virtual void set_data() = 0;
+private:
+ window *w;
+};
+
+#endif \ No newline at end of file