From 32062c660307d5b34f46b1f7b75d17a184930e71 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Fri, 27 May 2016 04:03:00 +1000 Subject: Text buffers, access types and line lengths --- c_fl_text_display.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'c_fl_text_display.h') 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); -- cgit