summaryrefslogtreecommitdiff
path: root/src/fl_oxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_oxy.h')
-rw-r--r--src/fl_oxy.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/fl_oxy.h b/src/fl_oxy.h
new file mode 100644
index 000000000..94a33f7b4
--- /dev/null
+++ b/src/fl_oxy.h
@@ -0,0 +1,40 @@
+//
+// "Oxy" Scheme drawing routines for the Fast Light Tool Kit (FLTK).
+//
+// Copyright 2011 by Dmitrij K. e-mail: kdiman at live dot ru
+// Copyright 2012-2022 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
+// file is missing or damaged, see the license at:
+//
+// https://www.fltk.org/COPYING.php
+//
+// Please report all bugs and problems on the following page:
+//
+// https://www.fltk.org/str.php
+//
+
+#ifndef fl_oxy_h
+#define fl_oxy_h
+
+#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,
+ Fl_Color col);
+
+#endif // fl_oxy_h