From f15e45791a0658fd5a062629f59c4815ce8b2489 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sat, 28 May 2016 14:53:13 +1000 Subject: Text editors, single and menu windows --- c_fl_text_editor.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 c_fl_text_editor.cpp (limited to 'c_fl_text_editor.cpp') diff --git a/c_fl_text_editor.cpp b/c_fl_text_editor.cpp new file mode 100644 index 0000000..797035e --- /dev/null +++ b/c_fl_text_editor.cpp @@ -0,0 +1,16 @@ + + +#include +#include "c_fl_text_editor.h" + + +TEXTEDITOR new_fl_text_editor(int x, int y, int w, int h, char* label) { + Fl_Text_Editor *te = new Fl_Text_Editor(x, y, w, h, label); + return te; +} + + +void free_fl_text_editor(TEXTEDITOR te) { + delete reinterpret_cast(te); +} + -- cgit