X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcolours.h;h=e1f65fd1916fd8d7ff84b7f89322f00d97d16619;hb=0b3fbed04520af4b228aa42723e02b5831f1d0c2;hp=b83ccd41b70abafde01938a24e247e00df0a8dee;hpb=e28f79a133792323d738804bde1f86c9c5d53c30;p=monky diff --git a/src/colours.h b/src/colours.h index b83ccd4..e1f65fd 100644 --- a/src/colours.h +++ b/src/colours.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * @@ -7,7 +9,7 @@ * Please see COPYING for details * * Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen - * Copyright (c) 2005-2008 Brenden Matthews, Philip Kovacs, et. al. + * Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. * (see AUTHORS) * All rights reserved. * @@ -27,8 +29,9 @@ #ifndef _COLOURS_H #define _COLOURS_H -unsigned int adjust_colors(unsigned int); -unsigned long do_gradient(unsigned long, unsigned long); -unsigned long gradient_max(unsigned long, unsigned long); +unsigned int adjust_colours(unsigned int); +unsigned long *do_gradient(int, unsigned long, unsigned long); + +long get_x11_color(const char *); #endif /* _COLOURS_H */