summaryrefslogtreecommitdiff
path: root/c_fl_text_editor.cpp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-09-16 04:10:49 +1000
committerJed Barber <jjbarber@y7mail.com>2016-09-16 04:10:49 +1000
commita4b14b883f918161d2c235a52730d159b2f9ca7a (patch)
treee157eaac1f41c2c575def19e477bf1983fa67a8c /c_fl_text_editor.cpp
parent1c0383b276531367c579549b4b640e9de0184500 (diff)
Adapad menus and callbacks now present in skeleton form, also Text_Buffers have callbacks too
Diffstat (limited to 'c_fl_text_editor.cpp')
-rw-r--r--c_fl_text_editor.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/c_fl_text_editor.cpp b/c_fl_text_editor.cpp
index 797035e..6754695 100644
--- a/c_fl_text_editor.cpp
+++ b/c_fl_text_editor.cpp
@@ -14,3 +14,25 @@ void free_fl_text_editor(TEXTEDITOR te) {
delete reinterpret_cast<Fl_Text_Editor*>(te);
}
+
+
+
+void fl_text_editor_cut (TEXTEDITOR te) {
+ Fl_Text_Editor::kf_cut(0, reinterpret_cast<Fl_Text_Editor*>(te));
+}
+
+
+void fl_text_editor_copy (TEXTEDITOR te) {
+ Fl_Text_Editor::kf_copy(0, reinterpret_cast<Fl_Text_Editor*>(te));
+}
+
+
+void fl_text_editor_paste (TEXTEDITOR te) {
+ Fl_Text_Editor::kf_paste(0, reinterpret_cast<Fl_Text_Editor*>(te));
+}
+
+
+void fl_text_editor_delete (TEXTEDITOR te) {
+ Fl_Text_Editor::kf_delete(0, reinterpret_cast<Fl_Text_Editor*>(te));
+}
+