diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-11-13 14:41:26 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-11-13 14:41:26 +1100 |
commit | 0f9b0b9259ada50de7f8866f9591ce4ad3e7eadc (patch) | |
tree | cfcafa0c09eb9f9543e40dfe15a17d384d5e12ef /c_fl_text_display.cpp | |
parent | fa22b74c2e6528b4315909377f277ef193e19d11 (diff) |
Added word wrap feature
Diffstat (limited to 'c_fl_text_display.cpp')
-rw-r--r-- | c_fl_text_display.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/c_fl_text_display.cpp b/c_fl_text_display.cpp index 5104869..d1785e2 100644 --- a/c_fl_text_display.cpp +++ b/c_fl_text_display.cpp @@ -83,3 +83,8 @@ void fl_text_display_previous_word(TEXTDISPLAY td) { reinterpret_cast<Fl_Text_Display*>(td)->previous_word(); } + +void fl_text_display_wrap_mode(TEXTDISPLAY td, int w, int m) { + reinterpret_cast<Fl_Text_Display*>(td)->wrap_mode(w, m); +} + |