diff options
| author | erco77 <erco@seriss.com> | 2023-11-14 07:01:52 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-14 07:01:52 -0800 |
| commit | 6842a43a3170c6f7a852186d5688baebdac16e2c (patch) | |
| tree | 04493580bf8fc798858720c7ab7ffecedeb9ee3e /test/unittest_core.cxx | |
| parent | 83f6336f3b024f4a7c55a7499d036f03d946c1b9 (diff) | |
Fl_Terminal widget (#800)
Pull Fl_Terminal widget from Greg's fork
Diffstat (limited to 'test/unittest_core.cxx')
| -rw-r--r-- | test/unittest_core.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/unittest_core.cxx b/test/unittest_core.cxx index 2d109680f..23e7ab953 100644 --- a/test/unittest_core.cxx +++ b/test/unittest_core.cxx @@ -18,8 +18,9 @@ #include <FL/Fl_Group.H> #include <FL/Fl_Button.H> -#include <FL/Fl_Simple_Terminal.H> +#include <FL/Fl_Terminal.H> #include "../src/Fl_String.H" +#include <FL/Fl_Preferences.H> #include <FL/fl_callback_macros.H> #include <FL/filename.H> #include <FL/fl_utf8.h> @@ -374,7 +375,7 @@ TEST(Fl_Callback_Macros, FL_INLINE_CALLBACK) { */ class Ut_Core_Test : public Fl_Group { - Fl_Simple_Terminal *tty; + Fl_Terminal *tty; bool suite_ran_; public: @@ -390,7 +391,7 @@ public: tty(NULL), suite_ran_(false) { - tty = new Fl_Simple_Terminal(x+4, y+4, w-8, h-8, "Unittest Log"); + tty = new Fl_Terminal(x+4, y+4, w-8, h-8, "Unittest Log"); tty->ansi(true); end(); Ut_Suite::tty = tty; |
