From f3eae58c520a37e93095356de88781df5b831eeb Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 28 Sep 2023 16:21:31 +0200 Subject: Draw parent window backdrop on Fl_Tabs (#718) --- test/unittest_schemes.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'test/unittest_schemes.cxx') diff --git a/test/unittest_schemes.cxx b/test/unittest_schemes.cxx index 93ec3c353..e6e5cee69 100644 --- a/test/unittest_schemes.cxx +++ b/test/unittest_schemes.cxx @@ -315,16 +315,18 @@ public: o->labelcolor((Fl_Color)55); o->tooltip("Fl_Adjuster with up box"); } // Fl_Adjuster* o - { Fl_Text_Editor* o = new Fl_Text_Editor(220, 53, 100, 29, "down frame"); + { Fl_Text_Editor* o = new Fl_Text_Editor(220, 40, 100, 25); o->box(FL_DOWN_FRAME); o->color((Fl_Color)19); o->selection_color(FL_DARK1); - o->tooltip("Fl_Adjuster with down frame"); + o->buffer(new Fl_Text_Buffer); + o->tooltip("Fl_Text_Editor with down frame"); } // Fl_Text_Editor* o - { Fl_Text_Editor* o = new Fl_Text_Editor(220, 99, 100, 38, "up frame"); + { Fl_Text_Editor* o = new Fl_Text_Editor(220, 70, 100, 25); o->box(FL_UP_FRAME); o->color((Fl_Color)19); o->selection_color(FL_DARK1); + o->buffer(new Fl_Text_Buffer); o->tooltip("Fl_Text_Editor with up frame"); } // Fl_Text_Editor* o } -- cgit v1.2.3