summaryrefslogtreecommitdiff
path: root/libmetacity/meta-color-private.h
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-01-27 23:08:32 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-01-27 23:35:24 +0200
commit3c382734b75c27a6070cb8273dccb21f0355b5cd (patch)
tree99beb9851036b617e273fe8066f8b19a90ef86d4 /libmetacity/meta-color-private.h
parent310a209df3bfa37ebcd6c1388ce488fd956983bb (diff)
downloadmetacity-3c382734b75c27a6070cb8273dccb21f0355b5cd.tar.gz
libmetacity: add meta-color-spec.[c/h]
Diffstat (limited to 'libmetacity/meta-color-private.h')
-rw-r--r--libmetacity/meta-color-private.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libmetacity/meta-color-private.h b/libmetacity/meta-color-private.h
new file mode 100644
index 00000000..0e411168
--- /dev/null
+++ b/libmetacity/meta-color-private.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2001 Havoc Pennington
+ * Copyright (C) 2016 Alberts Muktupāvels
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef META_COLOR_PRIVATE_H
+#define META_COLOR_PRIVATE_H
+
+#include <gdk/gdk.h>
+
+G_BEGIN_DECLS
+
+G_GNUC_INTERNAL
+void meta_color_shade (const GdkRGBA *source,
+ const gdouble factor,
+ GdkRGBA *destination);
+
+G_END_DECLS
+
+#endif