summaryrefslogtreecommitdiff
path: root/uisimulator/hsv.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-03-26 13:47:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-03-26 13:47:42 +0000
commite4469775794e43c6bb0c6cb00e7fa8f4d9fd788e (patch)
tree122f0cf7544da29585dc2205fe9c07ceef1e7452 /uisimulator/hsv.h
parentd2a47e88c162b410a23ede7caabb066f1f1924d0 (diff)
downloadrockbox-e4469775794e43c6bb0c6cb00e7fa8f4d9fd788e.tar.gz
rockbox-e4469775794e43c6bb0c6cb00e7fa8f4d9fd788e.zip
unused includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/hsv.h')
-rw-r--r--uisimulator/hsv.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/uisimulator/hsv.h b/uisimulator/hsv.h
deleted file mode 100644
index e0fdfb0fe6..0000000000
--- a/uisimulator/hsv.h
+++ /dev/null
@@ -1,27 +0,0 @@
1/* xscreensaver, Copyright (c) 1992, 1997 Jamie Zawinski <jwz@jwz.org>
2 *
3 * Permission to use, copy, modify, distribute, and sell this software and its
4 * documentation for any purpose is hereby granted without fee, provided that
5 * the above copyright notice appear in all copies and that both that
6 * copyright notice and this permission notice appear in supporting
7 * documentation. No representations are made about the suitability of this
8 * software for any purpose. It is provided "as is" without express or
9 * implied warranty.
10 */
11
12#ifndef __HSV_H__
13#define __HSV_H__
14
15/* Converts between RGB and HSV color spaces.
16 R, G, and B are in the range 0 - 65535;
17 H is in the range 0 - 360;
18 S and V are in the range 0.0 - 1.0.
19 */
20extern void hsv_to_rgb (int h, double s, double v,
21 unsigned short *r,
22 unsigned short *g,
23 unsigned short *b);
24extern void rgb_to_hsv (unsigned short r, unsigned short g, unsigned short b,
25 int *h, double *s, double *v);
26
27#endif /* __HSV_H__ */