summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-09-28 16:21:31 +0200
committerMatthias Melcher <github@matthiasm.com>2023-09-29 14:12:39 +0200
commitf3eae58c520a37e93095356de88781df5b831eeb (patch)
treeae5527fcc6f93d667a51c972268034c5f2657f9c /test
parentff0a3a9d59ecc6acecdebfd44250746a786636b6 (diff)
Draw parent window backdrop on Fl_Tabs (#718)
Diffstat (limited to 'test')
-rw-r--r--test/unittest_schemes.cxx8
1 files changed, 5 insertions, 3 deletions
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
}