File: jpilotrc.blue

package info (click to toggle)
jpilot 0.97-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,244 kB
  • ctags: 957
  • sloc: ansic: 13,558; makefile: 192; sh: 153
file content (195 lines) | stat: -rw-r--r-- 5,080 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
style "window"
{
fg[NORMAL] = { 1.0, 1.0, 1.0 }
bg[NORMAL] = { 0.0, 0.3, 0.6 }
}

style "label"
{
fg[NORMAL] = { 1.0, 1.0, 1.0 }
bg[NORMAL] = { 0.0, 0.3, 0.6 }
}

style "label_high"
{
fg[NORMAL] = { 0.9, 0.9, 0.5 }
}

style "label_box_cal"
{
fg[NORMAL] = { 0.0, 0.0, 1.0 }
bg[NORMAL] = { 1.0, 1.0, 1.0 }
bg[ACTIVE] = { 1.0, 1.0, 1.0 }
bg[PRELIGHT] = { 1.0, 1.0, 1.0 }
bg[INSENSITIVE] = { 1.0, 1.0, 1.0 }
}

style "frame"
{
fg[NORMAL] = { 1.0, 1.0, 1.0 }
bg[NORMAL] = { 1.0, 1.0, 1.0 }
}

style "button"
{
# This shows all the possible states for a button.  The only one that
# doesn't apply is the SELECTED state.
fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
bg[PRELIGHT] = { 0, 0.4, 0.6 }
bg[ACTIVE] = { 0, 0.4, 0.6 }
fg[ACTIVE] = { 1.0, 1.0, 1.0 }
bg[NORMAL] = { 0.0, 0.3, 0.6 }
fg[NORMAL] = { 0.5, 1.0, 1.0 }
bg[INSENSITIVE] = { 1.0, 1.0, 1.0 }
fg[INSENSITIVE] = { 1.0, 0, 1.0 }
}
  
style "button_set" = "button"
{
bg[NORMAL] = { 0.0, 0.5, 0.7 }
}
  
style "button_today" = "button"
{
bg[NORMAL] = { 0.0, 0.4, 0.6 }
}

style "button_dow" = "button"
{
fg[PRELIGHT] = { 0.0, 0.0, 0.0 }
bg[PRELIGHT] = { 0.0, 0.3, 0.6 }
bg[ACTIVE] = { 0.0, 0.3, 0.6 }
fg[ACTIVE] = { 0.0, 0.0, 0.0 }
}

style "button_app"
{
fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
bg[PRELIGHT] = { 0.0, 0.5, 0.7 }
}

style "main_button" = "button"
{
font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
bg[PRELIGHT] = { 0.75, 0, 0 }
}

style "toggle_button" = "button"
{
#fg[NORMAL] = { 1.0, 1.0, 1.0 }
#bg[NORMAL] = { 0, 0.3, 0.6 }
#fg[ACTIVE] = { 1.0, 1.0, 1.0 }
#bg[ACTIVE] = { 0.0, 0.4, 0.7 }
#bg[PRELIGHT] = { 0.0, 0.3, 0.6 }
#fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
}

style "radio_button"
{
fg[NORMAL] = { 1.0, 1.0, 0.0 }
bg[NORMAL] = { 0, 0.3, 0.6 }
fg[ACTIVE] = { 1.0, 1.0, 1.0 }
bg[ACTIVE] = { 1.0, 1.0, 0.0 }
bg[PRELIGHT] = { 0.0, 0.3, 0.6 }
fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
}

style "spinner" = "spinner"
{
fg[NORMAL] = { 0.0, 0.0, 0.0 }
bg[NORMAL] = { 0.0, 0.3, 0.6 }
bg[PRELIGHT] = { 1.0, 1.0, 0.0 }
fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
base[NORMAL] = { 0.85, 0.9, 1.0 }
}

style "text"
{
bg[NORMAL] = { 0, 0.4, 0.7 }
fg[NORMAL] = { 0.0, 0.0, 0.0 }
fg[PRELIGHT] = { 0.0, 0.0, 0.0 }
bg[PRELIGHT] = { 0.0, 0.5, 0.7 }
#fg[SELECTED] = { 0.0, 0.0, 0.0 }
#bg[SELECTED] = { 0.9, 0.8, 1.0 }
fg[ACTIVE] = { 0.0, 0.0, 0.0 }
bg[ACTIVE] = { 0.0, 0.3, 0.6 } #bg of scrollbars
fg[INSENSITIVE] = { 1.0, 1.0, 0.0 }
bg[INSENSITIVE] = { 0.0, 0.0, 0.0 }
text[NORMAL] = { 0.0, 0.0, 1.0 }
base[NORMAL] = { 0.85, 0.9, 1.0 }
}

style "ruler"
{
font = "-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*"
}

style "menu"
{
bg[NORMAL] = { 0.0, 0.30, 0.6 }
fg[NORMAL] = { 1.0, 1.0, 1.0 }
fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
bg[PRELIGHT] = { 0.0, 0.4, 0.7 }
fg[ACTIVE] = { 0.0, 1.0, 0.0 }
bg[ACTIVE] = { 0, 0.3, 0.6 }
fg[SELECTED] = { 1.0, 0.0, 0.0 }
bg[SELECTED] = { 0, 0.5, 0.5 }
}

style "notebook"
{
# This shows all the possible states for a button.  The only one that
# doesn't apply is the SELECTED state.

bg[ACTIVE] = { 0.0, 0.3, 0.6 }
fg[ACTIVE] = { 0.9, 0.9, 0.9 }
bg[NORMAL] = { 0.0, 0.3, 0.6 }
fg[NORMAL] = { 0.9, 0.9, 0.9 }
bg[ACTIVE] = { 0.0, 0.25, 0.55 }
fg[ACTIVE] = { 1.0, 1.0, 1.0 }
}

  # pixmap_path "~/.pixmaps"

  # These set the widget types to use the styles defined above.
  # The widget types are listed in the class hierarchy, but could probably be
  # just listed in this document for the users reference.

  widget_class "GtkWindow" style "window"
  widget_class "GtkDialog" style "window"
  widget_class "GtkFileSelection" style "window"
#  widget_class "*Gtk*Scale" style "scale"
  widget_class "*GtkNotebook" style "notebook"
  widget_class "*GtkCheckButton*" style "radio_button"
  widget_class "*GtkRadioButton*" style "radio_button"
  widget_class "*GtkButton*" style "button"
  widget_class "*GtkSpinButton" style "spinner"
  widget_class "*GtkToggleButton*" style "toggle_button"
  widget_class "*Ruler" style "ruler"
  widget_class "*GtkMenu" style "menu"
widget_class "*Menu*" style "menu"
  widget_class "*GtkOptionMenu" style "menu"
  widget_class "*GtkRadioMenuItem" style "menu"
  widget_class "*GtkText" style "text"
  widget_class "*GtkCList" style "text"
  widget_class "*GtkVScrollbar" style "text"
  widget_class "*GtkHScrollbar" style "text"
  widget_class "*GtkLabel" style "label"
  widget_class "*GtkFrame" style "frame"
  widget_class "*GtkEntry" style "text"
  widget "*GtkButton*.button_set" style "button_set"
  widget "*GtkButton*.button_dow" style "button_dow"
  widget "*GtkButton*.button_today" style "button_today"
  widget "*GtkButton*.button_app" style "button_app"

  # This sets all the buttons that are children of the "main window" to
  # the main_button style.  These must be documented to be taken advantage of.
  widget "main window.*GtkButton*" style "main_button"

#works->widget "*GtkTable.*GtkButton*" style "button_set"
widget "*.button_set" style "button_set"
widget "*.button_dow" style "button_dow"
widget "*.button_today" style "button_today"
widget "*.button_app" style "button_app"
widget "*.label_box_cal" style "label_box_cal"
widget "*.label_high" style "label_high"