diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-05-27 04:03:00 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-05-27 04:03:00 +1000 |
commit | 32062c660307d5b34f46b1f7b75d17a184930e71 (patch) | |
tree | 6ab33672207fdef5b500e5a0bfded5190f05e79e /c_fl_text_buffer.cpp | |
parent | 2aac034b614d6de39f4aee9f41dba8f2bcc63d8d (diff) |
Text buffers, access types and line lengths
Diffstat (limited to 'c_fl_text_buffer.cpp')
-rw-r--r-- | c_fl_text_buffer.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/c_fl_text_buffer.cpp b/c_fl_text_buffer.cpp new file mode 100644 index 0000000..791e0ab --- /dev/null +++ b/c_fl_text_buffer.cpp @@ -0,0 +1,16 @@ + + +#include <FL/Fl_Text_Buffer.H> +#include "c_fl_text_buffer.h" + + +TEXTBUFFER new_fl_text_buffer(int rs, int pgs) { + Fl_Text_Buffer *tb = new Fl_Text_Buffer(rs, pgs); + return tb; +} + + +void free_fl_text_buffer(TEXTBUFFER tb) { + delete reinterpret_cast<Fl_Text_Buffer*>(tb); +} + |