summaryrefslogtreecommitdiff
path: root/includes/misc.h
diff options
context:
space:
mode:
authorCracker64 <cracker642@gmail.com>2011-04-23 03:11:05 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-04-23 13:00:51 (GMT)
commitbd8de4c8420b7b6dc782d12a0eef1ea3fe6f5883 (patch)
tree8a8b181ab8fcaabfe862e0ae1464c1da9b2bc500 /includes/misc.h
parentaa3f475edc754ba84b65d83106b91104ac827854 (diff)
downloadpowder-bd8de4c8420b7b6dc782d12a0eef1ea3fe6f5883.zip
powder-bd8de4c8420b7b6dc782d12a0eef1ea3fe6f5883.tar.gz
Decorations! ,still messing with it. It does not save currently. TODO: fix typing in boxes to update the color. Line/box tools. Some basic color selections like an element menu.
Diffstat (limited to 'includes/misc.h')
-rw-r--r--includes/misc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/misc.h b/includes/misc.h
index ef23b1e..f504a7b 100644
--- a/includes/misc.h
+++ b/includes/misc.h
@@ -66,6 +66,9 @@ int register_extension();
int cpu_check(void);
+void HSV_to_RGB(int h,int s,int v,int *r,int *g,int *b);
+
+void RGB_to_HSV(int r,int g,int b,int *h,int *s,int *v);
// a b
// c d
struct matrix2d {