summaryrefslogtreecommitdiff
path: root/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
commit32062c660307d5b34f46b1f7b75d17a184930e71 (patch)
tree6ab33672207fdef5b500e5a0bfded5190f05e79e /c_fl_text_display.h
parent2aac034b614d6de39f4aee9f41dba8f2bcc63d8d (diff)
Text buffers, access types and line lengths
Diffstat (limited to 'c_fl_text_display.h')
-rw-r--r--c_fl_text_display.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/c_fl_text_display.h b/c_fl_text_display.h
index 2c1019f..dba1706 100644
--- a/c_fl_text_display.h
+++ b/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);