From 8ec935b4cecd7b2185c497b34f910511377b6a27 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 26 Nov 2022 21:53:57 +0100 Subject: Simplify and improve "oxy" arrow drawing functions - change drawing arrows from lines to polygons - remove superfluous functions - add more comments --- src/fl_oxy.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/fl_oxy.h') diff --git a/src/fl_oxy.h b/src/fl_oxy.h index 94a33f7b4..e3e7d576f 100644 --- a/src/fl_oxy.h +++ b/src/fl_oxy.h @@ -1,7 +1,7 @@ // // "Oxy" Scheme drawing routines for the Fast Light Tool Kit (FLTK). // -// Copyright 2011 by Dmitrij K. e-mail: kdiman at live dot ru +// Copyright 2011 by Dmitrij K. aka "kdiman" // Copyright 2012-2022 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in @@ -21,17 +21,11 @@ #include // draw an arrow GUI element for the 'oxy' scheme +// // bb bounding box // t arrow type // o orientation -// ac widget is active (true) or inactive (false) // c arrow color -// hc "highlight" color - -extern FL_EXPORT void oxy_arrow(Fl_Rect bb, - Fl_Arrow_Type t, Fl_Orientation o, - bool ac, - Fl_Color c, Fl_Color hc = FL_BLACK); extern FL_EXPORT void oxy_arrow(Fl_Rect bb, Fl_Arrow_Type t, Fl_Orientation o, -- cgit v1.2.3