From ecdb8876ea6bdd333386aa7014cc5a8e0abe4c91 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Fri, 28 Apr 2017 18:21:25 +1000 Subject: Moved fltk binding to separate repo --- src/fltk_binding/c_fl_text_editor.cpp | 48 ----------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 src/fltk_binding/c_fl_text_editor.cpp (limited to 'src/fltk_binding/c_fl_text_editor.cpp') diff --git a/src/fltk_binding/c_fl_text_editor.cpp b/src/fltk_binding/c_fl_text_editor.cpp deleted file mode 100644 index c28f6fa..0000000 --- a/src/fltk_binding/c_fl_text_editor.cpp +++ /dev/null @@ -1,48 +0,0 @@ - - -#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); -} - - - - -void fl_text_editor_undo(TEXTEDITOR te) { - Fl_Text_Editor::kf_undo(0, reinterpret_cast(te)); -} - - -void fl_text_editor_cut(TEXTEDITOR te) { - Fl_Text_Editor::kf_cut(0, reinterpret_cast(te)); -} - - -void fl_text_editor_copy(TEXTEDITOR te) { - Fl_Text_Editor::kf_copy(0, reinterpret_cast(te)); -} - - -void fl_text_editor_paste(TEXTEDITOR te) { - Fl_Text_Editor::kf_paste(0, reinterpret_cast(te)); -} - - -void fl_text_editor_delete(TEXTEDITOR te) { - Fl_Text_Editor::kf_delete(0, reinterpret_cast(te)); -} - - -void fl_text_editor_remove_key_binding(TEXTEDITOR te, unsigned int k, unsigned long m) { - reinterpret_cast(te)->remove_key_binding(k, m); -} - -- cgit