From db0a1f4baeb928b54d328d5dfbd0ec37b0b58bd3 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 6 Feb 2022 15:22:24 +0100 Subject: OpenGL implementation of all `fl_` "Drawing Fast Shapes" graphics calls (#385) * Fix build system for unites, * Updated unittest to check OpenGL drawing. Making sure that OpenGL drawing is exactly the same as native drawing to make FLTK widget rendering look the same in GL windows. * Make OpenGL optional. * Implemented clipping in OpenGL * unites drawing fast shapes * Fixed CMake * Updating unittest. Added tests for fl_pi and fl_arc (int) Renamed tab to render complex shapes. * Improved OpenGL FLTK drawing emulation. * Fixed GTK ROUND DOWN BOX * Fixing Makefile for unittest * Correctly aligning OpenGL text. * Fixed text alignment in GL windows. Explained the "FLTK over GL " example in Cube. * Overlapping test. * Better GL graphics alignment. * Drawing the focus rect. * Adding Alpha Channel support for GL. * Added FLTK-on-GL documentation. --- test/unittest_schemes.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/unittest_schemes.cxx') diff --git a/test/unittest_schemes.cxx b/test/unittest_schemes.cxx index 9f5123ca6..767a18bfc 100644 --- a/test/unittest_schemes.cxx +++ b/test/unittest_schemes.cxx @@ -16,6 +16,8 @@ // https://www.fltk.org/bugs.php // +#include "unittests.h" + #include // needed by Edmanuel's test layout @@ -324,4 +326,4 @@ public: } }; -UnitTest schemestest("schemes test", SchemesTest::create); +UnitTest schemestest(kTestSchemes, "Schemes Test", SchemesTest::create); -- cgit v1.2.3