aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/colors.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/colors.h')
-rw-r--r--gtk/colors.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gtk/colors.h b/gtk/colors.h
index 4ff136d8c2..8f4c1100c6 100644
--- a/gtk/colors.h
+++ b/gtk/colors.h
@@ -44,4 +44,18 @@ void colors_init(void);
*/
gboolean get_color(GdkColor *new_color);
+/** Convert color_t to GdkColor.
+ *
+ * @param target the GdkColor to be filled
+ * @param source the source color_t
+ */
+void color_t_to_gdkcolor(GdkColor *target, color_t *source);
+
+/** Convert GdkColor to color_t.
+ *
+ * @param target the source color_t
+ * @param source the GdkColor to be filled
+ */
+void gdkcolor_to_color_t(color_t *target, GdkColor *source);
+
#endif