~ubuntu-branches/ubuntu/precise/gtk2-engines-xfce/precise

« back to all changes in this revision

Viewing changes to src/xfce_rc_style.h

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2006-11-16 13:30:49 UTC
  • mfrom: (1.2.1 upstream) (3.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061116133049-tps8a3tb4yne9g4z
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*  $Id: xfce_rc_style.h 320 2004-08-25 17:57:54Z olivier $
 
2
 *
 
3
 *  This program is free software; you can redistribute it and/or modify
 
4
 *  it under the terms of the GNU General Public License as published by
 
5
 *  the Free Software Foundation; either version 2 of the License, or
 
6
 *  (at your option) any later version.
 
7
 *
 
8
 *  This program is distributed in the hope that it will be useful,
 
9
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 *  GNU General Public License for more details.
 
12
 *
 
13
 *  You should have received a copy of the GNU General Public License
 
14
 *  along with this program; if not, write to the Free Software
 
15
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
16
 *
 
17
 *  Copyright (C) 1999-2004 Olivier Fourdan (fourdan@xfce.org)
 
18
 *
 
19
 *  Portions based Thinice port by 
 
20
 *                       Tim Gerla <timg@rrv.net>,
 
21
 *                       Tomas �gren <stric@ing.umu.se,
 
22
 *                       Richard Hult <rhult@codefactory.se>
 
23
 *  Portions based on Smooth theme by
 
24
 *                       Andrew Johnson <ajgenius@ajgenius.us>
 
25
 *  Portions based on IceGradient theme by  
 
26
 *                       Tim Gerla <timg@means.net>
 
27
 *                       Tomas Ögren <stric@ing.umu.se>
 
28
 *                       JM Perez <jose.perez@upcnet.es>
 
29
 *  Portions based on Wonderland theme by   
 
30
 *                       Garrett LeSage
 
31
 *                       Alexander Larsson
 
32
 *                       Owen Taylor <otaylor@redhat.com>
 
33
 *  Portions based on Raleigh theme by 
 
34
 *                       Owen Taylor <otaylor@redhat.com>
 
35
 *  Portions based on Notif theme
 
36
 *  Portions based on Notif2 theme
 
37
 *  Portions based on original GTK theme
 
38
 */
 
39
 
1
40
#ifdef HAVE_CONFIG_H
2
41
#  include "config.h"
3
42
#endif
25
64
    XFCE_RC_GRADIENT_AUTO
26
65
} XfceRcGradientType;
27
66
 
 
67
typedef enum
 
68
{
 
69
    XFCE_RC_HANDLER_NONE,
 
70
    XFCE_RC_GRIP_ROUGH,
 
71
    XFCE_RC_GRIP_SLIDE
 
72
} XfceRcHandlerType;
 
73
 
28
74
struct _XfceRcStyle
29
75
{
30
76
    GtkRcStyle parent_instance;
31
77
 
32
78
    gboolean smooth_edge;
 
79
    XfceRcHandlerType grip_style;
33
80
    gboolean gradient;
34
 
    XfceRcGradientType gradient_type;
 
81
    XfceRcGradientType gradient_style;
35
82
    gfloat shade_start;
36
83
    gfloat shade_end;
37
84
};
48
95
    TOKEN_SMOOTHEDGE = G_TOKEN_LAST + 1,
49
96
    TOKEN_BOXFILL,
50
97
    TOKEN_FILL_STYLE,
 
98
    TOKEN_GRIP_STYLE,
 
99
    TOKEN_GRIP_NONE,
 
100
    TOKEN_GRIP_ROUGH,
 
101
    TOKEN_GRIP_SLIDE,
51
102
    TOKEN_GRADIENT,
52
103
    TOKEN_PLAIN,
53
104
    TOKEN_ORIENTATION,