diff options
| author | Greg Ercolano <erco@seriss.com> | 2017-10-08 20:38:36 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2017-10-08 20:38:36 +0000 |
| commit | d0e1d16ae899addf544c765ec8d50d8e095455df (patch) | |
| tree | 8c9546496b86cfebf33a311989422b8e53435791 /FL/Fl_Text_Buffer.H | |
| parent | 73f1c43474b20e49f2ff62665cc6883a43a987ae (diff) | |
Added printf() and vprintf() to Fl_Text_Buffer
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Text_Buffer.H')
| -rw-r--r-- | FL/Fl_Text_Buffer.H | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Text_Buffer.H b/FL/Fl_Text_Buffer.H index 64f6f1e45..8fba33f16 100644 --- a/FL/Fl_Text_Buffer.H +++ b/FL/Fl_Text_Buffer.H @@ -22,6 +22,7 @@ #ifndef FL_TEXT_BUFFER_H #define FL_TEXT_BUFFER_H +#include <stdarg.h> /* va_start/end */ #undef ASSERT_UTF8 @@ -287,6 +288,9 @@ public: */ void append(const char* t) { insert(length(), t); } + void vprintf(const char *fmt, va_list ap); + void printf(const char* fmt, ...); + /** Deletes a range of characters in the buffer. \param start byte offset to first character to be removed |
