comparison lwlib/xlwgcs.h @ 442:abe6d1db359e r21-2-36

Import from CVS: tag r21-2-36
author cvs
date Mon, 13 Aug 2007 11:35:02 +0200
parents 74fd4e045ea6
children c33ae14dd6d0
comparison
equal deleted inserted replaced
441:72a7cfa4a488 442:abe6d1db359e
1 /* Tabs Widget for XEmacs. 1 /* Tabs Widget for XEmacs.
2 Copyright (C) 1999 Edward A. Falk 2 Copyright (C) 1999 Edward A. Falk
3 3
4 This file is part of XEmacs. 4 This file is part of XEmacs.
5 5
6 XEmacs is free software; you can redistribute it and/or modify it 6 XEmacs is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the 7 under the terms of the GNU General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any 8 Free Software Foundation; either version 2, or (at your option) any
9 later version. 9 later version.
10 10
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT 11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details. 14 for more details.
15 15
16 You should have received a copy of the GNU General Public License 16 You should have received a copy of the GNU General Public License
17 along with XEmacs; see the file COPYING. If not, write to 17 along with XEmacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */ 19 Boston, MA 02111-1307, USA. */
20 20
21 /* Synched up with: Gcs 1.7 */ 21 /* Synched up with: Gcs 1.7 */
22 22
23 23
24 #ifndef GCS_H 24 #ifndef GCS_H
25 #define GCS_H 25 #define GCS_H
26 26
27 /* Overview of functions provided here: 27 /* Overview of functions provided here:
33 * Given a widget, return a GC for painting the background color 33 * Given a widget, return a GC for painting the background color
34 * 34 *
35 * AllocShadeGC() 35 * AllocShadeGC()
36 * Given foreground, background, a contrast value & be_nice_to_colormap 36 * Given foreground, background, a contrast value & be_nice_to_colormap
37 * flag, return a GC suitable for rendering in an intermediate color, 37 * flag, return a GC suitable for rendering in an intermediate color,
38 * as determined by constrast. May return a dither pattern or a 38 * as determined by contrast. May return a dither pattern or a
39 * solid color, as appropriate. 39 * solid color, as appropriate.
40 * 40 *
41 * Contrast 0 = background color, 100 = foreground color. It is legal 41 * Contrast 0 = background color, 100 = foreground color. It is legal
42 * for contrast to be more than 100 or less than 0. 42 * for contrast to be more than 100 or less than 0.
43 * 43 *