diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-11-26 21:53:57 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-11-26 21:56:38 +0100 |
| commit | 8ec935b4cecd7b2185c497b34f910511377b6a27 (patch) | |
| tree | 375dcf27e112bfea7fded418fa8a2f541c6a0683 /src/fl_oxy.h | |
| parent | 87fe29372cf8623a003b39dea755f3d290916601 (diff) | |
Simplify and improve "oxy" arrow drawing functions
- change drawing arrows from lines to polygons
- remove superfluous functions
- add more comments
Diffstat (limited to 'src/fl_oxy.h')
| -rw-r--r-- | src/fl_oxy.h | 10 |
1 files changed, 2 insertions, 8 deletions
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 <FL/Fl.H> // 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, |
