~ubuntu-branches/debian/sid/link-monitor-applet/sid

« back to all changes in this revision

Viewing changes to src/lm-color-generator.h

  • Committer: Bazaar Package Importer
  • Author(s): Adriaan Peeters
  • Date: 2008-03-30 22:26:13 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20080330222613-5aubcuo9mgg2n7st
Tags: upstream-3.0
ImportĀ upstreamĀ versionĀ 3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Random color generation algorithm, taken from Pidgin and edited for
 
3
 * style.
 
4
 *
 
5
 * Pidgin,
 
6
 * Copyright (C) 1998-2007 the Pidgin authors
 
7
 *
 
8
 * Link Monitor Applet
 
9
 * Copyright (C) 2004-2008 Jean-Yves Lefort <jylefort@brutele.be>
 
10
 *
 
11
 * This program is free software; you can redistribute it and/or modify
 
12
 * it under the terms of the GNU General Public License as published by
 
13
 * the Free Software Foundation; either version 3 of the License, or
 
14
 * (at your option) any later version.
 
15
 *
 
16
 * This program is distributed in the hope that it will be useful,
 
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
 * GNU General Public License for more details.
 
20
 *
 
21
 * You should have received a copy of the GNU General Public License along
 
22
 * with this program; if not, write to the Free Software Foundation, Inc.,
 
23
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
24
 */
 
25
 
 
26
#ifndef _LM_COLOR_GENERATOR_H
 
27
#define _LM_COLOR_GENERATOR_H
 
28
 
 
29
#include <gtk/gtk.h>
 
30
 
 
31
GArray *lm_color_generator_generate (int count, const GdkColor *bg);
 
32
 
 
33
#endif /* _LM_COLOR_GENERATOR_H */