From 349b818d3fd4f568160537616857b9ff7d68d3aa Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 29 Nov 2025 12:57:08 +0100 Subject: Fluid: convert modal panels into tabs in the widget panel (#1339) --- FL/Fl_Text_Buffer.H | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'FL') diff --git a/FL/Fl_Text_Buffer.H b/FL/Fl_Text_Buffer.H index f548f1e4e..d74ddfc79 100644 --- a/FL/Fl_Text_Buffer.H +++ b/FL/Fl_Text_Buffer.H @@ -23,6 +23,7 @@ #define FL_TEXT_BUFFER_H #include /* va_list */ +#include #include "fl_attr.h" /* Doxygen can't find */ #undef ASSERT_UTF8 @@ -230,6 +231,12 @@ public: */ char* text() const; + /** + \brief Get a copy of the entire contents of the text buffer. + \return text as a UTF-8 string + */ + std::string text_str() const; + /** Replaces the entire contents of the text buffer. \param text Text must be valid UTF-8. If null, an empty string is substituted. -- cgit v1.2.3