aboutsummaryrefslogtreecommitdiff
path: root/cms.h
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-10 21:38:36 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-10 21:38:36 +0000
commitd27da65f2952cbfdf755cbcd8838e174ff5d5f06 (patch)
tree58b32f9653f054a1074282478e075cafdd80c9ac /cms.h
parentce4c20d0acc9cec5551934131feae7ecd11ddedf (diff)
split code
Diffstat (limited to 'cms.h')
-rw-r--r--cms.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/cms.h b/cms.h
index e98f576..aa1083a 100644
--- a/cms.h
+++ b/cms.h
@@ -18,7 +18,6 @@
#ifndef __CMS_H
#define __CMS_H
-/*
struct hsl {
double h, s, l;
};
@@ -26,17 +25,10 @@ struct hsl {
struct palette {
struct hsl from, to;
};
- */
__BEGIN_DECLS
-void hsv2rgb(
- unsigned short *r, unsigned short *g, unsigned short *b,
- double h, double s, double v
-);
-void hsl2rgb(
- unsigned short *r, unsigned short *g, unsigned short *b,
- double h, double s, double l
-);
+unsigned long *init_palette(Display *, struct palette, int);
+unsigned long hslcolor(Display *, double h, double s, double l);
__END_DECLS
#endif