summaryrefslogtreecommitdiff
path: root/src/fltk_binding/c_fl_text_display.h
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-05-27 04:03:00 +1000
committerJed Barber <jjbarber@y7mail.com>2016-05-27 04:03:00 +1000
commitb1a8b46960380dc3a771935a09c4e4a23e811c4a (patch)
tree25d2693835dc3410165e19670b16a0c50a51ef4b /src/fltk_binding/c_fl_text_display.h
parent2b4468a62a55d9f8520582f9aa2e420ab89ed7bd (diff)
Text buffers, access types and line lengths
Diffstat (limited to 'src/fltk_binding/c_fl_text_display.h')
-rw-r--r--src/fltk_binding/c_fl_text_display.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fltk_binding/c_fl_text_display.h b/src/fltk_binding/c_fl_text_display.h
index 2c1019f..dba1706 100644
--- a/src/fltk_binding/c_fl_text_display.h
+++ b/src/fltk_binding/c_fl_text_display.h
@@ -3,6 +3,8 @@
#ifndef FL_TEXT_DISPLAY_GUARD
#define FL_TEXT_DISPLAY_GUARD
+#include "c_fl_text_buffer.h"
+
typedef void* TEXTDISPLAY;
@@ -10,6 +12,8 @@ typedef void* TEXTDISPLAY;
extern "C" TEXTDISPLAY new_fl_text_display(int x, int y, int w, int h, char* label);
extern "C" void free_fl_text_display(TEXTDISPLAY td);
+extern "C" TEXTBUFFER fl_text_display_get_buffer(TEXTDISPLAY td);
+extern "C" void fl_text_display_set_buffer(TEXTDISPLAY td, TEXTBUFFER tb);
extern "C" int fl_text_display_get_text_color(TEXTDISPLAY td);
extern "C" void fl_text_display_set_text_color(TEXTDISPLAY td, int c);
extern "C" int fl_text_display_get_text_font(TEXTDISPLAY td);