source: trunk/third/gtk-engines/metal/metal_style.h @ 18286

Revision 18286, 1.8 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18285, which included commits to RCS files with non-trunk default branches.
RevLine 
[18285]1/* Metal Engine
2 * Copyright (C) 2001 Red Hat, Inc.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
18 *
19 * Written by Owen Taylor <otaylor@redhat.com>
20 */
21#include <gtk/gtkstyle.h>
22
23typedef struct _MetalStyle MetalStyle;
24typedef struct _MetalStyleClass MetalStyleClass;
25
26extern GType metal_type_style;
27
28#define METAL_TYPE_STYLE              metal_type_style
29#define METAL_STYLE(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), METAL_TYPE_STYLE, MetalStyle))
30#define METAL_STYLE_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), METAL_TYPE_STYLE, MetalStyleClass))
31#define METAL_IS_STYLE(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), METAL_TYPE_STYLE))
32#define METAL_IS_STYLE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), METAL_TYPE_STYLE))
33#define METAL_STYLE_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), METAL_TYPE_STYLE, MetalStyleClass))
34
35struct _MetalStyle
36{
37  GtkStyle parent_instance;
38
39  GdkColor light_gray;
40  GdkColor mid_gray;
41  GdkColor dark_gray;
42 
43  GdkGC *light_gray_gc;
44  GdkGC *mid_gray_gc;
45  GdkGC *dark_gray_gc;
46};
47
48struct _MetalStyleClass
49{
50  GtkStyleClass parent_class;
51};
52
53void metal_style_register_type (GTypeModule *module);
Note: See TracBrowser for help on using the repository browser.