summaryrefslogtreecommitdiff
path: root/src/fl_oxy.h
blob: 94a33f7b430f1e7ddd36d55129383a79b062882e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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