diff options
Diffstat (limited to 'test/unittests.cxx')
| -rw-r--r-- | test/unittests.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/unittests.cxx b/test/unittests.cxx index 0e38022ff..7d537cc75 100644 --- a/test/unittests.cxx +++ b/test/unittests.cxx @@ -1,7 +1,7 @@ // // Unit tests for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2022 by Bill Spitzak and others. +// Copyright 1998-2025 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -32,6 +32,7 @@ #include <FL/Fl_Terminal.H> #include <FL/Fl_Group.H> #include <FL/Fl_Box.H> +#include <FL/Fl_Scheme.H> #include <FL/fl_draw.H> // fl_text_extents() #include <FL/fl_string_functions.h> // fl_strdup() #include <FL/fl_ask.H> // fl_message() @@ -469,6 +470,9 @@ int main(int argc, char** argv) { } } + // Set a more appropriate color average for the "plastic" scheme (since FLTK 1.5) + Fl_Scheme::plastic_color_average(45); + mainwin->resizable(mainwin); mainwin->show(argc, argv); // Select first test in browser, and show that test. |
