Merge lp:~andrewsomething/gnome-themes/new-wave-dark-menus into lp:~ubuntu-desktop/gnome-themes/gnome-themes-ubuntu
- new-wave-dark-menus
- Merge into gnome-themes-ubuntu
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~andrewsomething/gnome-themes/new-wave-dark-menus |
Merge into: | lp:~ubuntu-desktop/gnome-themes/gnome-themes-ubuntu |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~andrewsomething/gnome-themes/new-wave-dark-menus |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pitt | Pending | ||
Kenneth Wimer | Pending | ||
Review via email: mp+4496@code.launchpad.net |
Commit message
Description of the change
Andrew Starr-Bochicchio (andrewsomething) wrote : | # |
Andrew Starr-Bochicchio (andrewsomething) wrote : | # |
Hmmm... I had hoped bzr would handle that symlink differently.
dpkg handles the link. Building the source package with debuild -S -sa automatically changes the link. I can then build it in a Jaunty pbuilder, and it produces a package which works fine. I guess the link would have to be fixed by who ever builds the source package.
Is there a better way to do a symlink in a VCS?
- 9. By Andrew Starr-Bochicchio
-
Fix symlink. Use: '../../New Wave/gtk-
2.0/Images'
Andrew Starr-Bochicchio (andrewsomething) wrote : | # |
Arrg... Sorry for the spam. The link issue should fixed in Rev 9. I just had to use:
'../../New Wave/gtk-
That's what I get for making the first link through Nautilus and not the terminal.
Dilomo (ankere) wrote : | # |
I can't open the packages because the server does not allow me. I will try tomorrow.
Generally you can use the following file for dark menus and include the standard new wave one (as shoen in the attaxhment of the other bug):
#
#======
# New Wave Dark Menus Pixmap Theme
#======
#
#
# Based on: Ubuntu Human-Clearlooks
#
# Author:
# Anton Kerezov <email address hidden>
#
# Feel free to modify and share!
# Licensed under Creative Commons 3.0
#
# Major Version: 0.8
#======
# Include the normal New Wave file
include "default-gtkrc"
#======
# Modify only the menus so that they become dark |
#======
#
#======
# Menu system |
#======
style "newwave-
{
engine "pixmap"
{
image
{
function = BOX
state = PRELIGHT
file = "Images/
border = { 2, 2, 4, 2 }
stretch = TRUE
}
}
}
style "newwave-dark-menu"
{
xthickness = 1
ythickness = 3
bg[NORMAL] = "#ffffff"
#Dark scheme
fg[NORMAL] = @bg_color
fg[PRELIGHT] = @fg_color
fg[ACTIVE] = lighter(@bg_color)
fg[SELECTED] = lighter(@bg_color)
fg[INSENSITIVE] = darker("#7a7878")
bg[NORMAL] = "#7a7878"
bg[PRELIGHT] = "#7a7878"
bg[ACTIVE] = "#7a7878"
bg[SELECTED] = darker("#7a7878")
engine "pixmap"
{
image
{
}
}
}
style "newwave-
{
xthickness = 0
ythickness = 3
#Dark scheme
fg[NORMAL] = "#ffffff"
fg[PRELIGHT] = @fg_color
fg[INSENSITIVE] = darker("#696969")
bg[NORMAL] = "#696969"
bg[ACTIVE] = shade(1.
bg[SELECTED] = shade(1.
bg[INSENSITIVE] = "#696969"
engine "pixmap"
{
image
{
function = BOX
recolorable = TRUE
file = "Images/
border = { 4, 4, 4, 4 }
stretch = TRUE
}
image
{
function = ARROW
recolorable = TRUE
state = NORMAL
overlay_file = "Images/
}
image
{
function = ARROW
recolorable = TRUE
state = PRELIGHT
overlay_file = "Images/
}
image
{
function = ARROW
recolorable = TRUE
state = INSENSITIVE
overlay_file = "Images/
Andrew Starr-Bochicchio (andrewsomething) wrote : | # |
@ Dilomo
The reason you can't browse to that directory is that there is a bug in Loggerhead (the web-app for veiwing bzr branches) which causes a problem for directories with spaces in their names (Bug #336408).
If you paste the following you should be able to see the directory:
http://
- 10. By Andrew Starr-Bochicchio
-
* Update New Wave to version 0.8
- 11. By Andrew Starr-Bochicchio
-
* Merge with lp:~ubuntu-desktop/gnome-themes/gnome-themes-ubuntu
- 12. By Andrew Starr-Bochicchio
-
* Update New Wave to version 0.8.01
Preview Diff
1 | === added directory 'New Wave Dark Menus' | |||
2 | === added directory 'New Wave Dark Menus/gtk-2.0' | |||
3 | === added symlink 'New Wave Dark Menus/gtk-2.0/Images' | |||
4 | === target is '/home/andrew/Desktop/gnome-themes-ubuntu/New Wave/gtk-2.0/Images' | |||
5 | === added file 'New Wave Dark Menus/gtk-2.0/default-gtkrc' | |||
6 | --- New Wave Dark Menus/gtk-2.0/default-gtkrc 1970-01-01 00:00:00 +0000 | |||
7 | +++ New Wave Dark Menus/gtk-2.0/default-gtkrc 2009-03-14 22:23:13 +0000 | |||
8 | @@ -0,0 +1,4561 @@ | |||
9 | 1 | # | ||
10 | 2 | #========================================== | ||
11 | 3 | # New Wave Pixmap Theme | ||
12 | 4 | #========================================== | ||
13 | 5 | # | ||
14 | 6 | # | ||
15 | 7 | # Based on: Ubuntu Human-Clearlooks | ||
16 | 8 | # | ||
17 | 9 | # Author: | ||
18 | 10 | # Anton Kerezov <ankere@gmail.com> | ||
19 | 11 | # | ||
20 | 12 | # Former Authors: | ||
21 | 13 | # Giuseppe Pennisi <giupenni78@gmail.com> | ||
22 | 14 | # | ||
23 | 15 | # Feel free to modify and share! | ||
24 | 16 | # Licensed under Creative Commons 3.0 | ||
25 | 17 | # | ||
26 | 18 | # Major Version: 0.8 | ||
27 | 19 | |||
28 | 20 | |||
29 | 21 | # Default color values used in Appearance Manager | ||
30 | 22 | gtk_color_scheme = "fg_color: #101010\nbg_color: #E5E5E5\nbase_color: #FFFFFF\ntext_color: #1A1A1A\nselected_bg_color: #FF8F4C\nselected_fg_color: #1A1A1A\ntooltip_bg_color:#FFE6C4\ntooltip_fg_color:#330606" | ||
31 | 23 | gtk-enable-animations = 1 # so that we can use pulsation on windows that need attention | ||
32 | 24 | gtk-tooltip-timeout = 1000 # Tooltips appear too fast so I modify the delay to 1 sec. | ||
33 | 25 | |||
34 | 26 | #========================================================= | ||
35 | 27 | # The Base style | ||
36 | 28 | #========================================================= | ||
37 | 29 | style "newwave-default" | ||
38 | 30 | { | ||
39 | 31 | xthickness = 1 | ||
40 | 32 | ythickness = 1 | ||
41 | 33 | |||
42 | 34 | #========================================================= | ||
43 | 35 | # General Style Properties | ||
44 | 36 | #========================================================= | ||
45 | 37 | |||
46 | 38 | GtkButton ::child-displacement-x = 1 | ||
47 | 39 | GtkButton ::child-displacement-y = 1 | ||
48 | 40 | GtkButton ::default-border = { 0, 0, 0, 0 } | ||
49 | 41 | |||
50 | 42 | GtkCheckButton ::indicator-size = 14 | ||
51 | 43 | |||
52 | 44 | GtkPaned ::handle-size = 6 | ||
53 | 45 | |||
54 | 46 | GtkRange ::trough-border = 0 | ||
55 | 47 | GtkRange ::slider-width = 21 | ||
56 | 48 | GtkRange ::stepper-size = 21 | ||
57 | 49 | GtkRange ::stepper-spacing = 0 | ||
58 | 50 | GtkRange ::activate-slider = 1 | ||
59 | 51 | |||
60 | 52 | GtkScale ::slider-length = 17 | ||
61 | 53 | GtkScale ::trough-side-details = 0 # @author:dilomo@ Do not change or will break consistancy | ||
62 | 54 | |||
63 | 55 | GtkScrollbar ::min-slider-length = 30 | ||
64 | 56 | GtkScrollbar ::slider-width = 18 | ||
65 | 57 | GtkScrollbar ::stepper-size = 18 | ||
66 | 58 | GtkScrollbar ::activate-slider = 1 | ||
67 | 59 | GtkScrollbar ::trough-under-steppers= 1 | ||
68 | 60 | # Set this (not all ofcourse) properties to '1' of you wish the stepper arrows to be visible | ||
69 | 61 | GtkScrollbar ::has-backward-stepper = 0 | ||
70 | 62 | GtkScrollbar ::has-forward-stepper = 0 | ||
71 | 63 | GtkScrollbar ::has-secondary-backward-stepper = 0 | ||
72 | 64 | GtkScrollbar ::has-secondary-forward-stepper = 0 | ||
73 | 65 | |||
74 | 66 | GimpColorNotebook::tab-border = 1 | ||
75 | 67 | GimpDockSeparator::height = 10 | ||
76 | 68 | |||
77 | 69 | GtkMenuBar ::shadow-type = GTK_SHADOW_NONE # @author:dilomo@ Remove separator from Menubar | ||
78 | 70 | GtkMenuBar ::internal-padding = 1 | ||
79 | 71 | |||
80 | 72 | GtkMenu ::horizontal-padding = 3 | ||
81 | 73 | GtkMenu ::vertical-padding = 1 | ||
82 | 74 | GtkMenu ::horizontal-offset = -1 | ||
83 | 75 | |||
84 | 76 | GtkExpander ::expander-size = 16 | ||
85 | 77 | |||
86 | 78 | GtkToolbar ::internal-padding = 2 | ||
87 | 79 | GtkToolbar ::shadow-type = GTK_SHADOW_NONE # @author:dilomo@ Remove separators from Toolbars | ||
88 | 80 | |||
89 | 81 | GtkTreeView ::expander-size = 14 | ||
90 | 82 | GtkTreeView ::vertical-separator = 0 | ||
91 | 83 | GtkTreeView ::horizontal-separator = 2 | ||
92 | 84 | GtkTreeView ::allow-rules = 0 # Don't use different color for odd rows | ||
93 | 85 | GtkTreeView ::row-ending-details = 1 # Allow for rounded endings and transparent active rows | ||
94 | 86 | |||
95 | 87 | GtkStatusbar ::shadow_type = GTK_SHADOW_NONE #@author: gp@ Remove separator from Statusbar | ||
96 | 88 | |||
97 | 89 | GtkProgressBar ::shadow-type = GTK_SHADOW_NONE | ||
98 | 90 | |||
99 | 91 | GtkWidget ::cursor-aspect-ratio = 0.05 | ||
100 | 92 | |||
101 | 93 | # This is the pulsating rect that appears on newly launched apps | ||
102 | 94 | WnckTasklist ::fade-overlay-rect = 1 | ||
103 | 95 | WnckTasklist ::fade-opacity = 0.6 | ||
104 | 96 | |||
105 | 97 | NautilusIconContainer::highlight_alpha= 145 # Add transparency to Nautilus selection color. | ||
106 | 98 | |||
107 | 99 | |||
108 | 100 | fg[NORMAL] = @fg_color | ||
109 | 101 | fg[PRELIGHT] = @fg_color | ||
110 | 102 | fg[SELECTED] = @selected_fg_color | ||
111 | 103 | fg[ACTIVE] = @fg_color | ||
112 | 104 | fg[INSENSITIVE] = darker (@bg_color) | ||
113 | 105 | |||
114 | 106 | bg[NORMAL] = @bg_color | ||
115 | 107 | bg[PRELIGHT] = shade (1.02, @bg_color) | ||
116 | 108 | bg[SELECTED] = mix (0.25, @fg_color, @selected_bg_color) | ||
117 | 109 | bg[INSENSITIVE] = @bg_color | ||
118 | 110 | bg[ACTIVE] = shade (0.9, @bg_color) | ||
119 | 111 | |||
120 | 112 | base[NORMAL] = @base_color | ||
121 | 113 | base[PRELIGHT] = shade (0.95, @bg_color) | ||
122 | 114 | base[ACTIVE] = shade (0.90, @bg_color) | ||
123 | 115 | base[SELECTED] = mix(0.50, shade (1.05,@selected_bg_color), @tooltip_bg_color) | ||
124 | 116 | base[INSENSITIVE] = @bg_color | ||
125 | 117 | |||
126 | 118 | text[NORMAL] = @text_color | ||
127 | 119 | text[PRELIGHT] = @text_color | ||
128 | 120 | text[ACTIVE] = @selected_fg_color | ||
129 | 121 | text[SELECTED] = @selected_fg_color | ||
130 | 122 | text[INSENSITIVE] = darker (@bg_color) | ||
131 | 123 | |||
132 | 124 | |||
133 | 125 | engine "pixmap" | ||
134 | 126 | { | ||
135 | 127 | |||
136 | 128 | # Shadows | ||
137 | 129 | |||
138 | 130 | image | ||
139 | 131 | { | ||
140 | 132 | function = SHADOW | ||
141 | 133 | shadow = IN | ||
142 | 134 | recolorable = TRUE | ||
143 | 135 | file = "Images/Shadows/shadow-in.png" | ||
144 | 136 | border = { 1, 1, 2, 2} | ||
145 | 137 | stretch = TRUE | ||
146 | 138 | } | ||
147 | 139 | image | ||
148 | 140 | { | ||
149 | 141 | function = SHADOW | ||
150 | 142 | shadow = OUT | ||
151 | 143 | recolorable = TRUE | ||
152 | 144 | file = "Images/Shadows/shadow-out.png" | ||
153 | 145 | border = { 1, 1, 2, 2} | ||
154 | 146 | stretch = TRUE | ||
155 | 147 | } | ||
156 | 148 | |||
157 | 149 | image | ||
158 | 150 | { | ||
159 | 151 | function = SHADOW | ||
160 | 152 | shadow = ETCHED_IN | ||
161 | 153 | recolorable = TRUE | ||
162 | 154 | file = "Images/Frame-Gap/frame-etched-out.png" | ||
163 | 155 | border = { 1, 1, 1, 2} | ||
164 | 156 | stretch = TRUE | ||
165 | 157 | } | ||
166 | 158 | image | ||
167 | 159 | { | ||
168 | 160 | function = SHADOW | ||
169 | 161 | shadow = ETCHED_OUT | ||
170 | 162 | recolorable = TRUE | ||
171 | 163 | file = "Images/Shadows/shadow-etched-out.png" | ||
172 | 164 | border = { 1, 1, 1, 1} | ||
173 | 165 | stretch = TRUE | ||
174 | 166 | } | ||
175 | 167 | |||
176 | 168 | |||
177 | 169 | # Frame (Shadow in) | ||
178 | 170 | image | ||
179 | 171 | { | ||
180 | 172 | function = SHADOW_GAP | ||
181 | 173 | shadow = IN | ||
182 | 174 | recolorable = TRUE | ||
183 | 175 | file = "Images/Frame-Gap/frame-in.png" | ||
184 | 176 | border ={ 4, 4, 4, 4} | ||
185 | 177 | stretch = TRUE | ||
186 | 178 | gap_start_file = "Images/Frame-Gap/frame-gapstart-in.png" | ||
187 | 179 | gap_start_border = { 4, 0, 4, 0} | ||
188 | 180 | gap_end_file = "Images/Frame-Gap/frame-gapend-in.png" | ||
189 | 181 | gap_end_border = { 0, 4, 4, 0} | ||
190 | 182 | gap_side = TOP | ||
191 | 183 | } | ||
192 | 184 | |||
193 | 185 | |||
194 | 186 | # Frame (Shadow out) | ||
195 | 187 | image | ||
196 | 188 | { | ||
197 | 189 | function = SHADOW_GAP | ||
198 | 190 | shadow = OUT | ||
199 | 191 | recolorable = TRUE | ||
200 | 192 | file = "Images/Frame-Gap/frame-out.png" | ||
201 | 193 | border = { 4, 4, 4, 4} | ||
202 | 194 | stretch = TRUE | ||
203 | 195 | gap_start_file = "Images/Frame-Gap/frame-gapstart-out.png" | ||
204 | 196 | gap_start_border = { 4, 0, 4, 0} | ||
205 | 197 | gap_end_file = "Images/Frame-Gap/frame-gapend-out.png" | ||
206 | 198 | gap_end_border = { 0, 4, 4, 0} | ||
207 | 199 | gap_side = TOP | ||
208 | 200 | } | ||
209 | 201 | |||
210 | 202 | # Frame (Shadow etched in) | ||
211 | 203 | image | ||
212 | 204 | { | ||
213 | 205 | function = SHADOW_GAP | ||
214 | 206 | shadow = ETCHED_IN | ||
215 | 207 | recolorable = TRUE | ||
216 | 208 | file = "Images/Frame-Gap/frame-etched-in.png" | ||
217 | 209 | border = { 1, 1, 4, 4} | ||
218 | 210 | stretch = TRUE | ||
219 | 211 | gap_start_file = "Images/Frame-Gap/frame-gapstart-ein.png" | ||
220 | 212 | gap_start_border = { 2, 2, 2, 2} | ||
221 | 213 | gap_end_file = "Images/Frame-Gap/frame-gapend-ein.png" | ||
222 | 214 | gap_end_border = { 2, 2, 2, 2} | ||
223 | 215 | gap_side = TOP | ||
224 | 216 | } | ||
225 | 217 | |||
226 | 218 | # Frame (Shadow etched out) | ||
227 | 219 | image | ||
228 | 220 | { | ||
229 | 221 | function = SHADOW_GAP | ||
230 | 222 | shadow = ETCHED_OUT | ||
231 | 223 | recolorable = TRUE | ||
232 | 224 | file = "Images/Frame-Gap/frame-etched-out.png" | ||
233 | 225 | border = { 0, 0, 0, 2} | ||
234 | 226 | stretch = TRUE | ||
235 | 227 | gap_start_file = "Images/Frame-Gap/gap-etched-out.png" | ||
236 | 228 | #gap_start_border = { 2, 2, 2, 2} | ||
237 | 229 | gap_end_file = "Images/Frame-Gap/gap-etched-out.png" | ||
238 | 230 | #gap_end_border = { 2, 2, 2, 2} | ||
239 | 231 | gap_side = TOP | ||
240 | 232 | } | ||
241 | 233 | |||
242 | 234 | |||
243 | 235 | # Handles (normal, prelight and insensitive) | ||
244 | 236 | image | ||
245 | 237 | { | ||
246 | 238 | function = HANDLE | ||
247 | 239 | recolorable = TRUE | ||
248 | 240 | state = NORMAL | ||
249 | 241 | overlay_file = "Images/Panel/handle-h.png" | ||
250 | 242 | overlay_stretch = FALSE | ||
251 | 243 | orientation = HORIZONTAL | ||
252 | 244 | } | ||
253 | 245 | image | ||
254 | 246 | { | ||
255 | 247 | function = HANDLE | ||
256 | 248 | recolorable = TRUE | ||
257 | 249 | state = PRELIGHT | ||
258 | 250 | overlay_file = "Images/Panel/handle-h-prelight.png" | ||
259 | 251 | overlay_stretch = FALSE | ||
260 | 252 | orientation = HORIZONTAL | ||
261 | 253 | } | ||
262 | 254 | image | ||
263 | 255 | { | ||
264 | 256 | function = HANDLE | ||
265 | 257 | recolorable = TRUE | ||
266 | 258 | state = ACTIVE | ||
267 | 259 | overlay_file = "Images/Panel/handle-h-pressed.png" | ||
268 | 260 | overlay_stretch = FALSE | ||
269 | 261 | orientation = HORIZONTAL | ||
270 | 262 | } | ||
271 | 263 | image | ||
272 | 264 | { | ||
273 | 265 | function = HANDLE | ||
274 | 266 | recolorable = TRUE | ||
275 | 267 | state = INSENSITIVE | ||
276 | 268 | overlay_file = "Images/Panel/handle-h-insens.png" | ||
277 | 269 | overlay_stretch = FALSE | ||
278 | 270 | orientation = HORIZONTAL | ||
279 | 271 | } | ||
280 | 272 | |||
281 | 273 | ## vertical handle | ||
282 | 274 | image | ||
283 | 275 | { | ||
284 | 276 | function = HANDLE | ||
285 | 277 | recolorable = TRUE | ||
286 | 278 | state = NORMAL | ||
287 | 279 | overlay_file = "Images/Panel/handle-v.png" | ||
288 | 280 | overlay_stretch = FALSE | ||
289 | 281 | orientation = VERTICAL | ||
290 | 282 | } | ||
291 | 283 | image | ||
292 | 284 | { | ||
293 | 285 | function = HANDLE | ||
294 | 286 | recolorable = TRUE | ||
295 | 287 | state = PRELIGHT | ||
296 | 288 | overlay_file = "Images/Panel/handle-v-prelight.png" | ||
297 | 289 | overlay_stretch = FALSE | ||
298 | 290 | orientation = VERTICAL | ||
299 | 291 | } | ||
300 | 292 | image | ||
301 | 293 | { | ||
302 | 294 | function = HANDLE | ||
303 | 295 | recolorable = TRUE | ||
304 | 296 | state = ACTIVE | ||
305 | 297 | overlay_file = "Images/Panel/handle-v-pressed.png" | ||
306 | 298 | overlay_stretch = FALSE | ||
307 | 299 | orientation = VERTICAL | ||
308 | 300 | } | ||
309 | 301 | image | ||
310 | 302 | { | ||
311 | 303 | function = HANDLE | ||
312 | 304 | recolorable = TRUE | ||
313 | 305 | state = INSENSITIVE | ||
314 | 306 | overlay_file = "Images/Panel/handle-v-insens.png" | ||
315 | 307 | overlay_stretch = FALSE | ||
316 | 308 | orientation = VERTICAL | ||
317 | 309 | } | ||
318 | 310 | |||
319 | 311 | # Lines | ||
320 | 312 | image | ||
321 | 313 | { | ||
322 | 314 | function = VLINE | ||
323 | 315 | recolorable = TRUE | ||
324 | 316 | file = "Images/Lines/line-v.png" | ||
325 | 317 | #border = { 0, 1, 0, 0 } | ||
326 | 318 | stretch = TRUE | ||
327 | 319 | } | ||
328 | 320 | |||
329 | 321 | image | ||
330 | 322 | { | ||
331 | 323 | function = HLINE | ||
332 | 324 | recolorable = TRUE | ||
333 | 325 | file = "Images/Lines/line-h.png" | ||
334 | 326 | #border = { 1, 1, 0, 1 } | ||
335 | 327 | stretch = TRUE | ||
336 | 328 | } | ||
337 | 329 | |||
338 | 330 | #@author:dilomo@ focus image used on buttons any derivatives (check box, combo and so on) Now obsolate! | ||
339 | 331 | image | ||
340 | 332 | { | ||
341 | 333 | function = FOCUS | ||
342 | 334 | recolorable = TRUE | ||
343 | 335 | file = "Images/Others/focus.png" | ||
344 | 336 | border = { 2, 2, 2, 2 } | ||
345 | 337 | stretch = TRUE | ||
346 | 338 | } | ||
347 | 339 | |||
348 | 340 | # Arrows (all states) | ||
349 | 341 | image | ||
350 | 342 | { | ||
351 | 343 | function = ARROW | ||
352 | 344 | recolorable = TRUE | ||
353 | 345 | state = NORMAL | ||
354 | 346 | overlay_file = "Images/Arrows/arrow-up.png" | ||
355 | 347 | overlay_border = { 0, 0, 0, 0 } | ||
356 | 348 | overlay_stretch = FALSE | ||
357 | 349 | arrow_direction = UP | ||
358 | 350 | } | ||
359 | 351 | |||
360 | 352 | image | ||
361 | 353 | { | ||
362 | 354 | function = ARROW | ||
363 | 355 | state = PRELIGHT | ||
364 | 356 | recolorable = TRUE | ||
365 | 357 | overlay_file = "Images/Arrows/arrow-up-prelight.png" | ||
366 | 358 | overlay_border = { 0, 0, 0, 0 } | ||
367 | 359 | overlay_stretch = FALSE | ||
368 | 360 | arrow_direction = UP | ||
369 | 361 | } | ||
370 | 362 | |||
371 | 363 | image | ||
372 | 364 | { | ||
373 | 365 | function = ARROW | ||
374 | 366 | state = ACTIVE | ||
375 | 367 | recolorable = TRUE | ||
376 | 368 | overlay_file = "Images/Arrows/arrow-up-pressed.png" | ||
377 | 369 | overlay_border = { 0, 0, 0, 0 } | ||
378 | 370 | overlay_stretch = FALSE | ||
379 | 371 | arrow_direction = UP | ||
380 | 372 | } | ||
381 | 373 | |||
382 | 374 | image | ||
383 | 375 | { | ||
384 | 376 | function = ARROW | ||
385 | 377 | state = INSENSITIVE | ||
386 | 378 | recolorable = TRUE | ||
387 | 379 | overlay_file = "Images/Arrows/arrow-up-insens.png" | ||
388 | 380 | overlay_border = { 0, 0, 0, 0 } | ||
389 | 381 | overlay_stretch = FALSE | ||
390 | 382 | arrow_direction = UP | ||
391 | 383 | } | ||
392 | 384 | |||
393 | 385 | image | ||
394 | 386 | { | ||
395 | 387 | function = ARROW | ||
396 | 388 | state = NORMAL | ||
397 | 389 | recolorable = TRUE | ||
398 | 390 | overlay_file = "Images/Arrows/arrow-down.png" | ||
399 | 391 | overlay_border = { 0, 0, 0, 0 } | ||
400 | 392 | overlay_stretch = FALSE | ||
401 | 393 | arrow_direction = DOWN | ||
402 | 394 | } | ||
403 | 395 | |||
404 | 396 | image | ||
405 | 397 | { | ||
406 | 398 | function = ARROW | ||
407 | 399 | state = PRELIGHT | ||
408 | 400 | recolorable = TRUE | ||
409 | 401 | overlay_file = "Images/Arrows/arrow-down-prelight.png" | ||
410 | 402 | overlay_border = { 0, 0, 0, 0 } | ||
411 | 403 | overlay_stretch = FALSE | ||
412 | 404 | arrow_direction = DOWN | ||
413 | 405 | } | ||
414 | 406 | |||
415 | 407 | image | ||
416 | 408 | { | ||
417 | 409 | function = ARROW | ||
418 | 410 | state = ACTIVE | ||
419 | 411 | recolorable = TRUE | ||
420 | 412 | overlay_file = "Images/Arrows/arrow-down-pressed.png" | ||
421 | 413 | overlay_border = { 0, 0, 0, 0 } | ||
422 | 414 | overlay_stretch = FALSE | ||
423 | 415 | arrow_direction = DOWN | ||
424 | 416 | } | ||
425 | 417 | |||
426 | 418 | image | ||
427 | 419 | { | ||
428 | 420 | function = ARROW | ||
429 | 421 | state = INSENSITIVE | ||
430 | 422 | recolorable = TRUE | ||
431 | 423 | overlay_file = "Images/Arrows/arrow-down-insens.png" | ||
432 | 424 | overlay_border = { 0, 0, 0, 0 } | ||
433 | 425 | overlay_stretch = FALSE | ||
434 | 426 | arrow_direction = DOWN | ||
435 | 427 | } | ||
436 | 428 | |||
437 | 429 | image | ||
438 | 430 | { | ||
439 | 431 | function = ARROW | ||
440 | 432 | recolorable = TRUE | ||
441 | 433 | state = NORMAL | ||
442 | 434 | overlay_file = "Images/Arrows/arrow-left.png" | ||
443 | 435 | overlay_border = { 0, 0, 0, 0 } | ||
444 | 436 | overlay_stretch = FALSE | ||
445 | 437 | arrow_direction = LEFT | ||
446 | 438 | } | ||
447 | 439 | |||
448 | 440 | image | ||
449 | 441 | { | ||
450 | 442 | function = ARROW | ||
451 | 443 | recolorable = TRUE | ||
452 | 444 | state = PRELIGHT | ||
453 | 445 | overlay_file = "Images/Arrows/arrow-left-prelight.png" | ||
454 | 446 | overlay_border = { 0, 0, 0, 0 } | ||
455 | 447 | overlay_stretch = FALSE | ||
456 | 448 | arrow_direction = LEFT | ||
457 | 449 | } | ||
458 | 450 | |||
459 | 451 | image | ||
460 | 452 | { | ||
461 | 453 | function = ARROW | ||
462 | 454 | recolorable = TRUE | ||
463 | 455 | state = ACTIVE | ||
464 | 456 | overlay_file = "Images/Arrows/arrow-left-pressed.png" | ||
465 | 457 | overlay_border = { 0, 0, 0, 0 } | ||
466 | 458 | overlay_stretch = FALSE | ||
467 | 459 | arrow_direction = LEFT | ||
468 | 460 | } | ||
469 | 461 | |||
470 | 462 | image | ||
471 | 463 | { | ||
472 | 464 | function = ARROW | ||
473 | 465 | recolorable = TRUE | ||
474 | 466 | state = INSENSITIVE | ||
475 | 467 | overlay_file = "Images/Arrows/arrow-left-insens.png" | ||
476 | 468 | overlay_border = { 0, 0, 0, 0 } | ||
477 | 469 | overlay_stretch = FALSE | ||
478 | 470 | arrow_direction = LEFT | ||
479 | 471 | } | ||
480 | 472 | |||
481 | 473 | image | ||
482 | 474 | { | ||
483 | 475 | function = ARROW | ||
484 | 476 | recolorable = TRUE | ||
485 | 477 | state = NORMAL | ||
486 | 478 | overlay_file = "Images/Arrows/arrow-right.png" | ||
487 | 479 | overlay_border = { 0, 0, 0, 0 } | ||
488 | 480 | overlay_stretch = FALSE | ||
489 | 481 | arrow_direction = RIGHT | ||
490 | 482 | } | ||
491 | 483 | |||
492 | 484 | image | ||
493 | 485 | { | ||
494 | 486 | function = ARROW | ||
495 | 487 | recolorable = TRUE | ||
496 | 488 | state = PRELIGHT | ||
497 | 489 | overlay_file = "Images/Arrows/arrow-right-prelight.png" | ||
498 | 490 | overlay_border = { 0, 0, 0, 0 } | ||
499 | 491 | overlay_stretch = FALSE | ||
500 | 492 | arrow_direction = RIGHT | ||
501 | 493 | } | ||
502 | 494 | |||
503 | 495 | image | ||
504 | 496 | { | ||
505 | 497 | function = ARROW | ||
506 | 498 | recolorable = TRUE | ||
507 | 499 | state = ACTIVE | ||
508 | 500 | overlay_file = "Images/Arrows/arrow-right-pressed.png" | ||
509 | 501 | overlay_border = { 0, 0, 0, 0 } | ||
510 | 502 | overlay_stretch = FALSE | ||
511 | 503 | arrow_direction = RIGHT | ||
512 | 504 | } | ||
513 | 505 | |||
514 | 506 | image | ||
515 | 507 | { | ||
516 | 508 | function = ARROW | ||
517 | 509 | recolorable = TRUE | ||
518 | 510 | state = INSENSITIVE | ||
519 | 511 | overlay_file = "Images/Arrows/arrow-right-insens.png" | ||
520 | 512 | overlay_border = { 0, 0, 0, 0 } | ||
521 | 513 | overlay_stretch = FALSE | ||
522 | 514 | arrow_direction = RIGHT | ||
523 | 515 | } | ||
524 | 516 | |||
525 | 517 | |||
526 | 518 | # Expander (all states) | ||
527 | 519 | # | ||
528 | 520 | # Collapsed | ||
529 | 521 | image | ||
530 | 522 | { | ||
531 | 523 | function = EXPANDER | ||
532 | 524 | state = NORMAL | ||
533 | 525 | expander_style = COLLAPSED | ||
534 | 526 | file = "Images/Expander/expander-normal-c.png" | ||
535 | 527 | border = { 2, 2, 2, 2 } | ||
536 | 528 | } | ||
537 | 529 | |||
538 | 530 | image | ||
539 | 531 | { | ||
540 | 532 | function = EXPANDER | ||
541 | 533 | state = PRELIGHT | ||
542 | 534 | expander_style = COLLAPSED | ||
543 | 535 | file = "Images/Expander/expander-prelight-c.png" | ||
544 | 536 | border = { 2, 2, 2, 2 } | ||
545 | 537 | } | ||
546 | 538 | |||
547 | 539 | image | ||
548 | 540 | { | ||
549 | 541 | function = EXPANDER | ||
550 | 542 | state = ACTIVE | ||
551 | 543 | expander_style = COLLAPSED | ||
552 | 544 | file = "Images/Expander/expander-active-c.png" | ||
553 | 545 | border = { 2, 2, 2, 2 } | ||
554 | 546 | } | ||
555 | 547 | |||
556 | 548 | image | ||
557 | 549 | { | ||
558 | 550 | function = EXPANDER | ||
559 | 551 | state = INSENSITIVE | ||
560 | 552 | expander_style = COLLAPSED | ||
561 | 553 | file = "Images/Expander/expander-insens-c.png" | ||
562 | 554 | border = { 2, 2, 2, 2 } | ||
563 | 555 | } | ||
564 | 556 | |||
565 | 557 | # Semi-collapsed | ||
566 | 558 | image | ||
567 | 559 | { | ||
568 | 560 | function = EXPANDER | ||
569 | 561 | state = NORMAL | ||
570 | 562 | expander_style = SEMI_COLLAPSED | ||
571 | 563 | file = "Images/Expander/expander-normal-sc.png" | ||
572 | 564 | border = { 2, 2, 2, 2 } | ||
573 | 565 | } | ||
574 | 566 | |||
575 | 567 | image | ||
576 | 568 | { | ||
577 | 569 | function = EXPANDER | ||
578 | 570 | state = PRELIGHT | ||
579 | 571 | expander_style = SEMI_COLLAPSED | ||
580 | 572 | file = "Images/Expander/expander-prelight-sc.png" | ||
581 | 573 | border = { 2, 2, 2, 2 } | ||
582 | 574 | } | ||
583 | 575 | |||
584 | 576 | image | ||
585 | 577 | { | ||
586 | 578 | function = EXPANDER | ||
587 | 579 | state = ACTIVE | ||
588 | 580 | expander_style = SEMI_COLLAPSED | ||
589 | 581 | file = "Images/Expander/expander-active-sc.png" | ||
590 | 582 | border = { 2, 2, 2, 2 } | ||
591 | 583 | } | ||
592 | 584 | |||
593 | 585 | #image | ||
594 | 586 | #{ | ||
595 | 587 | # function = EXPANDER | ||
596 | 588 | # state = INSENSITIVE | ||
597 | 589 | # expander_style = SEMI_COLLAPSED | ||
598 | 590 | # file = "Images/Expander/expander-insens-sc.png" | ||
599 | 591 | # border = { 2, 2, 2, 2 } | ||
600 | 592 | #} | ||
601 | 593 | |||
602 | 594 | # Semi-Expanded | ||
603 | 595 | image | ||
604 | 596 | { | ||
605 | 597 | function = EXPANDER | ||
606 | 598 | state = NORMAL | ||
607 | 599 | expander_style = SEMI_EXPANDED | ||
608 | 600 | file = "Images/Expander/expander-normal-se.png" | ||
609 | 601 | border = { 2, 2, 2, 2 } | ||
610 | 602 | } | ||
611 | 603 | |||
612 | 604 | image | ||
613 | 605 | { | ||
614 | 606 | function = EXPANDER | ||
615 | 607 | state = PRELIGHT | ||
616 | 608 | expander_style = SEMI_EXPANDED | ||
617 | 609 | file = "Images/Expander/expander-prelight-se.png" | ||
618 | 610 | border = { 2, 2, 2, 2 } | ||
619 | 611 | } | ||
620 | 612 | |||
621 | 613 | image | ||
622 | 614 | { | ||
623 | 615 | function = EXPANDER | ||
624 | 616 | state = ACTIVE | ||
625 | 617 | expander_style = SEMI_EXPANDED | ||
626 | 618 | file = "Images/Expander/expander-active-se.png" | ||
627 | 619 | border = { 2, 2, 2, 2 } | ||
628 | 620 | } | ||
629 | 621 | |||
630 | 622 | #image | ||
631 | 623 | #{ | ||
632 | 624 | # function = EXPANDER | ||
633 | 625 | # state = INSENSITIVE | ||
634 | 626 | # expander_style = SEMI_EXPANDED | ||
635 | 627 | # file = "Images/Expander/expander-insens-se.png" | ||
636 | 628 | # border = { 2, 2, 2, 2 } | ||
637 | 629 | #} | ||
638 | 630 | |||
639 | 631 | # Expanded | ||
640 | 632 | image | ||
641 | 633 | { | ||
642 | 634 | function = EXPANDER | ||
643 | 635 | state = NORMAL | ||
644 | 636 | expander_style = EXPANDED | ||
645 | 637 | file = "Images/Expander/expander-normal-e.png" | ||
646 | 638 | border = { 2, 2, 2, 2 } | ||
647 | 639 | } | ||
648 | 640 | |||
649 | 641 | image | ||
650 | 642 | { | ||
651 | 643 | function = EXPANDER | ||
652 | 644 | state = PRELIGHT | ||
653 | 645 | expander_style = EXPANDED | ||
654 | 646 | file = "Images/Expander/expander-prelight-e.png" | ||
655 | 647 | border = { 2, 2, 2, 2 } | ||
656 | 648 | } | ||
657 | 649 | |||
658 | 650 | image | ||
659 | 651 | { | ||
660 | 652 | function = EXPANDER | ||
661 | 653 | state = ACTIVE | ||
662 | 654 | expander_style = EXPANDED | ||
663 | 655 | file = "Images/Expander/expander-active-e.png" | ||
664 | 656 | border = { 2, 2, 2, 2 } | ||
665 | 657 | } | ||
666 | 658 | |||
667 | 659 | image | ||
668 | 660 | { | ||
669 | 661 | function = EXPANDER | ||
670 | 662 | state = INSENSITIVE | ||
671 | 663 | expander_style = EXPANDED | ||
672 | 664 | file = "Images/Expander/expander-insens-e.png" | ||
673 | 665 | border = { 2, 2, 2, 2 } | ||
674 | 666 | } | ||
675 | 667 | |||
676 | 668 | |||
677 | 669 | # Use Images from the -Menu subfolder because in most cases the controls are embedded in lists and shadows underneath are not appropriate. | ||
678 | 670 | #OPTIONs themeing for widgets that are not pure optionbuttons (e.g. in lists): | ||
679 | 671 | |||
680 | 672 | # Set the insensitive state for all shadows | ||
681 | 673 | image | ||
682 | 674 | { | ||
683 | 675 | function = OPTION | ||
684 | 676 | recolorable = TRUE | ||
685 | 677 | state = INSENSITIVE | ||
686 | 678 | shadow = OUT | ||
687 | 679 | overlay_file = "Images/Check-Radio-Menu/opt-normal-insensitive.png" | ||
688 | 680 | overlay_stretch = FALSE | ||
689 | 681 | } | ||
690 | 682 | |||
691 | 683 | image | ||
692 | 684 | { | ||
693 | 685 | function = OPTION | ||
694 | 686 | recolorable = TRUE | ||
695 | 687 | state = INSENSITIVE | ||
696 | 688 | shadow = IN | ||
697 | 689 | overlay_file = "Images/Check-Radio-Menu/opt-mark-insensitive.png" | ||
698 | 690 | overlay_stretch = FALSE | ||
699 | 691 | } | ||
700 | 692 | image | ||
701 | 693 | { | ||
702 | 694 | function = OPTION | ||
703 | 695 | recolorable = TRUE | ||
704 | 696 | state = INSENSITIVE | ||
705 | 697 | shadow = ETCHED_IN | ||
706 | 698 | overlay_file = "Images/Check-Radio-Menu/opt-line-insensitive.png" | ||
707 | 699 | overlay_stretch = FALSE | ||
708 | 700 | } | ||
709 | 701 | |||
710 | 702 | #Set the prelight fro all shadows | ||
711 | 703 | image | ||
712 | 704 | { | ||
713 | 705 | function = OPTION | ||
714 | 706 | recolorable = TRUE | ||
715 | 707 | state = PRELIGHT | ||
716 | 708 | shadow = OUT | ||
717 | 709 | overlay_file = "Images/Check-Radio-Menu/opt-normal-prelight.png" | ||
718 | 710 | overlay_stretch = FALSE | ||
719 | 711 | } | ||
720 | 712 | image | ||
721 | 713 | { | ||
722 | 714 | function = OPTION | ||
723 | 715 | recolorable = TRUE | ||
724 | 716 | state = PRELIGHT | ||
725 | 717 | shadow = IN | ||
726 | 718 | overlay_file = "Images/Check-Radio-Menu/opt-mark-prelight.png" | ||
727 | 719 | overlay_stretch = FALSE | ||
728 | 720 | } | ||
729 | 721 | image | ||
730 | 722 | { | ||
731 | 723 | function = OPTION | ||
732 | 724 | recolorable = TRUE | ||
733 | 725 | state = PRELIGHT | ||
734 | 726 | shadow = ETCHED_IN | ||
735 | 727 | overlay_file = "Images/Check-Radio-Menu/opt-line-prelight.png" | ||
736 | 728 | overlay_stretch = FALSE | ||
737 | 729 | } | ||
738 | 730 | |||
739 | 731 | # Theme everything else the same (NORMAL, SELECTED, ACTIVE) | ||
740 | 732 | image | ||
741 | 733 | { | ||
742 | 734 | function = OPTION | ||
743 | 735 | recolorable = TRUE | ||
744 | 736 | shadow = OUT | ||
745 | 737 | overlay_file = "Images/Check-Radio-Menu/opt-normal.png" | ||
746 | 738 | overlay_stretch = FALSE | ||
747 | 739 | } | ||
748 | 740 | image | ||
749 | 741 | { | ||
750 | 742 | function = OPTION | ||
751 | 743 | recolorable = TRUE | ||
752 | 744 | shadow = IN | ||
753 | 745 | overlay_file = "Images/Check-Radio-Menu/opt-mark.png" | ||
754 | 746 | overlay_stretch = FALSE | ||
755 | 747 | } | ||
756 | 748 | image | ||
757 | 749 | { | ||
758 | 750 | function = OPTION | ||
759 | 751 | recolorable = TRUE | ||
760 | 752 | shadow = ETCHED_IN | ||
761 | 753 | overlay_file = "Images/Check-Radio-Menu/opt-line.png" | ||
762 | 754 | overlay_stretch = FALSE | ||
763 | 755 | } | ||
764 | 756 | |||
765 | 757 | # CHECKs themeing for widgets that are not pure checkbuttons (e.g. in lists): | ||
766 | 758 | # Set the insensitive state for all shadows | ||
767 | 759 | image | ||
768 | 760 | { | ||
769 | 761 | function = CHECK | ||
770 | 762 | recolorable = TRUE | ||
771 | 763 | state = INSENSITIVE | ||
772 | 764 | shadow = OUT | ||
773 | 765 | overlay_file = "Images/Check-Radio-Menu/check-normal-insensitive.png" | ||
774 | 766 | overlay_stretch = FALSE | ||
775 | 767 | } | ||
776 | 768 | image | ||
777 | 769 | { | ||
778 | 770 | function = CHECK | ||
779 | 771 | recolorable = TRUE | ||
780 | 772 | state = INSENSITIVE | ||
781 | 773 | shadow = IN | ||
782 | 774 | overlay_file = "Images/Check-Radio-Menu/check-mark-insensitive.png" | ||
783 | 775 | overlay_stretch = FALSE | ||
784 | 776 | } | ||
785 | 777 | image | ||
786 | 778 | { | ||
787 | 779 | function = CHECK | ||
788 | 780 | recolorable = TRUE | ||
789 | 781 | state = INSENSITIVE | ||
790 | 782 | shadow = ETCHED_IN | ||
791 | 783 | overlay_file = "Images/Check-Radio-Menu/check-line-insensitive.png" | ||
792 | 784 | overlay_stretch = FALSE | ||
793 | 785 | } | ||
794 | 786 | #Set the prelight fro all shadows | ||
795 | 787 | image | ||
796 | 788 | { | ||
797 | 789 | function = CHECK | ||
798 | 790 | recolorable = TRUE | ||
799 | 791 | state = PRELIGHT | ||
800 | 792 | shadow = OUT | ||
801 | 793 | overlay_file = "Images/Check-Radio-Menu/check-normal-prelight.png" | ||
802 | 794 | overlay_stretch = FALSE | ||
803 | 795 | } | ||
804 | 796 | image | ||
805 | 797 | { | ||
806 | 798 | function = CHECK | ||
807 | 799 | recolorable = TRUE | ||
808 | 800 | state = PRELIGHT | ||
809 | 801 | shadow = IN | ||
810 | 802 | overlay_file = "Images/Check-Radio-Menu/check-mark-prelight.png" | ||
811 | 803 | overlay_stretch = FALSE | ||
812 | 804 | } | ||
813 | 805 | image | ||
814 | 806 | { | ||
815 | 807 | function = CHECK | ||
816 | 808 | recolorable = TRUE | ||
817 | 809 | state = PRELIGHT | ||
818 | 810 | shadow = ETCHED_IN | ||
819 | 811 | overlay_file = "Images/Check-Radio-Menu/check-line-prelight.png" | ||
820 | 812 | overlay_stretch = FALSE | ||
821 | 813 | } | ||
822 | 814 | |||
823 | 815 | # Set the rest | ||
824 | 816 | image | ||
825 | 817 | { | ||
826 | 818 | function = CHECK | ||
827 | 819 | recolorable = TRUE | ||
828 | 820 | shadow = OUT | ||
829 | 821 | overlay_file = "Images/Check-Radio-Menu/check-normal.png" | ||
830 | 822 | overlay_stretch = FALSE | ||
831 | 823 | } | ||
832 | 824 | image | ||
833 | 825 | { | ||
834 | 826 | function = CHECK | ||
835 | 827 | recolorable = TRUE | ||
836 | 828 | shadow = IN | ||
837 | 829 | overlay_file = "Images/Check-Radio-Menu/check-mark.png" | ||
838 | 830 | overlay_stretch = FALSE | ||
839 | 831 | } | ||
840 | 832 | image | ||
841 | 833 | { | ||
842 | 834 | function = CHECK | ||
843 | 835 | recolorable = TRUE | ||
844 | 836 | shadow = ETCHED_IN | ||
845 | 837 | overlay_file = "Images/Check-Radio-Menu/check-line.png" | ||
846 | 838 | overlay_stretch = FALSE | ||
847 | 839 | } | ||
848 | 840 | } | ||
849 | 841 | } | ||
850 | 842 | |||
851 | 843 | |||
852 | 844 | style "newwave-wide" = "newwave-default" | ||
853 | 845 | { | ||
854 | 846 | bg[SELECTED] = @selected_bg_color | ||
855 | 847 | xthickness = 2 | ||
856 | 848 | ythickness = 2 | ||
857 | 849 | } | ||
858 | 850 | |||
859 | 851 | style "newwave-wider" = "newwave-default" | ||
860 | 852 | { | ||
861 | 853 | bg[SELECTED] = @selected_bg_color | ||
862 | 854 | xthickness = 3 | ||
863 | 855 | ythickness = 3 | ||
864 | 856 | } | ||
865 | 857 | |||
866 | 858 | |||
867 | 859 | |||
868 | 860 | |||
869 | 861 | #========================================================= | ||
870 | 862 | #========================================================= | ||
871 | 863 | # Pixmap widget styles | ||
872 | 864 | #========================================================= | ||
873 | 865 | #========================================================= | ||
874 | 866 | |||
875 | 867 | |||
876 | 868 | |||
877 | 869 | style "newwave-frame" = "newwave-wide" | ||
878 | 870 | { | ||
879 | 871 | # engine "pixmap" | ||
880 | 872 | # { | ||
881 | 873 | # image | ||
882 | 874 | # { | ||
883 | 875 | # function = FLAT_BOX | ||
884 | 876 | # state = NORMAL | ||
885 | 877 | # shadow = OUT | ||
886 | 878 | # file = "Images/Frame-Gap/frame2.png" | ||
887 | 879 | # stretch = TRUE | ||
888 | 880 | # } | ||
889 | 881 | # } | ||
890 | 882 | } | ||
891 | 883 | |||
892 | 884 | #========================================================= | ||
893 | 885 | # Buttons | ||
894 | 886 | #========================================================= | ||
895 | 887 | |||
896 | 888 | style "newwave-button" = "newwave-wider" | ||
897 | 889 | { | ||
898 | 890 | |||
899 | 891 | bg[NORMAL] = shade (0.98, @bg_color) | ||
900 | 892 | bg[PRELIGHT] = shade (1.04, @bg_color) | ||
901 | 893 | bg[ACTIVE] = shade (0.92, @bg_color) | ||
902 | 894 | |||
903 | 895 | GtkButton::interior_focus = 1 | ||
904 | 896 | |||
905 | 897 | GtkWidget::focus_padding = 0 | ||
906 | 898 | GtkButton::focus_width = 1 | ||
907 | 899 | GtkButton::displace_focus = 1 | ||
908 | 900 | |||
909 | 901 | # Make it vertical | ||
910 | 902 | GtkButton::child_displacement_x = 0 | ||
911 | 903 | GtkButton::child_displacement_y = 1 | ||
912 | 904 | |||
913 | 905 | # Increase because focus padding is zero | ||
914 | 906 | GtkButton::inner-border = {2, 2, 2, 2} | ||
915 | 907 | |||
916 | 908 | # Use to show glow around default buttons | ||
917 | 909 | GtkButton::default-border = { 3, 3, 3, 3} | ||
918 | 910 | GtkButton::default-outside-border = { 3, 3, 3, 3} | ||
919 | 911 | |||
920 | 912 | |||
921 | 913 | engine "pixmap" | ||
922 | 914 | { | ||
923 | 915 | |||
924 | 916 | # Focus image | ||
925 | 917 | image | ||
926 | 918 | { | ||
927 | 919 | function = FOCUS | ||
928 | 920 | recolorable = TRUE | ||
929 | 921 | detail = "button" | ||
930 | 922 | file = "Images/Buttons/button-focus.png" | ||
931 | 923 | border = {4, 4, 4, 4} | ||
932 | 924 | stretch = TRUE | ||
933 | 925 | |||
934 | 926 | } | ||
935 | 927 | |||
936 | 928 | # Normal button | ||
937 | 929 | image | ||
938 | 930 | { | ||
939 | 931 | function = BOX | ||
940 | 932 | state = NORMAL | ||
941 | 933 | shadow = OUT | ||
942 | 934 | file = "Images/Buttons/button-normal.png" | ||
943 | 935 | border ={ 4, 4, 4, 4 } | ||
944 | 936 | stretch = TRUE | ||
945 | 937 | } | ||
946 | 938 | |||
947 | 939 | #Used for default buttons glow | ||
948 | 940 | image | ||
949 | 941 | { | ||
950 | 942 | function = BOX | ||
951 | 943 | state = NORMAL | ||
952 | 944 | detail = "buttondefault" | ||
953 | 945 | file = "Images/Buttons/button-default.png" | ||
954 | 946 | border ={ 4, 4, 4, 4 } | ||
955 | 947 | stretch = TRUE | ||
956 | 948 | } | ||
957 | 949 | |||
958 | 950 | # Pressed | ||
959 | 951 | image | ||
960 | 952 | { | ||
961 | 953 | function = BOX | ||
962 | 954 | state = ACTIVE | ||
963 | 955 | file = "Images/Buttons/button-pressed.png" | ||
964 | 956 | border = { 4, 4, 4, 4 } | ||
965 | 957 | stretch = TRUE | ||
966 | 958 | } | ||
967 | 959 | |||
968 | 960 | |||
969 | 961 | |||
970 | 962 | #@author:dilomo@ prelight used on toggle buttons when they are pressed in | ||
971 | 963 | image | ||
972 | 964 | { | ||
973 | 965 | function = BOX | ||
974 | 966 | state = PRELIGHT | ||
975 | 967 | recolorable = TRUE | ||
976 | 968 | shadow = IN | ||
977 | 969 | file = "Images/Buttons/button-pressed-prelight.png" | ||
978 | 970 | border = { 4, 4, 4, 4 } | ||
979 | 971 | stretch = TRUE | ||
980 | 972 | } | ||
981 | 973 | #@author:dilomo@ prelight used on normal buttons | ||
982 | 974 | image | ||
983 | 975 | { | ||
984 | 976 | function = BOX | ||
985 | 977 | state = PRELIGHT | ||
986 | 978 | recolorable = TRUE | ||
987 | 979 | shadow = OUT | ||
988 | 980 | file = "Images/Buttons/button-prelight.png" | ||
989 | 981 | border = { 4, 4, 4, 4 } | ||
990 | 982 | stretch = TRUE | ||
991 | 983 | } | ||
992 | 984 | |||
993 | 985 | image | ||
994 | 986 | { | ||
995 | 987 | function = BOX | ||
996 | 988 | state = INSENSITIVE | ||
997 | 989 | shadow = IN | ||
998 | 990 | file = "Images/Buttons/button-insensitive-in.png" | ||
999 | 991 | border = { 4, 4, 4, 4 } | ||
1000 | 992 | stretch = TRUE | ||
1001 | 993 | } | ||
1002 | 994 | |||
1003 | 995 | image | ||
1004 | 996 | { | ||
1005 | 997 | function = BOX | ||
1006 | 998 | state = INSENSITIVE | ||
1007 | 999 | shadow = OUT | ||
1008 | 1000 | file = "Images/Buttons/button-insensitive.png" | ||
1009 | 1001 | border = { 4, 4, 4, 4 } | ||
1010 | 1002 | stretch = TRUE | ||
1011 | 1003 | } | ||
1012 | 1004 | |||
1013 | 1005 | |||
1014 | 1006 | } | ||
1015 | 1007 | } | ||
1016 | 1008 | |||
1017 | 1009 | #========================================================= | ||
1018 | 1010 | # Progressbar | ||
1019 | 1011 | #========================================================= | ||
1020 | 1012 | style "newwave-progressbar" = "newwave-default" | ||
1021 | 1013 | { | ||
1022 | 1014 | xthickness = 1 | ||
1023 | 1015 | ythickness = 1 | ||
1024 | 1016 | |||
1025 | 1017 | engine "pixmap" | ||
1026 | 1018 | { | ||
1027 | 1019 | image | ||
1028 | 1020 | { | ||
1029 | 1021 | function = BOX | ||
1030 | 1022 | detail = "trough" | ||
1031 | 1023 | file = "Images/ProgressBar/trough-progressbar-horiz.png" | ||
1032 | 1024 | border = { 4, 4, 4, 4 } | ||
1033 | 1025 | stretch = TRUE | ||
1034 | 1026 | overlay_file = "Images/ProgressBar/over-trough-horiz.png" | ||
1035 | 1027 | overlay_stretch = TRUE | ||
1036 | 1028 | overlay_border = { 2, 2, 2, 2 } | ||
1037 | 1029 | orientation = HORIZONTAL | ||
1038 | 1030 | } | ||
1039 | 1031 | |||
1040 | 1032 | image | ||
1041 | 1033 | { | ||
1042 | 1034 | function = BOX | ||
1043 | 1035 | detail = "trough" | ||
1044 | 1036 | file = "Images/ProgressBar/trough-progressbar-horiz.png" | ||
1045 | 1037 | border = { 4, 4, 4, 4 } | ||
1046 | 1038 | stretch = TRUE | ||
1047 | 1039 | # overlay_file = "Images/ProgressBar/over-trough-horiz.png" | ||
1048 | 1040 | # overlay_stretch = TRUE | ||
1049 | 1041 | # overlay_border = { 2, 2, 2, 2 } | ||
1050 | 1042 | orientation = VERTICAL | ||
1051 | 1043 | } | ||
1052 | 1044 | |||
1053 | 1045 | image | ||
1054 | 1046 | { | ||
1055 | 1047 | function = BOX | ||
1056 | 1048 | detail = "bar" | ||
1057 | 1049 | file = "Images/ProgressBar/progressbar-horiz.png" | ||
1058 | 1050 | border = { 2, 2, 2, 2 } | ||
1059 | 1051 | stretch = TRUE | ||
1060 | 1052 | overlay_file = "Images/ProgressBar/over-progressbar-horiz.png" | ||
1061 | 1053 | overlay_stretch = FALSE | ||
1062 | 1054 | overlay_border = { 2, 2, 2, 2 } | ||
1063 | 1055 | orientation = HORIZONTAL | ||
1064 | 1056 | } | ||
1065 | 1057 | image | ||
1066 | 1058 | { | ||
1067 | 1059 | function = BOX | ||
1068 | 1060 | detail = "bar" | ||
1069 | 1061 | file = "Images/ProgressBar/progressbar-vert.png" | ||
1070 | 1062 | border = { 2, 2, 2, 2 } | ||
1071 | 1063 | stretch = TRUE | ||
1072 | 1064 | overlay_file = "Images/ProgressBar/over-progressbar-horiz.png" | ||
1073 | 1065 | overlay_stretch = TRUE | ||
1074 | 1066 | overlay_border = { 2, 2, 2, 2 } | ||
1075 | 1067 | orientation = VERTICAL | ||
1076 | 1068 | } | ||
1077 | 1069 | } | ||
1078 | 1070 | } | ||
1079 | 1071 | |||
1080 | 1072 | |||
1081 | 1073 | #========================================================= | ||
1082 | 1074 | # Check/Radio Buttons | ||
1083 | 1075 | #========================================================= | ||
1084 | 1076 | style "newwave-checkradiobutton" = "newwave-default" | ||
1085 | 1077 | { | ||
1086 | 1078 | GtkCheckButton::interior_focus = 1 | ||
1087 | 1079 | |||
1088 | 1080 | engine "pixmap" { | ||
1089 | 1081 | image | ||
1090 | 1082 | { | ||
1091 | 1083 | function = FLAT_BOX | ||
1092 | 1084 | recolorable = TRUE | ||
1093 | 1085 | file = "Images/Others/null.png" | ||
1094 | 1086 | border = { 2, 5, 2, 2 } | ||
1095 | 1087 | stretch = TRUE | ||
1096 | 1088 | } | ||
1097 | 1089 | image | ||
1098 | 1090 | { | ||
1099 | 1091 | function = FOCUS | ||
1100 | 1092 | recolorable = TRUE | ||
1101 | 1093 | file = "Images/Check-Radio/checkfocus.png" | ||
1102 | 1094 | border = { 3, 3, 3, 3 } | ||
1103 | 1095 | stretch = TRUE | ||
1104 | 1096 | } | ||
1105 | 1097 | } | ||
1106 | 1098 | } | ||
1107 | 1099 | |||
1108 | 1100 | class "GtkRadioButton" style : highest "newwave-checkradiobutton" | ||
1109 | 1101 | class "GtkCheckButton" style : highest "newwave-checkradiobutton" | ||
1110 | 1102 | |||
1111 | 1103 | |||
1112 | 1104 | style "newwave-radiomenubutton" = "newwave-default" | ||
1113 | 1105 | { | ||
1114 | 1106 | engine "pixmap" | ||
1115 | 1107 | { | ||
1116 | 1108 | image | ||
1117 | 1109 | { | ||
1118 | 1110 | function = OPTION | ||
1119 | 1111 | recolorable = TRUE | ||
1120 | 1112 | state = NORMAL | ||
1121 | 1113 | shadow = OUT | ||
1122 | 1114 | overlay_file = "Images/Check-Radio-Menu/opt-normal.png" | ||
1123 | 1115 | overlay_stretch = FALSE | ||
1124 | 1116 | } | ||
1125 | 1117 | image | ||
1126 | 1118 | { | ||
1127 | 1119 | function = OPTION | ||
1128 | 1120 | recolorable = TRUE | ||
1129 | 1121 | state = PRELIGHT | ||
1130 | 1122 | shadow = OUT | ||
1131 | 1123 | overlay_file = "Images/Check-Radio-Menu/opt-normal-prelight.png" | ||
1132 | 1124 | overlay_stretch = FALSE | ||
1133 | 1125 | } | ||
1134 | 1126 | image | ||
1135 | 1127 | { | ||
1136 | 1128 | function = OPTION | ||
1137 | 1129 | recolorable = TRUE | ||
1138 | 1130 | state = ACTIVE | ||
1139 | 1131 | shadow = OUT | ||
1140 | 1132 | overlay_file = "Images/Check-Radio-Menu/opt-normal-prelight.png" | ||
1141 | 1133 | overlay_stretch = FALSE | ||
1142 | 1134 | } | ||
1143 | 1135 | image | ||
1144 | 1136 | { | ||
1145 | 1137 | function = OPTION | ||
1146 | 1138 | recolorable = TRUE | ||
1147 | 1139 | state = INSENSITIVE | ||
1148 | 1140 | shadow = OUT | ||
1149 | 1141 | overlay_file = "Images/Check-Radio-Menu/opt-normal-insensitive.png" | ||
1150 | 1142 | overlay_stretch = FALSE | ||
1151 | 1143 | } | ||
1152 | 1144 | image | ||
1153 | 1145 | { | ||
1154 | 1146 | function = OPTION | ||
1155 | 1147 | recolorable = TRUE | ||
1156 | 1148 | state = NORMAL | ||
1157 | 1149 | shadow = IN | ||
1158 | 1150 | overlay_file = "Images/Check-Radio-Menu/opt-mark.png" | ||
1159 | 1151 | overlay_stretch = FALSE | ||
1160 | 1152 | } | ||
1161 | 1153 | image | ||
1162 | 1154 | { | ||
1163 | 1155 | function = OPTION | ||
1164 | 1156 | recolorable = TRUE | ||
1165 | 1157 | state = PRELIGHT | ||
1166 | 1158 | shadow = IN | ||
1167 | 1159 | overlay_file = "Images/Check-Radio-Menu/opt-mark-prelight.png" | ||
1168 | 1160 | overlay_stretch = FALSE | ||
1169 | 1161 | } | ||
1170 | 1162 | image | ||
1171 | 1163 | { | ||
1172 | 1164 | function = OPTION | ||
1173 | 1165 | recolorable = TRUE | ||
1174 | 1166 | state = ACTIVE | ||
1175 | 1167 | shadow = IN | ||
1176 | 1168 | overlay_file = "Images/Check-Radio-Menu/opt-mark-prelight.png" | ||
1177 | 1169 | overlay_stretch = FALSE | ||
1178 | 1170 | } | ||
1179 | 1171 | image | ||
1180 | 1172 | { | ||
1181 | 1173 | function = OPTION | ||
1182 | 1174 | recolorable = TRUE | ||
1183 | 1175 | state = INSENSITIVE | ||
1184 | 1176 | shadow = IN | ||
1185 | 1177 | overlay_file = "Images/Check-Radio-Menu/opt-mark-insensitive.png" | ||
1186 | 1178 | overlay_stretch = FALSE | ||
1187 | 1179 | } | ||
1188 | 1180 | image | ||
1189 | 1181 | { | ||
1190 | 1182 | function = FLAT_BOX | ||
1191 | 1183 | recolorable = TRUE | ||
1192 | 1184 | stretch = TRUE | ||
1193 | 1185 | file = "Images/Others/null.png" | ||
1194 | 1186 | border = { 2, 2, 2, 2 } | ||
1195 | 1187 | } | ||
1196 | 1188 | } | ||
1197 | 1189 | } | ||
1198 | 1190 | |||
1199 | 1191 | |||
1200 | 1192 | style "newwave-radiobutton" = "newwave-default" | ||
1201 | 1193 | { | ||
1202 | 1194 | engine "pixmap" | ||
1203 | 1195 | { | ||
1204 | 1196 | image | ||
1205 | 1197 | { | ||
1206 | 1198 | function = OPTION | ||
1207 | 1199 | recolorable = TRUE | ||
1208 | 1200 | state = NORMAL | ||
1209 | 1201 | shadow = OUT | ||
1210 | 1202 | overlay_file = "Images/Check-Radio/opt-normal.png" | ||
1211 | 1203 | overlay_stretch = FALSE | ||
1212 | 1204 | } | ||
1213 | 1205 | |||
1214 | 1206 | image | ||
1215 | 1207 | { | ||
1216 | 1208 | function = OPTION | ||
1217 | 1209 | recolorable = TRUE | ||
1218 | 1210 | state = PRELIGHT | ||
1219 | 1211 | shadow = OUT | ||
1220 | 1212 | overlay_file = "Images/Check-Radio/opt-normal-prelight.png" | ||
1221 | 1213 | overlay_stretch = FALSE | ||
1222 | 1214 | } | ||
1223 | 1215 | image | ||
1224 | 1216 | { | ||
1225 | 1217 | function = OPTION | ||
1226 | 1218 | recolorable = TRUE | ||
1227 | 1219 | state = ACTIVE | ||
1228 | 1220 | shadow = OUT | ||
1229 | 1221 | overlay_file = "Images/Check-Radio/opt-normal-active.png" | ||
1230 | 1222 | overlay_stretch = FALSE | ||
1231 | 1223 | } | ||
1232 | 1224 | image | ||
1233 | 1225 | { | ||
1234 | 1226 | function = OPTION | ||
1235 | 1227 | recolorable = TRUE | ||
1236 | 1228 | state = INSENSITIVE | ||
1237 | 1229 | shadow = OUT | ||
1238 | 1230 | overlay_file = "Images/Check-Radio/opt-normal-insensitive.png" | ||
1239 | 1231 | overlay_stretch = FALSE | ||
1240 | 1232 | } | ||
1241 | 1233 | |||
1242 | 1234 | image | ||
1243 | 1235 | { | ||
1244 | 1236 | function = OPTION | ||
1245 | 1237 | recolorable = TRUE | ||
1246 | 1238 | state = NORMAL | ||
1247 | 1239 | shadow = IN | ||
1248 | 1240 | overlay_file = "Images/Check-Radio/opt-mark.png" | ||
1249 | 1241 | overlay_stretch = FALSE | ||
1250 | 1242 | } | ||
1251 | 1243 | image | ||
1252 | 1244 | { | ||
1253 | 1245 | function = OPTION | ||
1254 | 1246 | recolorable = TRUE | ||
1255 | 1247 | state = PRELIGHT | ||
1256 | 1248 | shadow = IN | ||
1257 | 1249 | overlay_file = "Images/Check-Radio/opt-mark-prelight.png" | ||
1258 | 1250 | overlay_stretch = FALSE | ||
1259 | 1251 | } | ||
1260 | 1252 | image | ||
1261 | 1253 | { | ||
1262 | 1254 | function = OPTION | ||
1263 | 1255 | recolorable = TRUE | ||
1264 | 1256 | state = ACTIVE | ||
1265 | 1257 | shadow = IN | ||
1266 | 1258 | overlay_file = "Images/Check-Radio/opt-mark-active.png" | ||
1267 | 1259 | overlay_stretch = FALSE | ||
1268 | 1260 | } | ||
1269 | 1261 | image | ||
1270 | 1262 | { | ||
1271 | 1263 | function = OPTION | ||
1272 | 1264 | recolorable = TRUE | ||
1273 | 1265 | state = INSENSITIVE | ||
1274 | 1266 | shadow = IN | ||
1275 | 1267 | overlay_file = "Images/Check-Radio/opt-mark-insensitive.png" | ||
1276 | 1268 | overlay_stretch = FALSE | ||
1277 | 1269 | } | ||
1278 | 1270 | |||
1279 | 1271 | image | ||
1280 | 1272 | { | ||
1281 | 1273 | function = OPTION | ||
1282 | 1274 | recolorable = TRUE | ||
1283 | 1275 | state = NORMAL | ||
1284 | 1276 | shadow = ETCHED_IN | ||
1285 | 1277 | overlay_file = "Images/Check-Radio/opt-line.png" | ||
1286 | 1278 | overlay_stretch = FALSE | ||
1287 | 1279 | } | ||
1288 | 1280 | image | ||
1289 | 1281 | { | ||
1290 | 1282 | function = OPTION | ||
1291 | 1283 | recolorable = TRUE | ||
1292 | 1284 | state = PRELIGHT | ||
1293 | 1285 | shadow = ETCHED_IN | ||
1294 | 1286 | overlay_file = "Images/Check-Radio/opt-line-prelight.png" | ||
1295 | 1287 | overlay_stretch = FALSE | ||
1296 | 1288 | } | ||
1297 | 1289 | image | ||
1298 | 1290 | { | ||
1299 | 1291 | function = OPTION | ||
1300 | 1292 | recolorable = TRUE | ||
1301 | 1293 | state = ACTIVE | ||
1302 | 1294 | shadow =ETCHED_IN | ||
1303 | 1295 | overlay_file = "Images/Check-Radio/opt-line-active.png" | ||
1304 | 1296 | overlay_stretch = FALSE | ||
1305 | 1297 | } | ||
1306 | 1298 | image | ||
1307 | 1299 | { | ||
1308 | 1300 | function = OPTION | ||
1309 | 1301 | recolorable = TRUE | ||
1310 | 1302 | state = INSENSITIVE | ||
1311 | 1303 | shadow = ETCHED_IN | ||
1312 | 1304 | overlay_file = "Images/Check-Radio/opt-line-insensitive.png" | ||
1313 | 1305 | overlay_stretch = FALSE | ||
1314 | 1306 | } | ||
1315 | 1307 | |||
1316 | 1308 | |||
1317 | 1309 | |||
1318 | 1310 | # Overlay image | ||
1319 | 1311 | image | ||
1320 | 1312 | { | ||
1321 | 1313 | function = FLAT_BOX | ||
1322 | 1314 | recolorable = TRUE | ||
1323 | 1315 | stretch = TRUE | ||
1324 | 1316 | file = "Images/Others/null.png" | ||
1325 | 1317 | border = { 2, 2, 2, 2 } | ||
1326 | 1318 | } | ||
1327 | 1319 | } | ||
1328 | 1320 | } | ||
1329 | 1321 | |||
1330 | 1322 | style "newwave-checkmenubutton" = "newwave-default" | ||
1331 | 1323 | { | ||
1332 | 1324 | engine "pixmap" | ||
1333 | 1325 | { | ||
1334 | 1326 | image | ||
1335 | 1327 | { | ||
1336 | 1328 | function = CHECK | ||
1337 | 1329 | recolorable = TRUE | ||
1338 | 1330 | state = NORMAL | ||
1339 | 1331 | shadow = OUT | ||
1340 | 1332 | overlay_file = "Images/Check-Radio-Menu/check-normal.png" | ||
1341 | 1333 | overlay_stretch = FALSE | ||
1342 | 1334 | } | ||
1343 | 1335 | image | ||
1344 | 1336 | { | ||
1345 | 1337 | function = CHECK | ||
1346 | 1338 | recolorable = TRUE | ||
1347 | 1339 | state = PRELIGHT | ||
1348 | 1340 | shadow = OUT | ||
1349 | 1341 | overlay_file = "Images/Check-Radio-Menu/check-normal-prelight.png" | ||
1350 | 1342 | overlay_stretch = FALSE | ||
1351 | 1343 | } | ||
1352 | 1344 | image | ||
1353 | 1345 | { | ||
1354 | 1346 | function = CHECK | ||
1355 | 1347 | recolorable = TRUE | ||
1356 | 1348 | state = ACTIVE | ||
1357 | 1349 | shadow = OUT | ||
1358 | 1350 | overlay_file = "Images/Check-Radio-Menu/check-normal-prelight.png" | ||
1359 | 1351 | overlay_stretch = FALSE | ||
1360 | 1352 | } | ||
1361 | 1353 | image | ||
1362 | 1354 | { | ||
1363 | 1355 | function = CHECK | ||
1364 | 1356 | recolorable = TRUE | ||
1365 | 1357 | state = INSENSITIVE | ||
1366 | 1358 | shadow = OUT | ||
1367 | 1359 | overlay_file = "Images/Check-Radio-Menu/check-normal-insensitive.png" | ||
1368 | 1360 | overlay_stretch = FALSE | ||
1369 | 1361 | } | ||
1370 | 1362 | image | ||
1371 | 1363 | { | ||
1372 | 1364 | function = CHECK | ||
1373 | 1365 | recolorable = TRUE | ||
1374 | 1366 | state = NORMAL | ||
1375 | 1367 | shadow = IN | ||
1376 | 1368 | overlay_file = "Images/Check-Radio-Menu/check-mark.png" | ||
1377 | 1369 | overlay_stretch = FALSE | ||
1378 | 1370 | } | ||
1379 | 1371 | image | ||
1380 | 1372 | { | ||
1381 | 1373 | function = CHECK | ||
1382 | 1374 | recolorable = TRUE | ||
1383 | 1375 | state = PRELIGHT | ||
1384 | 1376 | shadow = IN | ||
1385 | 1377 | overlay_file = "Images/Check-Radio-Menu/check-mark-prelight.png" | ||
1386 | 1378 | overlay_stretch = FALSE | ||
1387 | 1379 | } | ||
1388 | 1380 | image | ||
1389 | 1381 | { | ||
1390 | 1382 | function = CHECK | ||
1391 | 1383 | recolorable = TRUE | ||
1392 | 1384 | state = ACTIVE | ||
1393 | 1385 | shadow = IN | ||
1394 | 1386 | overlay_file = "Images/Check-Radio-Menu/check-mark-prelight.png" | ||
1395 | 1387 | overlay_stretch = FALSE | ||
1396 | 1388 | } | ||
1397 | 1389 | image | ||
1398 | 1390 | { | ||
1399 | 1391 | function = CHECK | ||
1400 | 1392 | recolorable = TRUE | ||
1401 | 1393 | state = INSENSITIVE | ||
1402 | 1394 | shadow = IN | ||
1403 | 1395 | overlay_file = "Images/Check-Radio-Menu/check-mark-insensitive.png" | ||
1404 | 1396 | overlay_stretch = FALSE | ||
1405 | 1397 | } | ||
1406 | 1398 | |||
1407 | 1399 | image | ||
1408 | 1400 | { | ||
1409 | 1401 | function = FLAT_BOX | ||
1410 | 1402 | recolorable = TRUE | ||
1411 | 1403 | stretch = TRUE | ||
1412 | 1404 | file = "Images/Others/null.png" | ||
1413 | 1405 | border = { 2, 2, 3, 2 } | ||
1414 | 1406 | } | ||
1415 | 1407 | |||
1416 | 1408 | } | ||
1417 | 1409 | } | ||
1418 | 1410 | |||
1419 | 1411 | style "newwave-checkbutton" = "newwave-default" | ||
1420 | 1412 | { | ||
1421 | 1413 | |||
1422 | 1414 | |||
1423 | 1415 | engine "pixmap" | ||
1424 | 1416 | { | ||
1425 | 1417 | image | ||
1426 | 1418 | { | ||
1427 | 1419 | function = CHECK | ||
1428 | 1420 | recolorable = TRUE | ||
1429 | 1421 | state = NORMAL | ||
1430 | 1422 | shadow = OUT | ||
1431 | 1423 | overlay_file = "Images/Check-Radio/check-normal.png" | ||
1432 | 1424 | overlay_stretch = FALSE | ||
1433 | 1425 | } | ||
1434 | 1426 | image | ||
1435 | 1427 | { | ||
1436 | 1428 | function = CHECK | ||
1437 | 1429 | recolorable = TRUE | ||
1438 | 1430 | state = PRELIGHT | ||
1439 | 1431 | shadow = OUT | ||
1440 | 1432 | overlay_file = "Images/Check-Radio/check-normal-prelight.png" | ||
1441 | 1433 | overlay_stretch = FALSE | ||
1442 | 1434 | } | ||
1443 | 1435 | image | ||
1444 | 1436 | { | ||
1445 | 1437 | function = CHECK | ||
1446 | 1438 | recolorable = TRUE | ||
1447 | 1439 | state = ACTIVE | ||
1448 | 1440 | shadow = OUT | ||
1449 | 1441 | overlay_file = "Images/Check-Radio/check-normal-active.png" | ||
1450 | 1442 | overlay_stretch = FALSE | ||
1451 | 1443 | } | ||
1452 | 1444 | image | ||
1453 | 1445 | { | ||
1454 | 1446 | function = CHECK | ||
1455 | 1447 | recolorable = TRUE | ||
1456 | 1448 | state = INSENSITIVE | ||
1457 | 1449 | shadow = OUT | ||
1458 | 1450 | overlay_file = "Images/Check-Radio/check-normal-insensitive.png" | ||
1459 | 1451 | overlay_stretch = FALSE | ||
1460 | 1452 | } | ||
1461 | 1453 | |||
1462 | 1454 | |||
1463 | 1455 | image | ||
1464 | 1456 | { | ||
1465 | 1457 | function = CHECK | ||
1466 | 1458 | recolorable = TRUE | ||
1467 | 1459 | state = NORMAL | ||
1468 | 1460 | shadow = IN | ||
1469 | 1461 | overlay_file = "Images/Check-Radio/check-mark.png" | ||
1470 | 1462 | overlay_stretch = FALSE | ||
1471 | 1463 | } | ||
1472 | 1464 | image | ||
1473 | 1465 | { | ||
1474 | 1466 | function = CHECK | ||
1475 | 1467 | recolorable = TRUE | ||
1476 | 1468 | state = PRELIGHT | ||
1477 | 1469 | shadow = IN | ||
1478 | 1470 | overlay_file = "Images/Check-Radio/check-mark-prelight.png" | ||
1479 | 1471 | overlay_stretch = FALSE | ||
1480 | 1472 | } | ||
1481 | 1473 | image | ||
1482 | 1474 | { | ||
1483 | 1475 | function = CHECK | ||
1484 | 1476 | recolorable = TRUE | ||
1485 | 1477 | state = ACTIVE | ||
1486 | 1478 | shadow = IN | ||
1487 | 1479 | overlay_file = "Images/Check-Radio/check-mark-active.png" | ||
1488 | 1480 | overlay_stretch = FALSE | ||
1489 | 1481 | } | ||
1490 | 1482 | image | ||
1491 | 1483 | { | ||
1492 | 1484 | function = CHECK | ||
1493 | 1485 | recolorable = TRUE | ||
1494 | 1486 | state = INSENSITIVE | ||
1495 | 1487 | shadow = IN | ||
1496 | 1488 | overlay_file = "Images/Check-Radio/check-mark-insensitive.png" | ||
1497 | 1489 | overlay_stretch = FALSE | ||
1498 | 1490 | } | ||
1499 | 1491 | |||
1500 | 1492 | image | ||
1501 | 1493 | { | ||
1502 | 1494 | function = CHECK | ||
1503 | 1495 | recolorable = TRUE | ||
1504 | 1496 | state = NORMAL | ||
1505 | 1497 | shadow = ETCHED_IN | ||
1506 | 1498 | overlay_file = "Images/Check-Radio/check-line.png" | ||
1507 | 1499 | overlay_stretch = FALSE | ||
1508 | 1500 | } | ||
1509 | 1501 | image | ||
1510 | 1502 | { | ||
1511 | 1503 | function = CHECK | ||
1512 | 1504 | recolorable = TRUE | ||
1513 | 1505 | state = PRELIGHT | ||
1514 | 1506 | shadow = ETCHED_IN | ||
1515 | 1507 | overlay_file = "Images/Check-Radio/check-line-prelight.png" | ||
1516 | 1508 | overlay_stretch = FALSE | ||
1517 | 1509 | } | ||
1518 | 1510 | image | ||
1519 | 1511 | { | ||
1520 | 1512 | function = CHECK | ||
1521 | 1513 | recolorable = TRUE | ||
1522 | 1514 | state = ACTIVE | ||
1523 | 1515 | shadow = ETCHED_IN | ||
1524 | 1516 | overlay_file = "Images/Check-Radio/check-line-active.png" | ||
1525 | 1517 | overlay_stretch = FALSE | ||
1526 | 1518 | } | ||
1527 | 1519 | image | ||
1528 | 1520 | { | ||
1529 | 1521 | function = CHECK | ||
1530 | 1522 | recolorable = TRUE | ||
1531 | 1523 | state = INSENSITIVE | ||
1532 | 1524 | shadow = ETCHED_IN | ||
1533 | 1525 | overlay_file = "Images/Check-Radio/check-line-insensitive.png" | ||
1534 | 1526 | overlay_stretch = FALSE | ||
1535 | 1527 | } | ||
1536 | 1528 | |||
1537 | 1529 | # This is the overlay image | ||
1538 | 1530 | image | ||
1539 | 1531 | { | ||
1540 | 1532 | function = FLAT_BOX | ||
1541 | 1533 | recolorable = TRUE | ||
1542 | 1534 | stretch = TRUE | ||
1543 | 1535 | file = "Images/Others/null.png" | ||
1544 | 1536 | border = { 2, 2, 3, 2 } | ||
1545 | 1537 | } | ||
1546 | 1538 | } | ||
1547 | 1539 | } | ||
1548 | 1540 | |||
1549 | 1541 | #========================================================= | ||
1550 | 1542 | # Scrollbars | ||
1551 | 1543 | #========================================================= | ||
1552 | 1544 | |||
1553 | 1545 | style "newwave-scrollbar" = "newwave-default" | ||
1554 | 1546 | { | ||
1555 | 1547 | |||
1556 | 1548 | engine "pixmap" | ||
1557 | 1549 | { | ||
1558 | 1550 | |||
1559 | 1551 | # Sliders background | ||
1560 | 1552 | #============================= | ||
1561 | 1553 | image | ||
1562 | 1554 | { | ||
1563 | 1555 | function = BOX | ||
1564 | 1556 | recolorable = TRUE | ||
1565 | 1557 | detail = "trough" | ||
1566 | 1558 | file = "Images/Scrollbars/trough-scrollbar-horiz.png" | ||
1567 | 1559 | border = { 3, 3, 2, 2 } | ||
1568 | 1560 | stretch = TRUE | ||
1569 | 1561 | orientation = HORIZONTAL | ||
1570 | 1562 | } | ||
1571 | 1563 | image | ||
1572 | 1564 | { | ||
1573 | 1565 | function = BOX | ||
1574 | 1566 | recolorable = TRUE | ||
1575 | 1567 | detail = "trough" | ||
1576 | 1568 | file = "Images/Scrollbars/trough-scrollbar-vert.png" | ||
1577 | 1569 | border = { 2, 2, 3, 3} | ||
1578 | 1570 | stretch = TRUE | ||
1579 | 1571 | orientation = VERTICAL | ||
1580 | 1572 | } | ||
1581 | 1573 | |||
1582 | 1574 | # Sliders - horizonral | ||
1583 | 1575 | #============================= | ||
1584 | 1576 | image | ||
1585 | 1577 | { | ||
1586 | 1578 | function = SLIDER | ||
1587 | 1579 | recolorable = TRUE | ||
1588 | 1580 | state = NORMAL | ||
1589 | 1581 | detail = "slider" | ||
1590 | 1582 | file = "Images/Scrollbars/slider-horiz.png" | ||
1591 | 1583 | border = { 5, 5, 5, 5 } | ||
1592 | 1584 | stretch = TRUE | ||
1593 | 1585 | orientation = HORIZONTAL | ||
1594 | 1586 | } | ||
1595 | 1587 | image | ||
1596 | 1588 | { | ||
1597 | 1589 | function = SLIDER | ||
1598 | 1590 | recolorable = TRUE | ||
1599 | 1591 | state = ACTIVE | ||
1600 | 1592 | detail = "slider" | ||
1601 | 1593 | shadow = IN | ||
1602 | 1594 | file = "Images/Scrollbars/slider-horiz-active.png" | ||
1603 | 1595 | border = { 5, 5, 5, 5 } | ||
1604 | 1596 | stretch = TRUE | ||
1605 | 1597 | orientation = HORIZONTAL | ||
1606 | 1598 | } | ||
1607 | 1599 | image | ||
1608 | 1600 | { | ||
1609 | 1601 | function = SLIDER | ||
1610 | 1602 | recolorable = TRUE | ||
1611 | 1603 | state = PRELIGHT | ||
1612 | 1604 | detail = "slider" | ||
1613 | 1605 | file = "Images/Scrollbars/slider-horiz-prelight.png" | ||
1614 | 1606 | border = { 5, 5, 5, 5 } | ||
1615 | 1607 | stretch = TRUE | ||
1616 | 1608 | orientation = HORIZONTAL | ||
1617 | 1609 | } | ||
1618 | 1610 | image | ||
1619 | 1611 | { | ||
1620 | 1612 | function = SLIDER | ||
1621 | 1613 | recolorable = TRUE | ||
1622 | 1614 | state = INSENSITIVE | ||
1623 | 1615 | detail = "slider" | ||
1624 | 1616 | file = "Images/Scrollbars/slider-horiz-insens.png" | ||
1625 | 1617 | border = { 5, 5, 5, 5 } | ||
1626 | 1618 | stretch = TRUE | ||
1627 | 1619 | orientation = HORIZONTAL | ||
1628 | 1620 | } | ||
1629 | 1621 | |||
1630 | 1622 | # Sliders - vertical | ||
1631 | 1623 | #============================= | ||
1632 | 1624 | image | ||
1633 | 1625 | { | ||
1634 | 1626 | function = SLIDER | ||
1635 | 1627 | recolorable = TRUE | ||
1636 | 1628 | state = NORMAL | ||
1637 | 1629 | detail = "slider" | ||
1638 | 1630 | file = "Images/Scrollbars/slider-vert.png" | ||
1639 | 1631 | border = { 5, 5, 5, 5 } | ||
1640 | 1632 | stretch = TRUE | ||
1641 | 1633 | orientation = VERTICAL | ||
1642 | 1634 | } | ||
1643 | 1635 | image | ||
1644 | 1636 | { | ||
1645 | 1637 | function = SLIDER | ||
1646 | 1638 | recolorable = TRUE | ||
1647 | 1639 | state = ACTIVE | ||
1648 | 1640 | detail = "slider" | ||
1649 | 1641 | shadow = IN | ||
1650 | 1642 | file = "Images/Scrollbars/slider-vert-active.png" | ||
1651 | 1643 | border = { 5, 5, 5, 5 } | ||
1652 | 1644 | stretch = TRUE | ||
1653 | 1645 | # overlay_file = "Images/Scrollbars/slider-vert-active-over.png" | ||
1654 | 1646 | # overlay_border = { 2, 3, 2, 2 } | ||
1655 | 1647 | # overlay_stretch = FALSE | ||
1656 | 1648 | orientation = VERTICAL | ||
1657 | 1649 | } | ||
1658 | 1650 | image | ||
1659 | 1651 | { | ||
1660 | 1652 | function = SLIDER | ||
1661 | 1653 | recolorable = TRUE | ||
1662 | 1654 | state = PRELIGHT | ||
1663 | 1655 | detail = "slider" | ||
1664 | 1656 | file = "Images/Scrollbars/slider-vert-prelight.png" | ||
1665 | 1657 | border = { 5, 5, 5, 5 } | ||
1666 | 1658 | stretch = TRUE | ||
1667 | 1659 | orientation = VERTICAL | ||
1668 | 1660 | |||
1669 | 1661 | } | ||
1670 | 1662 | image | ||
1671 | 1663 | { | ||
1672 | 1664 | function = SLIDER | ||
1673 | 1665 | recolorable = TRUE | ||
1674 | 1666 | state = INSENSITIVE | ||
1675 | 1667 | detail = "slider" | ||
1676 | 1668 | file = "Images/Scrollbars/slider-vert-insens.png" | ||
1677 | 1669 | border = { 5, 5, 5, 5 } | ||
1678 | 1670 | stretch = TRUE | ||
1679 | 1671 | orientation = VERTICAL | ||
1680 | 1672 | |||
1681 | 1673 | } | ||
1682 | 1674 | |||
1683 | 1675 | # Steppers - up | ||
1684 | 1676 | #============================= | ||
1685 | 1677 | image | ||
1686 | 1678 | { | ||
1687 | 1679 | function = STEPPER | ||
1688 | 1680 | recolorable = TRUE | ||
1689 | 1681 | state = NORMAL | ||
1690 | 1682 | file = "Images/Scrollbars/stepper-up.png" | ||
1691 | 1683 | border = { 5, 5, 5, 5 } | ||
1692 | 1684 | stretch = TRUE | ||
1693 | 1685 | arrow_direction = UP | ||
1694 | 1686 | } | ||
1695 | 1687 | image | ||
1696 | 1688 | { | ||
1697 | 1689 | function = STEPPER | ||
1698 | 1690 | recolorable = TRUE | ||
1699 | 1691 | state = PRELIGHT | ||
1700 | 1692 | file = "Images/Scrollbars/stepper-up-prelight.png" | ||
1701 | 1693 | border = { 5, 5, 5, 5 } | ||
1702 | 1694 | stretch = TRUE | ||
1703 | 1695 | arrow_direction = UP | ||
1704 | 1696 | } | ||
1705 | 1697 | image | ||
1706 | 1698 | { | ||
1707 | 1699 | function = STEPPER | ||
1708 | 1700 | recolorable = TRUE | ||
1709 | 1701 | state = ACTIVE | ||
1710 | 1702 | file = "Images/Scrollbars/stepper-up-active.png" | ||
1711 | 1703 | border = { 5, 5, 5, 5 } | ||
1712 | 1704 | stretch = TRUE | ||
1713 | 1705 | arrow_direction = UP | ||
1714 | 1706 | } | ||
1715 | 1707 | image | ||
1716 | 1708 | { | ||
1717 | 1709 | function = STEPPER | ||
1718 | 1710 | recolorable = TRUE | ||
1719 | 1711 | state = INSENSITIVE | ||
1720 | 1712 | file = "Images/Scrollbars/stepper-up-insens.png" | ||
1721 | 1713 | stretch = TRUE | ||
1722 | 1714 | arrow_direction = UP | ||
1723 | 1715 | } | ||
1724 | 1716 | |||
1725 | 1717 | |||
1726 | 1718 | # Steppers - down | ||
1727 | 1719 | #============================= | ||
1728 | 1720 | image | ||
1729 | 1721 | { | ||
1730 | 1722 | function = STEPPER | ||
1731 | 1723 | recolorable = TRUE | ||
1732 | 1724 | state = NORMAL | ||
1733 | 1725 | file = "Images/Scrollbars/stepper-down.png" | ||
1734 | 1726 | border = { 5, 5, 5, 5 } | ||
1735 | 1727 | stretch = TRUE | ||
1736 | 1728 | arrow_direction = DOWN | ||
1737 | 1729 | } | ||
1738 | 1730 | image | ||
1739 | 1731 | { | ||
1740 | 1732 | function = STEPPER | ||
1741 | 1733 | recolorable = TRUE | ||
1742 | 1734 | state = PRELIGHT | ||
1743 | 1735 | file = "Images/Scrollbars/stepper-down-prelight.png" | ||
1744 | 1736 | border = { 5, 5, 5, 5 } | ||
1745 | 1737 | stretch = TRUE | ||
1746 | 1738 | arrow_direction = DOWN | ||
1747 | 1739 | } | ||
1748 | 1740 | image | ||
1749 | 1741 | { | ||
1750 | 1742 | function = STEPPER | ||
1751 | 1743 | recolorable = TRUE | ||
1752 | 1744 | state = ACTIVE | ||
1753 | 1745 | file = "Images/Scrollbars/stepper-down-active.png" | ||
1754 | 1746 | border = { 5, 5, 5, 5 } | ||
1755 | 1747 | stretch = TRUE | ||
1756 | 1748 | arrow_direction = DOWN | ||
1757 | 1749 | } | ||
1758 | 1750 | image | ||
1759 | 1751 | { | ||
1760 | 1752 | function = STEPPER | ||
1761 | 1753 | recolorable = TRUE | ||
1762 | 1754 | state = INSENSITIVE | ||
1763 | 1755 | file = "Images/Scrollbars/stepper-down-insens.png" | ||
1764 | 1756 | stretch = TRUE | ||
1765 | 1757 | arrow_direction = DOWN | ||
1766 | 1758 | } | ||
1767 | 1759 | |||
1768 | 1760 | |||
1769 | 1761 | # Steppers - right | ||
1770 | 1762 | #============================= | ||
1771 | 1763 | image | ||
1772 | 1764 | { | ||
1773 | 1765 | function = STEPPER | ||
1774 | 1766 | recolorable = TRUE | ||
1775 | 1767 | state = NORMAL | ||
1776 | 1768 | file = "Images/Scrollbars/stepper-right.png" | ||
1777 | 1769 | border = { 5, 5, 5, 5 } | ||
1778 | 1770 | stretch = TRUE | ||
1779 | 1771 | arrow_direction = RIGHT | ||
1780 | 1772 | } | ||
1781 | 1773 | image | ||
1782 | 1774 | { | ||
1783 | 1775 | function = STEPPER | ||
1784 | 1776 | recolorable = TRUE | ||
1785 | 1777 | state = PRELIGHT | ||
1786 | 1778 | file = "Images/Scrollbars/stepper-right-prelight.png" | ||
1787 | 1779 | border = { 5, 5, 5, 5 } | ||
1788 | 1780 | stretch = TRUE | ||
1789 | 1781 | arrow_direction = RIGHT | ||
1790 | 1782 | } | ||
1791 | 1783 | image | ||
1792 | 1784 | { | ||
1793 | 1785 | function = STEPPER | ||
1794 | 1786 | recolorable = TRUE | ||
1795 | 1787 | state = ACTIVE | ||
1796 | 1788 | file = "Images/Scrollbars/stepper-right-active.png" | ||
1797 | 1789 | border = { 5, 5, 5, 5 } | ||
1798 | 1790 | stretch = TRUE | ||
1799 | 1791 | arrow_direction = RIGHT | ||
1800 | 1792 | } | ||
1801 | 1793 | image | ||
1802 | 1794 | { | ||
1803 | 1795 | function = STEPPER | ||
1804 | 1796 | recolorable = TRUE | ||
1805 | 1797 | state = INSENSITIVE | ||
1806 | 1798 | file = "Images/Scrollbars/stepper-right-insens.png" | ||
1807 | 1799 | stretch = TRUE | ||
1808 | 1800 | arrow_direction = RIGHT | ||
1809 | 1801 | } | ||
1810 | 1802 | |||
1811 | 1803 | |||
1812 | 1804 | # Steppers - left | ||
1813 | 1805 | #============================= | ||
1814 | 1806 | image | ||
1815 | 1807 | { | ||
1816 | 1808 | function = STEPPER | ||
1817 | 1809 | recolorable = TRUE | ||
1818 | 1810 | state = NORMAL | ||
1819 | 1811 | file = "Images/Scrollbars/stepper-left.png" | ||
1820 | 1812 | border = { 5, 5, 5, 5 } | ||
1821 | 1813 | stretch = TRUE | ||
1822 | 1814 | arrow_direction = LEFT | ||
1823 | 1815 | } | ||
1824 | 1816 | image | ||
1825 | 1817 | { | ||
1826 | 1818 | function = STEPPER | ||
1827 | 1819 | recolorable = TRUE | ||
1828 | 1820 | state = PRELIGHT | ||
1829 | 1821 | file = "Images/Scrollbars/stepper-left-prelight.png" | ||
1830 | 1822 | border = { 5, 5, 5, 5 } | ||
1831 | 1823 | stretch = TRUE | ||
1832 | 1824 | arrow_direction = LEFT | ||
1833 | 1825 | } | ||
1834 | 1826 | image | ||
1835 | 1827 | { | ||
1836 | 1828 | function = STEPPER | ||
1837 | 1829 | recolorable = TRUE | ||
1838 | 1830 | state = ACTIVE | ||
1839 | 1831 | file = "Images/Scrollbars/stepper-left-active.png" | ||
1840 | 1832 | border = { 5, 5, 5, 5 } | ||
1841 | 1833 | stretch = TRUE | ||
1842 | 1834 | arrow_direction = LEFT | ||
1843 | 1835 | } | ||
1844 | 1836 | image | ||
1845 | 1837 | { | ||
1846 | 1838 | function = STEPPER | ||
1847 | 1839 | recolorable = TRUE | ||
1848 | 1840 | state = INSENSITIVE | ||
1849 | 1841 | file = "Images/Scrollbars/stepper-left-insens.png" | ||
1850 | 1842 | stretch = TRUE | ||
1851 | 1843 | arrow_direction = LEFT | ||
1852 | 1844 | } | ||
1853 | 1845 | } | ||
1854 | 1846 | } | ||
1855 | 1847 | |||
1856 | 1848 | |||
1857 | 1849 | style "newwave-scrolledwindow" = "newwave-default" | ||
1858 | 1850 | { | ||
1859 | 1851 | GtkScrolledWindow ::scrollbars-within-bevel = 0 | ||
1860 | 1852 | GtkScrolledWindow ::scrollbar-spacing = 0 | ||
1861 | 1853 | |||
1862 | 1854 | base[NORMAL] = "#ffffff" | ||
1863 | 1855 | bg[NORMAL] = "#ffffff" | ||
1864 | 1856 | |||
1865 | 1857 | engine "pixmap" | ||
1866 | 1858 | { | ||
1867 | 1859 | |||
1868 | 1860 | image | ||
1869 | 1861 | { | ||
1870 | 1862 | function = SHADOW | ||
1871 | 1863 | state = INSENSITIVE | ||
1872 | 1864 | file = "Images/Scrollbars/shadow-in-insens.png" | ||
1873 | 1865 | border = {3, 3, 3, 3} | ||
1874 | 1866 | detail = "scrolled_window" | ||
1875 | 1867 | } | ||
1876 | 1868 | |||
1877 | 1869 | image | ||
1878 | 1870 | { | ||
1879 | 1871 | function = SHADOW | ||
1880 | 1872 | file ="Images/Scrollbars/shadow-in.png" | ||
1881 | 1873 | border = {3, 3, 3, 3} | ||
1882 | 1874 | detail = "scrolled_window" | ||
1883 | 1875 | } | ||
1884 | 1876 | } | ||
1885 | 1877 | |||
1886 | 1878 | } | ||
1887 | 1879 | |||
1888 | 1880 | class "GtkScrolledWindow" style "newwave-scrolledwindow" | ||
1889 | 1881 | |||
1890 | 1882 | |||
1891 | 1883 | #========================================================= | ||
1892 | 1884 | # Toolbar | ||
1893 | 1885 | #========================================================= | ||
1894 | 1886 | style "newwave-toolbar" | ||
1895 | 1887 | { | ||
1896 | 1888 | xthickness = 2 | ||
1897 | 1889 | ythickness = 3 | ||
1898 | 1890 | |||
1899 | 1891 | engine "pixmap" | ||
1900 | 1892 | { | ||
1901 | 1893 | |||
1902 | 1894 | image | ||
1903 | 1895 | { | ||
1904 | 1896 | function = BOX | ||
1905 | 1897 | state = INSENSITIVE | ||
1906 | 1898 | file = "Images/Toolbar/toolbar-insens.png" | ||
1907 | 1899 | border = { 1, 1, 2, 2} | ||
1908 | 1900 | stretch = TRUE | ||
1909 | 1901 | } | ||
1910 | 1902 | |||
1911 | 1903 | image | ||
1912 | 1904 | { | ||
1913 | 1905 | function = BOX | ||
1914 | 1906 | file = "Images/Toolbar/toolbar.png" | ||
1915 | 1907 | border = { 1, 1, 2, 2} | ||
1916 | 1908 | stretch = TRUE | ||
1917 | 1909 | } | ||
1918 | 1910 | } | ||
1919 | 1911 | } | ||
1920 | 1912 | style "newwave-toolbar-handle" | ||
1921 | 1913 | { | ||
1922 | 1914 | xthickness = 1 | ||
1923 | 1915 | ythickness = 3 | ||
1924 | 1916 | |||
1925 | 1917 | engine "pixmap" | ||
1926 | 1918 | { | ||
1927 | 1919 | image | ||
1928 | 1920 | { | ||
1929 | 1921 | function = BOX | ||
1930 | 1922 | file = "Images/Toolbar/toolbar-handle.png" | ||
1931 | 1923 | border = { 1, 1, 2, 2} | ||
1932 | 1924 | stretch = TRUE | ||
1933 | 1925 | } | ||
1934 | 1926 | } | ||
1935 | 1927 | } | ||
1936 | 1928 | |||
1937 | 1929 | style "newwave-toolbar-noimage" | ||
1938 | 1930 | { | ||
1939 | 1931 | xthickness = 2 | ||
1940 | 1932 | ythickness = 3 | ||
1941 | 1933 | |||
1942 | 1934 | engine "pixmap" | ||
1943 | 1935 | { | ||
1944 | 1936 | image | ||
1945 | 1937 | { | ||
1946 | 1938 | function = BOX | ||
1947 | 1939 | state = NORMAL | ||
1948 | 1940 | file = "Images/Others/null.png" | ||
1949 | 1941 | border = { 1, 1, 4, 4} | ||
1950 | 1942 | stretch = TRUE | ||
1951 | 1943 | } | ||
1952 | 1944 | image | ||
1953 | 1945 | { | ||
1954 | 1946 | function = BOX | ||
1955 | 1947 | state = INSENSITIVE | ||
1956 | 1948 | file = "Images/Others/null.png" | ||
1957 | 1949 | border = { 1, 1, 4, 4} | ||
1958 | 1950 | stretch = TRUE | ||
1959 | 1951 | } | ||
1960 | 1952 | } | ||
1961 | 1953 | } | ||
1962 | 1954 | |||
1963 | 1955 | #Not working for eclipse | ||
1964 | 1956 | style "newwave-toolbar-noimage-small" | ||
1965 | 1957 | { | ||
1966 | 1958 | xthickness = 2 | ||
1967 | 1959 | ythickness = 2 | ||
1968 | 1960 | |||
1969 | 1961 | engine "pixmap" | ||
1970 | 1962 | { | ||
1971 | 1963 | image | ||
1972 | 1964 | { | ||
1973 | 1965 | function = BOX | ||
1974 | 1966 | state = NORMAL | ||
1975 | 1967 | file = "Images/Others/null.png" | ||
1976 | 1968 | border = { 1, 1, 4, 4} | ||
1977 | 1969 | stretch = TRUE | ||
1978 | 1970 | } | ||
1979 | 1971 | image | ||
1980 | 1972 | { | ||
1981 | 1973 | function = BOX | ||
1982 | 1974 | state = INSENSITIVE | ||
1983 | 1975 | file = "Images/Others/null.png" | ||
1984 | 1976 | border = { 1, 1, 4, 4} | ||
1985 | 1977 | stretch = TRUE | ||
1986 | 1978 | } | ||
1987 | 1979 | } | ||
1988 | 1980 | } | ||
1989 | 1981 | |||
1990 | 1982 | |||
1991 | 1983 | widget_class "*BonoboDockItem" style "newwave-toolbar" | ||
1992 | 1984 | class "*BonoboDockItem" style "newwave-toolbar" | ||
1993 | 1985 | |||
1994 | 1986 | widget_class "*HandleBox" style "newwave-toolbar" #-handle" | ||
1995 | 1987 | class "*HandleBox" style"newwave-toolbar" #-handle" | ||
1996 | 1988 | |||
1997 | 1989 | widget_class "*Toolbar" style "newwave-toolbar" | ||
1998 | 1990 | class "*Toolbar" style "newwave-toolbar" | ||
1999 | 1991 | |||
2000 | 1992 | #Remove images in Rythmbox toolbars besides the search textbox | ||
2001 | 1993 | widget "*RBSourceHeader*" style:highest "newwave-toolbar-noimage" | ||
2002 | 1994 | widget "*HeaderToolbar*" style:highest "newwave-toolbar-noimage" | ||
2003 | 1995 | widget "*FooterToolbar*" style:highest "newwave-toolbar-noimage" | ||
2004 | 1996 | #Fix eclipse toolbars and make them smaller | ||
2005 | 1997 | widget "*swt*toolbar*" style:highest "newwave-toolbar-noimage-small" | ||
2006 | 1998 | |||
2007 | 1999 | |||
2008 | 2000 | #========================================================= | ||
2009 | 2001 | # Toolbar buttons (not currently used) | ||
2010 | 2002 | #========================================================= | ||
2011 | 2003 | |||
2012 | 2004 | |||
2013 | 2005 | style "newwave-toolbuttons" = "newwave-button" | ||
2014 | 2006 | { | ||
2015 | 2007 | engine "pixmap" { | ||
2016 | 2008 | |||
2017 | 2009 | |||
2018 | 2010 | image | ||
2019 | 2011 | { | ||
2020 | 2012 | function = FOCUS | ||
2021 | 2013 | recolorable = TRUE | ||
2022 | 2014 | detail = "button" | ||
2023 | 2015 | file = "Images/Toolbar/toolbutton-focus.png" | ||
2024 | 2016 | border = {4, 4, 4, 4} | ||
2025 | 2017 | stretch = TRUE | ||
2026 | 2018 | |||
2027 | 2019 | } | ||
2028 | 2020 | } | ||
2029 | 2021 | } | ||
2030 | 2022 | |||
2031 | 2023 | style "newwave-toolbuttons-old" = "newwave-wide" | ||
2032 | 2024 | { | ||
2033 | 2025 | xthickness = 3 | ||
2034 | 2026 | ythickness = 0 | ||
2035 | 2027 | |||
2036 | 2028 | # GtkWidget::focus_padding = 2 | ||
2037 | 2029 | |||
2038 | 2030 | GtkButton::interior_focus = TRUE | ||
2039 | 2031 | |||
2040 | 2032 | GtkWidget::focus_padding = 0 | ||
2041 | 2033 | GtkButton::focus_width = 1 | ||
2042 | 2034 | GtkButton::displace_focus = TRUE | ||
2043 | 2035 | |||
2044 | 2036 | # The default is ok | ||
2045 | 2037 | GtkButton::child_displacement_x = 0 | ||
2046 | 2038 | GtkButton::child_displacement_y = 1 | ||
2047 | 2039 | |||
2048 | 2040 | # Increase because focus padding is zero | ||
2049 | 2041 | GtkButton::inner-border = {2, 2, 2, 2} | ||
2050 | 2042 | # Use to show glow around default buttons | ||
2051 | 2043 | GtkButton::default-border = { 3, 3, 3, 3} | ||
2052 | 2044 | GtkButton::default-outside-border = { 3, 3, 3, 3} | ||
2053 | 2045 | |||
2054 | 2046 | engine "pixmap" { | ||
2055 | 2047 | |||
2056 | 2048 | |||
2057 | 2049 | image | ||
2058 | 2050 | { | ||
2059 | 2051 | function = FOCUS | ||
2060 | 2052 | recolorable = TRUE | ||
2061 | 2053 | detail = "button" | ||
2062 | 2054 | file = "Images/Toolbar/toolbutton-focus.png" | ||
2063 | 2055 | border = {4, 4, 4, 4} | ||
2064 | 2056 | stretch = TRUE | ||
2065 | 2057 | |||
2066 | 2058 | } | ||
2067 | 2059 | |||
2068 | 2060 | image | ||
2069 | 2061 | { | ||
2070 | 2062 | function = BOX | ||
2071 | 2063 | recolorable = TRUE | ||
2072 | 2064 | state = NORMAL | ||
2073 | 2065 | file = "Images/Toolbar/toolbutton-normal.png" | ||
2074 | 2066 | border = { 4, 4, 4, 4 } | ||
2075 | 2067 | stretch = TRUE | ||
2076 | 2068 | } | ||
2077 | 2069 | image | ||
2078 | 2070 | { | ||
2079 | 2071 | function = BOX | ||
2080 | 2072 | recolorable = TRUE | ||
2081 | 2073 | state = PRELIGHT | ||
2082 | 2074 | shadow = OUT | ||
2083 | 2075 | file = "Images/Toolbar/toolbutton-prelight.png" | ||
2084 | 2076 | border = { 4, 4, 4, 4 } | ||
2085 | 2077 | stretch = TRUE | ||
2086 | 2078 | } | ||
2087 | 2079 | image | ||
2088 | 2080 | { | ||
2089 | 2081 | function = BOX | ||
2090 | 2082 | recolorable = TRUE | ||
2091 | 2083 | state = PRELIGHT | ||
2092 | 2084 | shadow = IN | ||
2093 | 2085 | file = "Images/Toolbar/toolbutton-pressed-prelight.png" | ||
2094 | 2086 | border = { 4, 4, 4, 4 } | ||
2095 | 2087 | stretch = TRUE | ||
2096 | 2088 | } | ||
2097 | 2089 | image | ||
2098 | 2090 | { | ||
2099 | 2091 | function = BOX | ||
2100 | 2092 | recolorable = TRUE | ||
2101 | 2093 | state = ACTIVE | ||
2102 | 2094 | file = "Images/Toolbar/toolbutton-pressed.png" | ||
2103 | 2095 | border = { 4, 4, 4, 4 } | ||
2104 | 2096 | stretch = TRUE | ||
2105 | 2097 | } | ||
2106 | 2098 | image | ||
2107 | 2099 | { | ||
2108 | 2100 | function = BOX | ||
2109 | 2101 | recolorable = TRUE | ||
2110 | 2102 | shadow = OUT | ||
2111 | 2103 | state = INSENSITIVE | ||
2112 | 2104 | file = "Images/Toolbar/toolbutton-insensitive.png" | ||
2113 | 2105 | border = { 4, 4, 4, 4 } | ||
2114 | 2106 | stretch = TRUE | ||
2115 | 2107 | } | ||
2116 | 2108 | image | ||
2117 | 2109 | { | ||
2118 | 2110 | function = BOX | ||
2119 | 2111 | recolorable = TRUE | ||
2120 | 2112 | shadow = IN | ||
2121 | 2113 | state = INSENSITIVE | ||
2122 | 2114 | file = "Images/Toolbar/toolbutton-pressed-insensitive.png" | ||
2123 | 2115 | border ={ 4, 4, 4, 4 } | ||
2124 | 2116 | stretch = TRUE | ||
2125 | 2117 | } | ||
2126 | 2118 | } | ||
2127 | 2119 | } | ||
2128 | 2120 | |||
2129 | 2121 | #========================================================= | ||
2130 | 2122 | # Toolbar focus button image | ||
2131 | 2123 | #========================================================= | ||
2132 | 2124 | |||
2133 | 2125 | |||
2134 | 2126 | |||
2135 | 2127 | |||
2136 | 2128 | #========================================================= | ||
2137 | 2129 | # Range | ||
2138 | 2130 | #========================================================= | ||
2139 | 2131 | |||
2140 | 2132 | style "newwave-range" = "newwave-wide" | ||
2141 | 2133 | { | ||
2142 | 2134 | engine "pixmap" | ||
2143 | 2135 | { | ||
2144 | 2136 | |||
2145 | 2137 | # Range - background | ||
2146 | 2138 | #============================= | ||
2147 | 2139 | image | ||
2148 | 2140 | { | ||
2149 | 2141 | function = BOX | ||
2150 | 2142 | file = "Images/Range/trough-horizontal.png" | ||
2151 | 2143 | border = { 6, 6, 7, 7 } | ||
2152 | 2144 | stretch = TRUE | ||
2153 | 2145 | orientation = HORIZONTAL | ||
2154 | 2146 | } | ||
2155 | 2147 | |||
2156 | 2148 | # image | ||
2157 | 2149 | # { | ||
2158 | 2150 | # function = FOCUS | ||
2159 | 2151 | # file = "Images/Range/trough-horizontal-focus.png" | ||
2160 | 2152 | # detail = "trough" | ||
2161 | 2153 | # border = { 7,7,7,7 } | ||
2162 | 2154 | # stretch = TRUE | ||
2163 | 2155 | # orientation = HORIZONTAL | ||
2164 | 2156 | # } | ||
2165 | 2157 | image | ||
2166 | 2158 | { | ||
2167 | 2159 | function = BOX | ||
2168 | 2160 | file = "Images/Range/trough-vertical.png" | ||
2169 | 2161 | border = { 7,7, 6, 6 } | ||
2170 | 2162 | stretch = TRUE | ||
2171 | 2163 | orientation = VERTICAL | ||
2172 | 2164 | } | ||
2173 | 2165 | # image | ||
2174 | 2166 | # { | ||
2175 | 2167 | # function = FOCUS | ||
2176 | 2168 | # detail = "trough" | ||
2177 | 2169 | # file = "Images/Range/trough-vertical-focus.png" | ||
2178 | 2170 | # border = {7,7,7,7} | ||
2179 | 2171 | # stretch = TRUE | ||
2180 | 2172 | # orientation = VERTICAL | ||
2181 | 2173 | # } | ||
2182 | 2174 | |||
2183 | 2175 | |||
2184 | 2176 | # Range - horizonral | ||
2185 | 2177 | #============================= | ||
2186 | 2178 | image | ||
2187 | 2179 | { | ||
2188 | 2180 | function = SLIDER | ||
2189 | 2181 | recolorable = TRUE | ||
2190 | 2182 | state = NORMAL | ||
2191 | 2183 | file = "Images/Range/null.png" | ||
2192 | 2184 | border = { 0, 0, 0, 0} | ||
2193 | 2185 | stretch = TRUE | ||
2194 | 2186 | overlay_file = "Images/Range/slider-horiz.png" | ||
2195 | 2187 | overlay_stretch = FALSE | ||
2196 | 2188 | orientation = HORIZONTAL | ||
2197 | 2189 | |||
2198 | 2190 | } | ||
2199 | 2191 | image | ||
2200 | 2192 | { | ||
2201 | 2193 | function = SLIDER | ||
2202 | 2194 | recolorable = TRUE | ||
2203 | 2195 | state = PRELIGHT | ||
2204 | 2196 | file = "Images/Range/null.png" | ||
2205 | 2197 | border = { 0, 0, 0, 0 } | ||
2206 | 2198 | stretch = TRUE | ||
2207 | 2199 | overlay_file = "Images/Range/slider-horiz-prelight.png" | ||
2208 | 2200 | overlay_stretch = FALSE | ||
2209 | 2201 | orientation = HORIZONTAL | ||
2210 | 2202 | } | ||
2211 | 2203 | image | ||
2212 | 2204 | { | ||
2213 | 2205 | function = SLIDER | ||
2214 | 2206 | recolorable = TRUE | ||
2215 | 2207 | state = ACTIVE | ||
2216 | 2208 | file = "Images/Range/null.png" | ||
2217 | 2209 | border = { 0, 0, 0, 0 } | ||
2218 | 2210 | stretch = TRUE | ||
2219 | 2211 | overlay_file = "Images/Range/slider-horiz-active.png" | ||
2220 | 2212 | overlay_stretch = FALSE | ||
2221 | 2213 | orientation = HORIZONTAL | ||
2222 | 2214 | } | ||
2223 | 2215 | image | ||
2224 | 2216 | { | ||
2225 | 2217 | function = SLIDER | ||
2226 | 2218 | recolorable = TRUE | ||
2227 | 2219 | state = INSENSITIVE | ||
2228 | 2220 | file = "Images/Range/null.png" | ||
2229 | 2221 | border = { 0, 0, 0, 0 } | ||
2230 | 2222 | stretch = TRUE | ||
2231 | 2223 | overlay_file = "Images/Range/slider-horiz-insens.png" | ||
2232 | 2224 | overlay_stretch = FALSE | ||
2233 | 2225 | orientation = HORIZONTAL | ||
2234 | 2226 | } | ||
2235 | 2227 | |||
2236 | 2228 | |||
2237 | 2229 | # Range - vertical | ||
2238 | 2230 | #============================= | ||
2239 | 2231 | image | ||
2240 | 2232 | { | ||
2241 | 2233 | function = SLIDER | ||
2242 | 2234 | recolorable = TRUE | ||
2243 | 2235 | state = NORMAL | ||
2244 | 2236 | file = "Images/Range/null.png" | ||
2245 | 2237 | border = { 0, 0, 0, 0 } | ||
2246 | 2238 | stretch = TRUE | ||
2247 | 2239 | overlay_file = "Images/Range/slider-vert.png" | ||
2248 | 2240 | overlay_stretch = FALSE | ||
2249 | 2241 | orientation = VERTICAL | ||
2250 | 2242 | } | ||
2251 | 2243 | image | ||
2252 | 2244 | { | ||
2253 | 2245 | function = SLIDER | ||
2254 | 2246 | recolorable = TRUE | ||
2255 | 2247 | state = PRELIGHT | ||
2256 | 2248 | file = "Images/Range/null.png" | ||
2257 | 2249 | border = { 0, 0, 0, 0 } | ||
2258 | 2250 | stretch = TRUE | ||
2259 | 2251 | overlay_file = "Images/Range/slider-vert-prelight.png" | ||
2260 | 2252 | overlay_stretch = FALSE | ||
2261 | 2253 | orientation = VERTICAL | ||
2262 | 2254 | } | ||
2263 | 2255 | image | ||
2264 | 2256 | { | ||
2265 | 2257 | function = SLIDER | ||
2266 | 2258 | recolorable = TRUE | ||
2267 | 2259 | state = ACTIVE | ||
2268 | 2260 | file = "Images/Range/null.png" | ||
2269 | 2261 | border = { 0, 0, 0, 0 } | ||
2270 | 2262 | stretch = TRUE | ||
2271 | 2263 | overlay_file = "Images/Range/slider-vert-active.png" | ||
2272 | 2264 | overlay_stretch = FALSE | ||
2273 | 2265 | orientation = VERTICAL | ||
2274 | 2266 | } | ||
2275 | 2267 | image | ||
2276 | 2268 | { | ||
2277 | 2269 | function = SLIDER | ||
2278 | 2270 | recolorable = TRUE | ||
2279 | 2271 | state = INSENSITIVE | ||
2280 | 2272 | file = "Images/Range/null.png" | ||
2281 | 2273 | border = { 0, 0, 0, 0 } | ||
2282 | 2274 | stretch = TRUE | ||
2283 | 2275 | overlay_file = "Images/Range/slider-vert-insens.png" | ||
2284 | 2276 | overlay_stretch = FALSE | ||
2285 | 2277 | orientation = VERTICAL | ||
2286 | 2278 | } | ||
2287 | 2279 | } | ||
2288 | 2280 | } | ||
2289 | 2281 | |||
2290 | 2282 | |||
2291 | 2283 | #========================================================= | ||
2292 | 2284 | # Spinbutton | ||
2293 | 2285 | #========================================================= | ||
2294 | 2286 | style "newwave-spinbutton" = "newwave-wider" | ||
2295 | 2287 | { | ||
2296 | 2288 | |||
2297 | 2289 | GtkSpinButton::page-size = 0 | ||
2298 | 2290 | GtkWidget::interior_focus = 0 | ||
2299 | 2291 | GtkWidget::internal-padding = 4 | ||
2300 | 2292 | |||
2301 | 2293 | engine "pixmap" | ||
2302 | 2294 | { | ||
2303 | 2295 | |||
2304 | 2296 | #@author:dilomo@ This is very important. Do not remove! | ||
2305 | 2297 | image | ||
2306 | 2298 | { | ||
2307 | 2299 | function = ARROW | ||
2308 | 2300 | } | ||
2309 | 2301 | |||
2310 | 2302 | # Spin - up | ||
2311 | 2303 | #============================= | ||
2312 | 2304 | image | ||
2313 | 2305 | { | ||
2314 | 2306 | function = BOX | ||
2315 | 2307 | state = NORMAL | ||
2316 | 2308 | detail = "spinbutton_up" | ||
2317 | 2309 | recolorable = TRUE | ||
2318 | 2310 | file = "Images/Spin/spin-up-bg.png" | ||
2319 | 2311 | border = { 2, 2, 2, 2} | ||
2320 | 2312 | stretch = TRUE | ||
2321 | 2313 | overlay_file = "Images/Spin/arrow-up.png" | ||
2322 | 2314 | overlay_stretch = FALSE | ||
2323 | 2315 | } | ||
2324 | 2316 | image | ||
2325 | 2317 | { | ||
2326 | 2318 | function = BOX | ||
2327 | 2319 | state = PRELIGHT | ||
2328 | 2320 | detail = "spinbutton_up" | ||
2329 | 2321 | recolorable = TRUE | ||
2330 | 2322 | file = "Images/Spin/spin-up-bg-prelight.png" | ||
2331 | 2323 | border = { 2, 2, 2, 2} | ||
2332 | 2324 | stretch = TRUE | ||
2333 | 2325 | overlay_file = "Images/Spin/arrow-up-prelight.png" | ||
2334 | 2326 | overlay_stretch = FALSE | ||
2335 | 2327 | } | ||
2336 | 2328 | image | ||
2337 | 2329 | { | ||
2338 | 2330 | function = BOX | ||
2339 | 2331 | state = INSENSITIVE | ||
2340 | 2332 | detail = "spinbutton_up" | ||
2341 | 2333 | recolorable = TRUE | ||
2342 | 2334 | file = "Images/Spin/spin-up-bg.png" | ||
2343 | 2335 | border = { 2, 2, 2, 2} | ||
2344 | 2336 | stretch = TRUE | ||
2345 | 2337 | overlay_file = "Images/Spin/arrow-up-disable.png" | ||
2346 | 2338 | overlay_stretch = FALSE | ||
2347 | 2339 | } | ||
2348 | 2340 | image | ||
2349 | 2341 | { | ||
2350 | 2342 | function = BOX | ||
2351 | 2343 | state = ACTIVE | ||
2352 | 2344 | detail = "spinbutton_up" | ||
2353 | 2345 | recolorable = TRUE | ||
2354 | 2346 | file = "Images/Spin/spin-up-bg-active.png" | ||
2355 | 2347 | border = { 2, 2, 2, 2} | ||
2356 | 2348 | stretch = TRUE | ||
2357 | 2349 | overlay_file = "Images/Spin/arrow-up-active.png" | ||
2358 | 2350 | overlay_stretch = FALSE | ||
2359 | 2351 | } | ||
2360 | 2352 | |||
2361 | 2353 | # Spin - down | ||
2362 | 2354 | #============================= | ||
2363 | 2355 | image | ||
2364 | 2356 | { | ||
2365 | 2357 | function = BOX | ||
2366 | 2358 | state = NORMAL | ||
2367 | 2359 | detail = "spinbutton_down" | ||
2368 | 2360 | recolorable = TRUE | ||
2369 | 2361 | file = "Images/Spin/spin-down-bg.png" | ||
2370 | 2362 | border = { 2, 2, 2, 2} | ||
2371 | 2363 | stretch = TRUE | ||
2372 | 2364 | overlay_file = "Images/Spin/arrow-down.png" | ||
2373 | 2365 | overlay_stretch = FALSE | ||
2374 | 2366 | } | ||
2375 | 2367 | image | ||
2376 | 2368 | { | ||
2377 | 2369 | function = BOX | ||
2378 | 2370 | state = PRELIGHT | ||
2379 | 2371 | detail = "spinbutton_down" | ||
2380 | 2372 | recolorable = TRUE | ||
2381 | 2373 | file = "Images/Spin/spin-down-bg-prelight.png" | ||
2382 | 2374 | border = { 2, 2, 2, 2} | ||
2383 | 2375 | stretch = TRUE | ||
2384 | 2376 | overlay_file = "Images/Spin/arrow-down-prelight.png" | ||
2385 | 2377 | overlay_stretch = FALSE | ||
2386 | 2378 | } | ||
2387 | 2379 | image | ||
2388 | 2380 | { | ||
2389 | 2381 | function = BOX | ||
2390 | 2382 | state = INSENSITIVE | ||
2391 | 2383 | detail = "spinbutton_down" | ||
2392 | 2384 | recolorable = TRUE | ||
2393 | 2385 | file = "Images/Spin/spin-down-bg.png" | ||
2394 | 2386 | border = { 2, 2, 2, 2} | ||
2395 | 2387 | stretch = TRUE | ||
2396 | 2388 | overlay_file = "Images/Spin/arrow-down-disable.png" | ||
2397 | 2389 | overlay_stretch = FALSE | ||
2398 | 2390 | } | ||
2399 | 2391 | image | ||
2400 | 2392 | { | ||
2401 | 2393 | function = BOX | ||
2402 | 2394 | state = ACTIVE | ||
2403 | 2395 | detail = "spinbutton_down" | ||
2404 | 2396 | recolorable = TRUE | ||
2405 | 2397 | file = "Images/Spin/spin-down-bg-active.png" | ||
2406 | 2398 | border = { 2, 2, 2, 3} | ||
2407 | 2399 | stretch = TRUE | ||
2408 | 2400 | overlay_file = "Images/Spin/arrow-down-active.png" | ||
2409 | 2401 | overlay_stretch = FALSE | ||
2410 | 2402 | } | ||
2411 | 2403 | |||
2412 | 2404 | |||
2413 | 2405 | # Spin - entry (textbox) | ||
2414 | 2406 | #============================= | ||
2415 | 2407 | image | ||
2416 | 2408 | { | ||
2417 | 2409 | function = FOCUS | ||
2418 | 2410 | recolorable = TRUE | ||
2419 | 2411 | file = "Images/Spin/text-entry-focus.png" | ||
2420 | 2412 | border = { 2, 2, 3, 3} | ||
2421 | 2413 | stretch = TRUE | ||
2422 | 2414 | } | ||
2423 | 2415 | |||
2424 | 2416 | image | ||
2425 | 2417 | { | ||
2426 | 2418 | function = BOX | ||
2427 | 2419 | recolorable = TRUE | ||
2428 | 2420 | shadow = OUT | ||
2429 | 2421 | state = NORMAL | ||
2430 | 2422 | detail = "entry" | ||
2431 | 2423 | file = "Images/Spin/text-entry.png" | ||
2432 | 2424 | border = { 2 , 2 ,3 ,3 } | ||
2433 | 2425 | stretch = TRUE | ||
2434 | 2426 | } | ||
2435 | 2427 | |||
2436 | 2428 | image | ||
2437 | 2429 | { | ||
2438 | 2430 | function = SHADOW | ||
2439 | 2431 | state = NORMAL | ||
2440 | 2432 | shadow = IN | ||
2441 | 2433 | recolorable = FALSE | ||
2442 | 2434 | detail = "entry" | ||
2443 | 2435 | file = "Images/Spin/text-entry.png" | ||
2444 | 2436 | border = { 2, 2, 2, 2} | ||
2445 | 2437 | stretch = TRUE | ||
2446 | 2438 | } | ||
2447 | 2439 | } | ||
2448 | 2440 | |||
2449 | 2441 | } | ||
2450 | 2442 | |||
2451 | 2443 | |||
2452 | 2444 | #========================================================= | ||
2453 | 2445 | # Conmbobox entry | ||
2454 | 2446 | #========================================================= | ||
2455 | 2447 | style "newwave-comboboxentry" = "newwave-wider" | ||
2456 | 2448 | { | ||
2457 | 2449 | # Makes the button of the combo to have interior focus | ||
2458 | 2450 | GtkButton::interior_focus = 0 | ||
2459 | 2451 | |||
2460 | 2452 | engine "pixmap" | ||
2461 | 2453 | { | ||
2462 | 2454 | |||
2463 | 2455 | image | ||
2464 | 2456 | { | ||
2465 | 2457 | function = FOCUS | ||
2466 | 2458 | recolorable = TRUE | ||
2467 | 2459 | detail = "entry" | ||
2468 | 2460 | file = "Images/Combo/combo-entry-focus.png" | ||
2469 | 2461 | border = {2, 2, 2, 3} | ||
2470 | 2462 | stretch = TRUE | ||
2471 | 2463 | } | ||
2472 | 2464 | |||
2473 | 2465 | |||
2474 | 2466 | image | ||
2475 | 2467 | { | ||
2476 | 2468 | function = BOX | ||
2477 | 2469 | recolorable = TRUE | ||
2478 | 2470 | state = PRELIGHT | ||
2479 | 2471 | file = "Images/Combo/combo-prelight.png" | ||
2480 | 2472 | border = { 4, 4, 4, 4} | ||
2481 | 2473 | stretch = TRUE | ||
2482 | 2474 | } | ||
2483 | 2475 | image | ||
2484 | 2476 | { | ||
2485 | 2477 | function = BOX | ||
2486 | 2478 | recolorable = TRUE | ||
2487 | 2479 | state = NORMAL | ||
2488 | 2480 | file = "Images/Combo/combo-normal.png" | ||
2489 | 2481 | border = { 4, 4, 4, 4} | ||
2490 | 2482 | stretch = TRUE | ||
2491 | 2483 | } | ||
2492 | 2484 | |||
2493 | 2485 | image | ||
2494 | 2486 | { | ||
2495 | 2487 | function = BOX | ||
2496 | 2488 | recolorable = TRUE | ||
2497 | 2489 | state = ACTIVE | ||
2498 | 2490 | file = "Images/Combo/combo-pressed.png" | ||
2499 | 2491 | border = { 4, 4, 4, 4} | ||
2500 | 2492 | stretch = TRUE | ||
2501 | 2493 | } | ||
2502 | 2494 | |||
2503 | 2495 | image | ||
2504 | 2496 | { | ||
2505 | 2497 | function = BOX | ||
2506 | 2498 | recolorable = TRUE | ||
2507 | 2499 | state = INSENSITIVE | ||
2508 | 2500 | file = "Images/Combo/combo-inactive.png" | ||
2509 | 2501 | border = { 4, 4, 4, 4} | ||
2510 | 2502 | stretch = TRUE | ||
2511 | 2503 | } | ||
2512 | 2504 | |||
2513 | 2505 | image | ||
2514 | 2506 | { | ||
2515 | 2507 | function = SHADOW | ||
2516 | 2508 | detail = "entry" | ||
2517 | 2509 | shadow = IN | ||
2518 | 2510 | recolorable = FALSE | ||
2519 | 2511 | file = "Images/Combo/combo-entry.png" | ||
2520 | 2512 | border = { 2,2,2,2 } | ||
2521 | 2513 | stretch = TRUE | ||
2522 | 2514 | } | ||
2523 | 2515 | |||
2524 | 2516 | } | ||
2525 | 2517 | } | ||
2526 | 2518 | |||
2527 | 2519 | |||
2528 | 2520 | style "newwave-combomenu" | ||
2529 | 2521 | { | ||
2530 | 2522 | fg[PRELIGHT] = @bg_color | ||
2531 | 2523 | } | ||
2532 | 2524 | widget_class "*GtkComboBox*.*GtkMenu*.*" style "newwave-combomenu" | ||
2533 | 2525 | |||
2534 | 2526 | style "newwave-list-item" | ||
2535 | 2527 | { | ||
2536 | 2528 | fg[PRELIGHT] = @bg_color | ||
2537 | 2529 | engine "pixmap" | ||
2538 | 2530 | { | ||
2539 | 2531 | image | ||
2540 | 2532 | { | ||
2541 | 2533 | function = FLAT_BOX | ||
2542 | 2534 | #detail = "listitem" | ||
2543 | 2535 | state = SELECTED | ||
2544 | 2536 | file = "Images/Tree/selected.png" | ||
2545 | 2537 | border = {2,2,2,2} | ||
2546 | 2538 | } | ||
2547 | 2539 | } | ||
2548 | 2540 | } | ||
2549 | 2541 | widget_class "*<GtkListItem>*" style "newwave-list-item" | ||
2550 | 2542 | |||
2551 | 2543 | |||
2552 | 2544 | #========================================================= | ||
2553 | 2545 | # Combobox | ||
2554 | 2546 | #========================================================= | ||
2555 | 2547 | style "newwave-combobox" = "newwave-comboboxentry" | ||
2556 | 2548 | { | ||
2557 | 2549 | xthickness = 3 | ||
2558 | 2550 | ythickness = 3 | ||
2559 | 2551 | |||
2560 | 2552 | fg[PRELIGHT] = @bg_color | ||
2561 | 2553 | } | ||
2562 | 2554 | |||
2563 | 2555 | style "newwave-combobutton" = "newwave-default" | ||
2564 | 2556 | { | ||
2565 | 2557 | # Make it vertical | ||
2566 | 2558 | GtkButton::child_displacement_x = 0 | ||
2567 | 2559 | GtkButton::child_displacement_y = 1 | ||
2568 | 2560 | GtkButton::interior_focus = 1 | ||
2569 | 2561 | |||
2570 | 2562 | engine "pixmap" | ||
2571 | 2563 | { | ||
2572 | 2564 | image | ||
2573 | 2565 | { | ||
2574 | 2566 | function = FOCUS | ||
2575 | 2567 | recolorable = TRUE | ||
2576 | 2568 | file = "Images/Combo/combo-focus.png" | ||
2577 | 2569 | border = {2, 2, 3, 3} | ||
2578 | 2570 | stretch = TRUE | ||
2579 | 2571 | } | ||
2580 | 2572 | |||
2581 | 2573 | image | ||
2582 | 2574 | { | ||
2583 | 2575 | function = BOX | ||
2584 | 2576 | state = NORMAL | ||
2585 | 2577 | file = "Images/Combo/combo-normal.png" | ||
2586 | 2578 | border = { 0, 2, 2, 2} | ||
2587 | 2579 | stretch = TRUE | ||
2588 | 2580 | } | ||
2589 | 2581 | |||
2590 | 2582 | image | ||
2591 | 2583 | { | ||
2592 | 2584 | function = BOX | ||
2593 | 2585 | recolorable = TRUE | ||
2594 | 2586 | state = PRELIGHT | ||
2595 | 2587 | shadow = OUT | ||
2596 | 2588 | file = "Images/Combo/combo-prelight.png" | ||
2597 | 2589 | border = { 0, 2, 2, 2} | ||
2598 | 2590 | stretch = TRUE | ||
2599 | 2591 | } | ||
2600 | 2592 | |||
2601 | 2593 | image | ||
2602 | 2594 | { | ||
2603 | 2595 | function = BOX | ||
2604 | 2596 | recolorable = TRUE | ||
2605 | 2597 | state = PRELIGHT | ||
2606 | 2598 | shadow = IN | ||
2607 | 2599 | file = "Images/Combo/combo-prelight.png" | ||
2608 | 2600 | border = { 0, 2, 2, 2} | ||
2609 | 2601 | stretch = TRUE | ||
2610 | 2602 | } | ||
2611 | 2603 | |||
2612 | 2604 | image | ||
2613 | 2605 | { | ||
2614 | 2606 | function = BOX | ||
2615 | 2607 | state = ACTIVE | ||
2616 | 2608 | file = "Images/Combo/combo-pressed.png" | ||
2617 | 2609 | border = { 0, 2, 2, 2} | ||
2618 | 2610 | stretch = TRUE | ||
2619 | 2611 | } | ||
2620 | 2612 | image | ||
2621 | 2613 | { | ||
2622 | 2614 | function = BOX | ||
2623 | 2615 | state = INSENSITIVE | ||
2624 | 2616 | file = "Images/Combo/combo-inactive.png" | ||
2625 | 2617 | border = { 0, 2, 2, 2} | ||
2626 | 2618 | stretch = TRUE | ||
2627 | 2619 | } | ||
2628 | 2620 | } | ||
2629 | 2621 | } | ||
2630 | 2622 | |||
2631 | 2623 | |||
2632 | 2624 | #========================================================= | ||
2633 | 2625 | # Entry (textbox) | ||
2634 | 2626 | #========================================================= | ||
2635 | 2627 | style "newwave-entry" = "newwave-wider" | ||
2636 | 2628 | { | ||
2637 | 2629 | #@author:dilomo@ Disable outer focus glow because it look ugly in comboboxes and spins | ||
2638 | 2630 | GtkWidget::interior_focus = 0 | ||
2639 | 2631 | GtkEntry::inner-border = {2, 2, 1, 1} | ||
2640 | 2632 | |||
2641 | 2633 | |||
2642 | 2634 | |||
2643 | 2635 | engine "pixmap" | ||
2644 | 2636 | { | ||
2645 | 2637 | |||
2646 | 2638 | # i'm unsure about these | ||
2647 | 2639 | image | ||
2648 | 2640 | { | ||
2649 | 2641 | function = BOX | ||
2650 | 2642 | recolorable = TRUE | ||
2651 | 2643 | shadow = IN | ||
2652 | 2644 | state = NORMAL | ||
2653 | 2645 | file = "Images/Shadows/entry-shadow-in.png" | ||
2654 | 2646 | border = { 3,3,4,3 } | ||
2655 | 2647 | stretch = TRUE | ||
2656 | 2648 | } | ||
2657 | 2649 | image | ||
2658 | 2650 | { | ||
2659 | 2651 | function = BOX | ||
2660 | 2652 | recolorable = TRUE | ||
2661 | 2653 | shadow = OUT | ||
2662 | 2654 | state = NORMAL | ||
2663 | 2655 | file = "Images/Shadows/entry-shadow-in.png" | ||
2664 | 2656 | border = { 3,3,4,3 } | ||
2665 | 2657 | stretch = TRUE | ||
2666 | 2658 | } | ||
2667 | 2659 | image | ||
2668 | 2660 | { | ||
2669 | 2661 | function = BOX | ||
2670 | 2662 | recolorable = TRUE | ||
2671 | 2663 | shadow = OUT | ||
2672 | 2664 | state = ACTIVE | ||
2673 | 2665 | file = "Images/Shadows/entry-focus.png" | ||
2674 | 2666 | border = { 2,2,2,2 } | ||
2675 | 2667 | stretch = TRUE | ||
2676 | 2668 | } | ||
2677 | 2669 | image | ||
2678 | 2670 | { | ||
2679 | 2671 | function = BOX | ||
2680 | 2672 | recolorable = TRUE | ||
2681 | 2673 | shadow = IN | ||
2682 | 2674 | state = INSENSITIVE | ||
2683 | 2675 | file = "Images/Shadows/entry-focus.png" | ||
2684 | 2676 | border = { 2,2,2,2 } | ||
2685 | 2677 | stretch = TRUE | ||
2686 | 2678 | } | ||
2687 | 2679 | |||
2688 | 2680 | |||
2689 | 2681 | # Glow image when selected | ||
2690 | 2682 | image | ||
2691 | 2683 | { | ||
2692 | 2684 | function = FOCUS | ||
2693 | 2685 | recolorable = TRUE | ||
2694 | 2686 | detail = "entry" | ||
2695 | 2687 | file = "Images/Shadows/entry-focus.png" | ||
2696 | 2688 | border = {3, 3, 4, 3} | ||
2697 | 2689 | stretch = TRUE | ||
2698 | 2690 | } | ||
2699 | 2691 | |||
2700 | 2692 | # the actual textbox in normal state | ||
2701 | 2693 | image | ||
2702 | 2694 | { | ||
2703 | 2695 | function = SHADOW | ||
2704 | 2696 | detail = "entry" | ||
2705 | 2697 | shadow = IN | ||
2706 | 2698 | state = NORMAL | ||
2707 | 2699 | recolorable = FALSE | ||
2708 | 2700 | file = "Images/Shadows/entry-shadow-in.png" | ||
2709 | 2701 | border = { 2,2,2,2 } | ||
2710 | 2702 | stretch = TRUE | ||
2711 | 2703 | } | ||
2712 | 2704 | } | ||
2713 | 2705 | |||
2714 | 2706 | |||
2715 | 2707 | } | ||
2716 | 2708 | |||
2717 | 2709 | style "newwave-entry-nofocus" = "newwave-entry" | ||
2718 | 2710 | { | ||
2719 | 2711 | GtkWidget::interior_focus = 1 | ||
2720 | 2712 | } | ||
2721 | 2713 | |||
2722 | 2714 | #========================================================= | ||
2723 | 2715 | # Task list | ||
2724 | 2716 | #========================================================= | ||
2725 | 2717 | style "newwave-tasklist" = "newwave-wide" | ||
2726 | 2718 | { | ||
2727 | 2719 | } | ||
2728 | 2720 | |||
2729 | 2721 | #========================================================= | ||
2730 | 2722 | # Treeview | ||
2731 | 2723 | #========================================================= | ||
2732 | 2724 | style "newwave-treeview" | ||
2733 | 2725 | { | ||
2734 | 2726 | # make unfocused items have different text color | ||
2735 | 2727 | text[ACTIVE] = shade(0.43, @selected_bg_color) | ||
2736 | 2728 | text[SELECTED] = @text_color | ||
2737 | 2729 | |||
2738 | 2730 | bg[NORMAL] = "#EDEDED" | ||
2739 | 2731 | bg[SELECTED] = @selected_bg_color | ||
2740 | 2732 | |||
2741 | 2733 | engine "pixmap" | ||
2742 | 2734 | { | ||
2743 | 2735 | |||
2744 | 2736 | # Focus Images in treeviews | ||
2745 | 2737 | #======================================================== | ||
2746 | 2738 | |||
2747 | 2739 | |||
2748 | 2740 | # Focus for the drop item - indicator | ||
2749 | 2741 | image | ||
2750 | 2742 | { | ||
2751 | 2743 | function = FOCUS | ||
2752 | 2744 | detail = "treeview-drop-indicator-left" | ||
2753 | 2745 | file = "Images/Tree/dropindicator.png" | ||
2754 | 2746 | border = {2, 2, 2, 2} | ||
2755 | 2747 | stretch = TRUE | ||
2756 | 2748 | } | ||
2757 | 2749 | image | ||
2758 | 2750 | { | ||
2759 | 2751 | function = FOCUS | ||
2760 | 2752 | detail = "treeview-drop-indicator-middle" | ||
2761 | 2753 | file = "Images/Tree/dropindicator.png" | ||
2762 | 2754 | border = {2, 2, 2, 2} | ||
2763 | 2755 | stretch = TRUE | ||
2764 | 2756 | } | ||
2765 | 2757 | image | ||
2766 | 2758 | { | ||
2767 | 2759 | function = FOCUS | ||
2768 | 2760 | detail = "treeview-drop-indicator-right" | ||
2769 | 2761 | file = "Images/Tree/dropindicator.png" | ||
2770 | 2762 | border = {2, 2, 2, 2} | ||
2771 | 2763 | stretch = TRUE | ||
2772 | 2764 | } | ||
2773 | 2765 | |||
2774 | 2766 | image | ||
2775 | 2767 | { | ||
2776 | 2768 | function = FOCUS | ||
2777 | 2769 | detail = "treeview-drop-indicator" | ||
2778 | 2770 | file = "Images/Tree/dropindicator.png" | ||
2779 | 2771 | border = {2, 2, 2, 2} | ||
2780 | 2772 | stretch = TRUE | ||
2781 | 2773 | } | ||
2782 | 2774 | |||
2783 | 2775 | # Focus for the seleced row | ||
2784 | 2776 | image | ||
2785 | 2777 | { | ||
2786 | 2778 | function = FOCUS | ||
2787 | 2779 | detail = "treeview-left" | ||
2788 | 2780 | file = "Images/Tree/row-focus.png" | ||
2789 | 2781 | border = {3, 3, 3, 3 } | ||
2790 | 2782 | stretch = TRUE | ||
2791 | 2783 | } | ||
2792 | 2784 | image | ||
2793 | 2785 | { | ||
2794 | 2786 | function = FOCUS | ||
2795 | 2787 | detail = "treeview-middle" | ||
2796 | 2788 | file = "Images/Tree/row-focus.png" | ||
2797 | 2789 | border = {3, 3, 3, 3 } | ||
2798 | 2790 | stretch = TRUE | ||
2799 | 2791 | } | ||
2800 | 2792 | image | ||
2801 | 2793 | { | ||
2802 | 2794 | function = FOCUS | ||
2803 | 2795 | detail = "treeview-right" | ||
2804 | 2796 | file = "Images/Tree/row-focus.png" | ||
2805 | 2797 | border = {3, 3, 3, 3 } | ||
2806 | 2798 | stretch = TRUE | ||
2807 | 2799 | } | ||
2808 | 2800 | |||
2809 | 2801 | image | ||
2810 | 2802 | { | ||
2811 | 2803 | function = FOCUS | ||
2812 | 2804 | detail = "treeview" | ||
2813 | 2805 | file = "Images/Tree/row-focus.png" | ||
2814 | 2806 | border = {3, 3, 3, 3 } | ||
2815 | 2807 | stretch = TRUE | ||
2816 | 2808 | } | ||
2817 | 2809 | |||
2818 | 2810 | # Focus for the whole empty treeview | ||
2819 | 2811 | image | ||
2820 | 2812 | { | ||
2821 | 2813 | function = FOCUS | ||
2822 | 2814 | recolorable = TRUE | ||
2823 | 2815 | file = "Images/Tree/tree-empty-focus.png" | ||
2824 | 2816 | border = {3, 3, 3, 3 } | ||
2825 | 2817 | stretch = TRUE | ||
2826 | 2818 | } | ||
2827 | 2819 | |||
2828 | 2820 | |||
2829 | 2821 | # Active Rows | ||
2830 | 2822 | #======================================================== | ||
2831 | 2823 | |||
2832 | 2824 | # Start Selected images | ||
2833 | 2825 | image | ||
2834 | 2826 | { | ||
2835 | 2827 | function = FLAT_BOX | ||
2836 | 2828 | state = SELECTED | ||
2837 | 2829 | detail = "cell_even_start" | ||
2838 | 2830 | border = {6, 2, 2, 2} | ||
2839 | 2831 | file = "Images/Tree/selected-mid.png" | ||
2840 | 2832 | stretch = TRUE | ||
2841 | 2833 | } | ||
2842 | 2834 | image | ||
2843 | 2835 | { | ||
2844 | 2836 | function = FLAT_BOX | ||
2845 | 2837 | state = SELECTED | ||
2846 | 2838 | detail = "cell_odd_start" | ||
2847 | 2839 | border = {6, 2, 2, 2} | ||
2848 | 2840 | file = "Images/Tree/selected-mid.png" | ||
2849 | 2841 | stretch = TRUE | ||
2850 | 2842 | } | ||
2851 | 2843 | image | ||
2852 | 2844 | { | ||
2853 | 2845 | function = FLAT_BOX | ||
2854 | 2846 | state = SELECTED | ||
2855 | 2847 | detail = "cell_even_sorted_start" | ||
2856 | 2848 | border = {6, 2, 2, 2} | ||
2857 | 2849 | file = "Images/Tree/selected-mid-odd-sorted.png" | ||
2858 | 2850 | stretch = TRUE | ||
2859 | 2851 | } | ||
2860 | 2852 | image | ||
2861 | 2853 | { | ||
2862 | 2854 | function = FLAT_BOX | ||
2863 | 2855 | state = SELECTED | ||
2864 | 2856 | detail = "cell_odd_sorted_start" | ||
2865 | 2857 | border = {6, 2, 2, 2} | ||
2866 | 2858 | file = "Images/Tree/selected-mid-odd-sorted.png" | ||
2867 | 2859 | stretch = TRUE | ||
2868 | 2860 | } | ||
2869 | 2861 | |||
2870 | 2862 | # Middle Selected images | ||
2871 | 2863 | image | ||
2872 | 2864 | { | ||
2873 | 2865 | function = FLAT_BOX | ||
2874 | 2866 | state = SELECTED | ||
2875 | 2867 | detail = "cell_even_middle" | ||
2876 | 2868 | border = {2, 2, 2, 2} | ||
2877 | 2869 | file = "Images/Tree/selected-mid.png" | ||
2878 | 2870 | stretch = TRUE | ||
2879 | 2871 | } | ||
2880 | 2872 | image | ||
2881 | 2873 | { | ||
2882 | 2874 | function = FLAT_BOX | ||
2883 | 2875 | state = SELECTED | ||
2884 | 2876 | detail = "cell_odd_middle" | ||
2885 | 2877 | border = {2, 2, 2, 2} | ||
2886 | 2878 | file = "Images/Tree/selected-mid.png" | ||
2887 | 2879 | stretch = TRUE | ||
2888 | 2880 | } | ||
2889 | 2881 | image | ||
2890 | 2882 | { | ||
2891 | 2883 | function = FLAT_BOX | ||
2892 | 2884 | state = SELECTED | ||
2893 | 2885 | detail = "cell_even_sorted_middle" | ||
2894 | 2886 | border = {2, 2, 2, 2} | ||
2895 | 2887 | file = "Images/Tree/selected-mid-odd-sorted.png" | ||
2896 | 2888 | stretch = TRUE | ||
2897 | 2889 | } | ||
2898 | 2890 | image | ||
2899 | 2891 | { | ||
2900 | 2892 | function = FLAT_BOX | ||
2901 | 2893 | state = SELECTED | ||
2902 | 2894 | detail = "cell_odd_sorted_middle" | ||
2903 | 2895 | border = {2, 2, 2, 2} | ||
2904 | 2896 | file = "Images/Tree/selected-mid-odd-sorted.png" | ||
2905 | 2897 | stretch = TRUE | ||
2906 | 2898 | } | ||
2907 | 2899 | |||
2908 | 2900 | # End Selected images | ||
2909 | 2901 | image | ||
2910 | 2902 | { | ||
2911 | 2903 | function = FLAT_BOX | ||
2912 | 2904 | state = SELECTED | ||
2913 | 2905 | detail = "cell_even_end" | ||
2914 | 2906 | border = {2, 6, 2, 2} | ||
2915 | 2907 | file = "Images/Tree/selected-end.png" | ||
2916 | 2908 | stretch = TRUE | ||
2917 | 2909 | } | ||
2918 | 2910 | image | ||
2919 | 2911 | { | ||
2920 | 2912 | function = FLAT_BOX | ||
2921 | 2913 | state = SELECTED | ||
2922 | 2914 | detail = "cell_odd_end" | ||
2923 | 2915 | border = {2, 6, 2, 2} | ||
2924 | 2916 | file = "Images/Tree/selected-end.png" | ||
2925 | 2917 | stretch = TRUE | ||
2926 | 2918 | } | ||
2927 | 2919 | image | ||
2928 | 2920 | { | ||
2929 | 2921 | function = FLAT_BOX | ||
2930 | 2922 | state = SELECTED | ||
2931 | 2923 | detail = "cell_even_sorted_end" | ||
2932 | 2924 | border = {2, 6, 2, 2} | ||
2933 | 2925 | file = "Images/Tree/selected-end-odd-sorted.png" | ||
2934 | 2926 | stretch = TRUE | ||
2935 | 2927 | } | ||
2936 | 2928 | image | ||
2937 | 2929 | { | ||
2938 | 2930 | function = FLAT_BOX | ||
2939 | 2931 | state = SELECTED | ||
2940 | 2932 | detail = "cell_odd_sorted_end" | ||
2941 | 2933 | border = {2, 6, 2, 2} | ||
2942 | 2934 | file = "Images/Tree/selected-end-odd-sorted.png" | ||
2943 | 2935 | stretch = TRUE | ||
2944 | 2936 | } | ||
2945 | 2937 | |||
2946 | 2938 | |||
2947 | 2939 | # This is for treeviews with only one column | ||
2948 | 2940 | image | ||
2949 | 2941 | { | ||
2950 | 2942 | function = FLAT_BOX | ||
2951 | 2943 | state = SELECTED | ||
2952 | 2944 | border = {6, 2, 2, 2} | ||
2953 | 2945 | file = "Images/Tree/selected.png" | ||
2954 | 2946 | stretch = TRUE | ||
2955 | 2947 | } | ||
2956 | 2948 | |||
2957 | 2949 | # Normal Rows | ||
2958 | 2950 | #======================================================== | ||
2959 | 2951 | |||
2960 | 2952 | # Start Normal images | ||
2961 | 2953 | image | ||
2962 | 2954 | { | ||
2963 | 2955 | function = FLAT_BOX | ||
2964 | 2956 | state = NORMAL | ||
2965 | 2957 | detail = "cell_even_start" | ||
2966 | 2958 | border = {2, 2, 2, 2} | ||
2967 | 2959 | file = "Images/Tree/tree-normal.png" | ||
2968 | 2960 | stretch = TRUE | ||
2969 | 2961 | } | ||
2970 | 2962 | image | ||
2971 | 2963 | { | ||
2972 | 2964 | function = FLAT_BOX | ||
2973 | 2965 | state = NORMAL | ||
2974 | 2966 | detail = "cell_odd_start" | ||
2975 | 2967 | border = {2, 2, 2, 2} | ||
2976 | 2968 | file = "Images/Tree/tree-normal-odd.png" | ||
2977 | 2969 | stretch = TRUE | ||
2978 | 2970 | } | ||
2979 | 2971 | image | ||
2980 | 2972 | { | ||
2981 | 2973 | function = FLAT_BOX | ||
2982 | 2974 | state = NORMAL | ||
2983 | 2975 | detail = "cell_even_sorted_start" | ||
2984 | 2976 | border = {2, 2, 2, 2} | ||
2985 | 2977 | file = "Images/Tree/tree-normal-sorted.png" | ||
2986 | 2978 | stretch = TRUE | ||
2987 | 2979 | } | ||
2988 | 2980 | image | ||
2989 | 2981 | { | ||
2990 | 2982 | function = FLAT_BOX | ||
2991 | 2983 | state = NORMAL | ||
2992 | 2984 | detail = "cell_odd_sorted_start" | ||
2993 | 2985 | border = {2, 2, 2, 2} | ||
2994 | 2986 | file = "Images/Tree/tree-normal-sorted-odd.png" | ||
2995 | 2987 | stretch = TRUE | ||
2996 | 2988 | } | ||
2997 | 2989 | |||
2998 | 2990 | # Middle Normal images | ||
2999 | 2991 | image | ||
3000 | 2992 | { | ||
3001 | 2993 | function = FLAT_BOX | ||
3002 | 2994 | state = NORMAL | ||
3003 | 2995 | detail = "cell_even_middle" | ||
3004 | 2996 | border = {2, 2, 2, 2} | ||
3005 | 2997 | file = "Images/Tree/tree-normal.png" | ||
3006 | 2998 | stretch = TRUE | ||
3007 | 2999 | } | ||
3008 | 3000 | image | ||
3009 | 3001 | { | ||
3010 | 3002 | function = FLAT_BOX | ||
3011 | 3003 | state = NORMAL | ||
3012 | 3004 | detail = "cell_odd_middle" | ||
3013 | 3005 | border = {2, 2, 2, 2} | ||
3014 | 3006 | file = "Images/Tree/tree-normal-odd.png" | ||
3015 | 3007 | stretch = TRUE | ||
3016 | 3008 | } | ||
3017 | 3009 | image | ||
3018 | 3010 | { | ||
3019 | 3011 | function = FLAT_BOX | ||
3020 | 3012 | state = NORMAL | ||
3021 | 3013 | detail = "cell_even_sorted_middle" | ||
3022 | 3014 | border = {2, 2, 2, 2} | ||
3023 | 3015 | file = "Images/Tree/tree-normal-sorted.png" | ||
3024 | 3016 | stretch = TRUE | ||
3025 | 3017 | } | ||
3026 | 3018 | image | ||
3027 | 3019 | { | ||
3028 | 3020 | function = FLAT_BOX | ||
3029 | 3021 | state = NORMAL | ||
3030 | 3022 | detail = "cell_odd_sorted_middle" | ||
3031 | 3023 | border = {2, 2, 2, 2} | ||
3032 | 3024 | file = "Images/Tree/tree-normal-sorted-odd.png" | ||
3033 | 3025 | stretch = TRUE | ||
3034 | 3026 | } | ||
3035 | 3027 | # End Normal images | ||
3036 | 3028 | image | ||
3037 | 3029 | { | ||
3038 | 3030 | function = FLAT_BOX | ||
3039 | 3031 | state = NORMAL | ||
3040 | 3032 | detail = "cell_even_end" | ||
3041 | 3033 | border = {2, 2, 2, 2} | ||
3042 | 3034 | file = "Images/Tree/tree-normal-end.png" | ||
3043 | 3035 | stretch = TRUE | ||
3044 | 3036 | } | ||
3045 | 3037 | image | ||
3046 | 3038 | { | ||
3047 | 3039 | function = FLAT_BOX | ||
3048 | 3040 | state = NORMAL | ||
3049 | 3041 | detail = "cell_odd_end" | ||
3050 | 3042 | border = {2, 2, 2, 2} | ||
3051 | 3043 | file = "Images/Tree/tree-normal-odd-end.png" | ||
3052 | 3044 | stretch = TRUE | ||
3053 | 3045 | } | ||
3054 | 3046 | image | ||
3055 | 3047 | { | ||
3056 | 3048 | function = FLAT_BOX | ||
3057 | 3049 | state = NORMAL | ||
3058 | 3050 | detail = "cell_even_sorted_end" | ||
3059 | 3051 | border = {2, 2, 2, 2} | ||
3060 | 3052 | file = "Images/Tree/tree-normal-sorted-end.png" | ||
3061 | 3053 | stretch = TRUE | ||
3062 | 3054 | } | ||
3063 | 3055 | image | ||
3064 | 3056 | { | ||
3065 | 3057 | function = FLAT_BOX | ||
3066 | 3058 | state = NORMAL | ||
3067 | 3059 | detail = "cell_odd_sorted_end" | ||
3068 | 3060 | border = {2, 2, 2, 2} | ||
3069 | 3061 | file = "Images/Tree/tree-normal-sorted-odd-end.png" | ||
3070 | 3062 | stretch = TRUE | ||
3071 | 3063 | } | ||
3072 | 3064 | |||
3073 | 3065 | |||
3074 | 3066 | |||
3075 | 3067 | |||
3076 | 3068 | image | ||
3077 | 3069 | { | ||
3078 | 3070 | function = BOX | ||
3079 | 3071 | state = ACTIVE | ||
3080 | 3072 | border = {2,2,2,2} | ||
3081 | 3073 | file = "Images/Tree/selected.png" | ||
3082 | 3074 | stretch = TRUE | ||
3083 | 3075 | } | ||
3084 | 3076 | |||
3085 | 3077 | # this is needed for the progressbars inside treeviews (e.g. Transmission, System Info) | ||
3086 | 3078 | image | ||
3087 | 3079 | { | ||
3088 | 3080 | function = BOX | ||
3089 | 3081 | state = SELECTED | ||
3090 | 3082 | border = {2,2,2,2} | ||
3091 | 3083 | file = "Images/Tree/selected-active.png" | ||
3092 | 3084 | stretch = TRUE | ||
3093 | 3085 | } | ||
3094 | 3086 | } | ||
3095 | 3087 | } | ||
3096 | 3088 | |||
3097 | 3089 | |||
3098 | 3090 | #========================================================= | ||
3099 | 3091 | # Treeview in Nautilus SidePane | ||
3100 | 3092 | #========================================================= | ||
3101 | 3093 | style "newwave-treeview-nautilus-sidebar" | ||
3102 | 3094 | { | ||
3103 | 3095 | |||
3104 | 3096 | # make unfocused items have different text color but darker than in standard treeviews | ||
3105 | 3097 | text[ACTIVE] = shade(0.33, @selected_bg_color) | ||
3106 | 3098 | text[SELECTED] = @text_color | ||
3107 | 3099 | |||
3108 | 3100 | bg[NORMAL] = "#ffffff" # Color of sorted columns | ||
3109 | 3101 | bg[SELECTED] = @selected_bg_color | ||
3110 | 3102 | |||
3111 | 3103 | engine "pixmap" | ||
3112 | 3104 | { | ||
3113 | 3105 | |||
3114 | 3106 | # Focus Images in treeviews | ||
3115 | 3107 | #======================================================== | ||
3116 | 3108 | |||
3117 | 3109 | |||
3118 | 3110 | # Focus for the drop item - indicator | ||
3119 | 3111 | image | ||
3120 | 3112 | { | ||
3121 | 3113 | function = FOCUS | ||
3122 | 3114 | detail = "treeview-drop-indicator" | ||
3123 | 3115 | file = "Images/Tree/dropindicator-sidebar.png" | ||
3124 | 3116 | border = {2, 6, 2, 2} | ||
3125 | 3117 | stretch = TRUE | ||
3126 | 3118 | } | ||
3127 | 3119 | |||
3128 | 3120 | # Focus for the seleced row | ||
3129 | 3121 | image | ||
3130 | 3122 | { | ||
3131 | 3123 | function = FOCUS | ||
3132 | 3124 | detail = "treeview" | ||
3133 | 3125 | file = "Images/Tree/row-focus-sidebar.png" | ||
3134 | 3126 | border = {3, 6, 3, 3 } | ||
3135 | 3127 | stretch = TRUE | ||
3136 | 3128 | } | ||
3137 | 3129 | |||
3138 | 3130 | # Focus for the whole empty treeview | ||
3139 | 3131 | image | ||
3140 | 3132 | { | ||
3141 | 3133 | function = FOCUS | ||
3142 | 3134 | recolorable = TRUE | ||
3143 | 3135 | file = "Images/Tree/tree-empty-focus.png" | ||
3144 | 3136 | border = {3, 3, 3, 3 } | ||
3145 | 3137 | stretch = TRUE | ||
3146 | 3138 | } | ||
3147 | 3139 | |||
3148 | 3140 | |||
3149 | 3141 | # This is for treeviews with only one column | ||
3150 | 3142 | image | ||
3151 | 3143 | { | ||
3152 | 3144 | function = FLAT_BOX | ||
3153 | 3145 | state = SELECTED | ||
3154 | 3146 | border = {2, 6, 2, 2} | ||
3155 | 3147 | file = "Images/Tree/selected-sidebar.png" | ||
3156 | 3148 | stretch = TRUE | ||
3157 | 3149 | } | ||
3158 | 3150 | |||
3159 | 3151 | # this is needed for the progressbars inside treeviews (e.g. Transmission, System Info) | ||
3160 | 3152 | image | ||
3161 | 3153 | { | ||
3162 | 3154 | function = BOX | ||
3163 | 3155 | state = SELECTED | ||
3164 | 3156 | border = {2,2,2,2} | ||
3165 | 3157 | file = "Images/Tree/selected-active.png" | ||
3166 | 3158 | stretch = TRUE | ||
3167 | 3159 | } | ||
3168 | 3160 | } | ||
3169 | 3161 | } | ||
3170 | 3162 | |||
3171 | 3163 | style "newwave-treeview-header" = "newwave-default" | ||
3172 | 3164 | { | ||
3173 | 3165 | bg[SELECTED] = mix(0.50, shade (1.05,@selected_bg_color), @tooltip_bg_color) | ||
3174 | 3166 | |||
3175 | 3167 | GtkButton::interior_focus = 1 | ||
3176 | 3168 | GtkButton::focus_padding = 0 | ||
3177 | 3169 | |||
3178 | 3170 | # Make it vertical | ||
3179 | 3171 | GtkButton::child_displacement_x = 0 | ||
3180 | 3172 | GtkButton::child_displacement_y = 1 | ||
3181 | 3173 | |||
3182 | 3174 | engine "pixmap" | ||
3183 | 3175 | { | ||
3184 | 3176 | |||
3185 | 3177 | image | ||
3186 | 3178 | { | ||
3187 | 3179 | function = FOCUS | ||
3188 | 3180 | recolorable = TRUE | ||
3189 | 3181 | file = "Images/ListHeaders/list_header-focus.png" | ||
3190 | 3182 | border = { 2, 2, 2, 2 } | ||
3191 | 3183 | stretch = TRUE | ||
3192 | 3184 | } | ||
3193 | 3185 | |||
3194 | 3186 | |||
3195 | 3187 | image | ||
3196 | 3188 | { | ||
3197 | 3189 | function = BOX | ||
3198 | 3190 | recolorable = TRUE | ||
3199 | 3191 | state = NORMAL | ||
3200 | 3192 | file = "Images/ListHeaders/list_header.png" | ||
3201 | 3193 | border = { 2, 2, 2, 2 } | ||
3202 | 3194 | stretch = TRUE | ||
3203 | 3195 | } | ||
3204 | 3196 | |||
3205 | 3197 | image | ||
3206 | 3198 | { | ||
3207 | 3199 | function = BOX | ||
3208 | 3200 | recolorable = TRUE | ||
3209 | 3201 | state = PRELIGHT | ||
3210 | 3202 | file = "Images/ListHeaders/list_header-prelight.png" | ||
3211 | 3203 | border = { 2, 2, 2, 2 } | ||
3212 | 3204 | stretch = TRUE | ||
3213 | 3205 | } | ||
3214 | 3206 | |||
3215 | 3207 | image | ||
3216 | 3208 | { | ||
3217 | 3209 | function = BOX | ||
3218 | 3210 | recolorable = TRUE | ||
3219 | 3211 | state = INSENSITIVE | ||
3220 | 3212 | file = "Images/ListHeaders/list_header-insens.png" | ||
3221 | 3213 | border = { 2, 2, 2, 2 } | ||
3222 | 3214 | stretch = TRUE | ||
3223 | 3215 | } | ||
3224 | 3216 | |||
3225 | 3217 | #Does this do anything? | ||
3226 | 3218 | |||
3227 | 3219 | image | ||
3228 | 3220 | { | ||
3229 | 3221 | function = BOX | ||
3230 | 3222 | recolorable = TRUE | ||
3231 | 3223 | state = ACTIVE | ||
3232 | 3224 | file = "Images/ListHeaders/list_header-pressed.png" | ||
3233 | 3225 | border = { 2, 2, 2, 2} | ||
3234 | 3226 | stretch = TRUE | ||
3235 | 3227 | } | ||
3236 | 3228 | image | ||
3237 | 3229 | { | ||
3238 | 3230 | function = BOX | ||
3239 | 3231 | recolorable = TRUE | ||
3240 | 3232 | state = SELECTED | ||
3241 | 3233 | file = "Images/ListHeaders/list_header-prelight.png" | ||
3242 | 3234 | border = { 2, 2, 2, 2 } | ||
3243 | 3235 | stretch = TRUE | ||
3244 | 3236 | } | ||
3245 | 3237 | |||
3246 | 3238 | } | ||
3247 | 3239 | #widget_class "*List" style "newwave-treeview-header" | ||
3248 | 3240 | #widget_class "*GtkTree*" style "newwave-treeview-header" | ||
3249 | 3241 | #widget_class "*GtkCList*" style "newwave-treeview-header" | ||
3250 | 3242 | #widget_class "*Tree*" style "list-header" | ||
3251 | 3243 | } | ||
3252 | 3244 | |||
3253 | 3245 | #========================================================= | ||
3254 | 3246 | # Notebook | ||
3255 | 3247 | #========================================================= | ||
3256 | 3248 | |||
3257 | 3249 | style "newwave-notebook" | ||
3258 | 3250 | { | ||
3259 | 3251 | GtkNotebook::tab-overlap = 6 | ||
3260 | 3252 | GtkNotebook::tab-curvature = 3 | ||
3261 | 3253 | |||
3262 | 3254 | xthickness = 4 | ||
3263 | 3255 | ythickness = 3 | ||
3264 | 3256 | |||
3265 | 3257 | engine "pixmap" | ||
3266 | 3258 | { | ||
3267 | 3259 | # Focus - not currently working | ||
3268 | 3260 | #============================= | ||
3269 | 3261 | image | ||
3270 | 3262 | { | ||
3271 | 3263 | function = FOCUS | ||
3272 | 3264 | recolorable = TRUE | ||
3273 | 3265 | detail = "tab" | ||
3274 | 3266 | file = "Images/Tabs/tab-focus.png" | ||
3275 | 3267 | border = { 4,4,4,4} | ||
3276 | 3268 | stretch = TRUE | ||
3277 | 3269 | } | ||
3278 | 3270 | |||
3279 | 3271 | |||
3280 | 3272 | # Tabs | ||
3281 | 3273 | #============================= | ||
3282 | 3274 | image | ||
3283 | 3275 | { | ||
3284 | 3276 | function = EXTENSION | ||
3285 | 3277 | recolorable = TRUE | ||
3286 | 3278 | state = ACTIVE | ||
3287 | 3279 | file = "Images/Tabs/tab-bottom.png" | ||
3288 | 3280 | border = { 3,3,1,3} | ||
3289 | 3281 | stretch = TRUE | ||
3290 | 3282 | gap_side = TOP | ||
3291 | 3283 | } | ||
3292 | 3284 | image | ||
3293 | 3285 | { | ||
3294 | 3286 | function = EXTENSION | ||
3295 | 3287 | recolorable = TRUE | ||
3296 | 3288 | detail = "tab" | ||
3297 | 3289 | state = ACTIVE | ||
3298 | 3290 | file = "Images/Tabs/tab-top.png" | ||
3299 | 3291 | border = { 3,3,3,1} | ||
3300 | 3292 | stretch = TRUE | ||
3301 | 3293 | gap_side = BOTTOM | ||
3302 | 3294 | } | ||
3303 | 3295 | image | ||
3304 | 3296 | { | ||
3305 | 3297 | function = EXTENSION | ||
3306 | 3298 | recolorable = TRUE | ||
3307 | 3299 | state = ACTIVE | ||
3308 | 3300 | file = "Images/Tabs/tab-left.png" | ||
3309 | 3301 | border = { 3,1,3,3} | ||
3310 | 3302 | stretch = TRUE | ||
3311 | 3303 | gap_side = RIGHT | ||
3312 | 3304 | } | ||
3313 | 3305 | image | ||
3314 | 3306 | { | ||
3315 | 3307 | function = EXTENSION | ||
3316 | 3308 | recolorable = TRUE | ||
3317 | 3309 | state = ACTIVE | ||
3318 | 3310 | file = "Images/Tabs/tab-right.png" | ||
3319 | 3311 | border = { 1,3,3,3} | ||
3320 | 3312 | stretch = TRUE | ||
3321 | 3313 | gap_side = LEFT | ||
3322 | 3314 | } | ||
3323 | 3315 | |||
3324 | 3316 | |||
3325 | 3317 | image | ||
3326 | 3318 | { | ||
3327 | 3319 | function = EXTENSION | ||
3328 | 3320 | recolorable = TRUE | ||
3329 | 3321 | detail = "tab" | ||
3330 | 3322 | file = "Images/Tabs/tab-top-active.png" | ||
3331 | 3323 | border = { 3, 3, 5, 1} | ||
3332 | 3324 | stretch = TRUE | ||
3333 | 3325 | gap_side = BOTTOM | ||
3334 | 3326 | } | ||
3335 | 3327 | image | ||
3336 | 3328 | { | ||
3337 | 3329 | function = EXTENSION | ||
3338 | 3330 | recolorable = TRUE | ||
3339 | 3331 | file = "Images/Tabs/tab-bottom-active.png" | ||
3340 | 3332 | detail = "tab" | ||
3341 | 3333 | border = { 3, 3, 1, 5} | ||
3342 | 3334 | stretch = TRUE | ||
3343 | 3335 | gap_side = TOP | ||
3344 | 3336 | } | ||
3345 | 3337 | image | ||
3346 | 3338 | { | ||
3347 | 3339 | function = EXTENSION | ||
3348 | 3340 | recolorable = TRUE | ||
3349 | 3341 | detail = "tab" | ||
3350 | 3342 | file = "Images/Tabs/tab-left-active.png" | ||
3351 | 3343 | border = { 5, 1, 3, 3} | ||
3352 | 3344 | stretch = TRUE | ||
3353 | 3345 | gap_side = RIGHT | ||
3354 | 3346 | } | ||
3355 | 3347 | image | ||
3356 | 3348 | { | ||
3357 | 3349 | function = EXTENSION | ||
3358 | 3350 | recolorable = TRUE | ||
3359 | 3351 | detail = "tab" | ||
3360 | 3352 | file = "Images/Tabs/tab-right-active.png" | ||
3361 | 3353 | border = { 1, 5, 3, 3} | ||
3362 | 3354 | stretch = TRUE | ||
3363 | 3355 | gap_side = LEFT | ||
3364 | 3356 | } | ||
3365 | 3357 | |||
3366 | 3358 | # Tab containers | ||
3367 | 3359 | #============================= | ||
3368 | 3360 | image | ||
3369 | 3361 | { | ||
3370 | 3362 | function = BOX_GAP | ||
3371 | 3363 | recolorable = TRUE | ||
3372 | 3364 | file = "Images/Tabs/notebook-top.png" | ||
3373 | 3365 | border = { 4, 4, 4, 4 } | ||
3374 | 3366 | stretch = TRUE | ||
3375 | 3367 | gap_file = "Images/Tabs/null-top.png" | ||
3376 | 3368 | gap_border = { 3, 3, 2, 2 } | ||
3377 | 3369 | gap_start_file = "Images/Tabs/top-gap-start.png" | ||
3378 | 3370 | gap_start_border = { 2, 2, 3, 3 } | ||
3379 | 3371 | gap_end_file = "Images/Tabs/top-gap-end.png" | ||
3380 | 3372 | gap_end_border = { 2, 2, 3, 3 } | ||
3381 | 3373 | gap_side = TOP | ||
3382 | 3374 | } | ||
3383 | 3375 | image | ||
3384 | 3376 | { | ||
3385 | 3377 | function = BOX_GAP | ||
3386 | 3378 | recolorable = TRUE | ||
3387 | 3379 | file = "Images/Tabs/notebook-bottom.png" | ||
3388 | 3380 | border = { 4, 4, 4, 4 } | ||
3389 | 3381 | stretch = TRUE | ||
3390 | 3382 | gap_file = "Images/Tabs/null-bottom.png" | ||
3391 | 3383 | gap_border = { 5, 5, 5, 5 } | ||
3392 | 3384 | gap_start_file = "Images/Tabs/bottom-gap-start.png" | ||
3393 | 3385 | gap_start_border = { 2, 2, 3, 3 } | ||
3394 | 3386 | gap_end_file = "Images/Tabs/bottom-gap-end.png" | ||
3395 | 3387 | gap_end_border = { 2, 2, 3, 3 } | ||
3396 | 3388 | gap_side = BOTTOM | ||
3397 | 3389 | } | ||
3398 | 3390 | image | ||
3399 | 3391 | { | ||
3400 | 3392 | function = BOX_GAP | ||
3401 | 3393 | recolorable = TRUE | ||
3402 | 3394 | file = "Images/Tabs/notebook-left.png" | ||
3403 | 3395 | border = { 2, 4, 4, 4 } | ||
3404 | 3396 | stretch = TRUE | ||
3405 | 3397 | gap_file = "Images/Tabs/null-left.png" | ||
3406 | 3398 | gap_border = { 2, 2, 2, 2 } | ||
3407 | 3399 | gap_start_file = "Images/Tabs/left-gap-start.png" | ||
3408 | 3400 | gap_start_border = { 3, 2, 3, 2 } | ||
3409 | 3401 | gap_end_file = "Images/Tabs/left-gap-end.png" | ||
3410 | 3402 | gap_end_border = { 3, 2, 2, 3 } | ||
3411 | 3403 | gap_side = LEFT | ||
3412 | 3404 | } | ||
3413 | 3405 | image | ||
3414 | 3406 | { | ||
3415 | 3407 | function = BOX_GAP | ||
3416 | 3408 | recolorable = TRUE | ||
3417 | 3409 | file = "Images/Tabs/notebook-right.png" | ||
3418 | 3410 | border = { 4, 2, 4, 4 } | ||
3419 | 3411 | stretch = TRUE | ||
3420 | 3412 | gap_file = "Images/Tabs/null-right.png" | ||
3421 | 3413 | gap_border = { 1, 1, 3, 3 } | ||
3422 | 3414 | gap_start_file = "Images/Tabs/right-gap-start.png" | ||
3423 | 3415 | gap_start_border = { 2, 3, 3, 2 } #{ 2, 3, 2, 3 } | ||
3424 | 3416 | gap_end_file = "Images/Tabs/right-gap-end.png" | ||
3425 | 3417 | gap_end_border = { 2, 3, 2, 3 } | ||
3426 | 3418 | gap_side = RIGHT | ||
3427 | 3419 | } | ||
3428 | 3420 | |||
3429 | 3421 | # No Tabs | ||
3430 | 3422 | #============================= | ||
3431 | 3423 | image | ||
3432 | 3424 | { | ||
3433 | 3425 | function = BOX | ||
3434 | 3426 | recolorable = TRUE | ||
3435 | 3427 | file = "Images/Tabs/notebook-top.png" | ||
3436 | 3428 | border = { 5, 5, 6, 5 } | ||
3437 | 3429 | stretch = TRUE | ||
3438 | 3430 | #gap_side = TOP | ||
3439 | 3431 | } | ||
3440 | 3432 | } | ||
3441 | 3433 | } | ||
3442 | 3434 | |||
3443 | 3435 | |||
3444 | 3436 | |||
3445 | 3437 | #========================================================= | ||
3446 | 3438 | # Metacity title | ||
3447 | 3439 | #========================================================= | ||
3448 | 3440 | style "newwave-frame-title" | ||
3449 | 3441 | { | ||
3450 | 3442 | fg[NORMAL] = lighter (@fg_color) | ||
3451 | 3443 | } | ||
3452 | 3444 | |||
3453 | 3445 | |||
3454 | 3446 | #========================================================= | ||
3455 | 3447 | # Tooltips | ||
3456 | 3448 | #========================================================= | ||
3457 | 3449 | style "newwave-tooltips" = "newwave-wider" | ||
3458 | 3450 | { | ||
3459 | 3451 | |||
3460 | 3452 | fg[NORMAL] = @tooltip_fg_color | ||
3461 | 3453 | |||
3462 | 3454 | bg[NORMAL] = @tooltip_bg_color | ||
3463 | 3455 | bg[SELECTED] = darker(@tooltip_bg_color) | ||
3464 | 3456 | bg[ACTIVE] = darker(@tooltip_bg_color) | ||
3465 | 3457 | |||
3466 | 3458 | engine "pixmap" | ||
3467 | 3459 | { | ||
3468 | 3460 | image | ||
3469 | 3461 | { | ||
3470 | 3462 | function = FLAT_BOX | ||
3471 | 3463 | recolorable = TRUE | ||
3472 | 3464 | file = "Images/Others/tooltip.png" | ||
3473 | 3465 | border = {3, 3, 3, 3} | ||
3474 | 3466 | stretch = TRUE | ||
3475 | 3467 | } | ||
3476 | 3468 | } | ||
3477 | 3469 | } | ||
3478 | 3470 | |||
3479 | 3471 | #========================================================= | ||
3480 | 3472 | # Statusbar | ||
3481 | 3473 | #========================================================= | ||
3482 | 3474 | style "newwave-statusbar" | ||
3483 | 3475 | { | ||
3484 | 3476 | xthickness = 0 | ||
3485 | 3477 | ythickness = 0 | ||
3486 | 3478 | |||
3487 | 3479 | bg[NORMAL] = @bg_color | ||
3488 | 3480 | #fg[ACTIVE] = shade (0.8, @bg_color) | ||
3489 | 3481 | #text[NORMAL] = shade (0.8, @bg_color) | ||
3490 | 3482 | |||
3491 | 3483 | engine "pixmap" | ||
3492 | 3484 | { | ||
3493 | 3485 | image | ||
3494 | 3486 | { | ||
3495 | 3487 | function = RESIZE_GRIP | ||
3496 | 3488 | recolorable = TRUE | ||
3497 | 3489 | detail = "statusbar" | ||
3498 | 3490 | overlay_file = "Images/Others/statusgrip.png" | ||
3499 | 3491 | overlay_border = { 0 , 0 , 0 , 0} | ||
3500 | 3492 | overlay_stretch = TRUE | ||
3501 | 3493 | } | ||
3502 | 3494 | } | ||
3503 | 3495 | } | ||
3504 | 3496 | |||
3505 | 3497 | #========================================================= | ||
3506 | 3498 | # Scale | ||
3507 | 3499 | #========================================================= | ||
3508 | 3500 | style "newwave-scale" = "newwave-range" | ||
3509 | 3501 | { | ||
3510 | 3502 | #engine "clearlooks" | ||
3511 | 3503 | #{ | ||
3512 | 3504 | # hint = "scale" | ||
3513 | 3505 | # style = CLASSIC | ||
3514 | 3506 | #} | ||
3515 | 3507 | } | ||
3516 | 3508 | |||
3517 | 3509 | style "newwave-hscale" | ||
3518 | 3510 | { | ||
3519 | 3511 | #engine "clearlooks" | ||
3520 | 3512 | #{ | ||
3521 | 3513 | # hint = "hscale" | ||
3522 | 3514 | #} | ||
3523 | 3515 | } | ||
3524 | 3516 | |||
3525 | 3517 | style "newwave-vscale" | ||
3526 | 3518 | { | ||
3527 | 3519 | #engine "clearlooks" | ||
3528 | 3520 | #{ | ||
3529 | 3521 | # hint = "vscale" | ||
3530 | 3522 | #} | ||
3531 | 3523 | } | ||
3532 | 3524 | |||
3533 | 3525 | #========================================================= | ||
3534 | 3526 | # Menu system | ||
3535 | 3527 | #========================================================= | ||
3536 | 3528 | |||
3537 | 3529 | style "newwave-menubar" = "newwave-wider" | ||
3538 | 3530 | { | ||
3539 | 3531 | xthickness = 2 | ||
3540 | 3532 | ythickness = 2 | ||
3541 | 3533 | |||
3542 | 3534 | fg[NORMAL] = @bg_color | ||
3543 | 3535 | fg[PRELIGHT] = lighter(@text_color) | ||
3544 | 3536 | fg[ACTIVE] =@text_color | ||
3545 | 3537 | fg[INSENSITIVE] = shade(0.32 , @bg_color) | ||
3546 | 3538 | |||
3547 | 3539 | bg[NORMAL] = "#5D5D5D" #Replace "#696969" with smth darker to make menubar less visible when loading windows in v. 0.7.x # @author:dilomo@ old value in v0.5.6 "#5f5f5f" | ||
3548 | 3540 | |||
3549 | 3541 | bg[PRELIGHT] = darker(@bg_color) | ||
3550 | 3542 | bg[ACTIVE] = darker(@bg_color) | ||
3551 | 3543 | # @author:gp@ Improve consistency between active-menu-item and menu-background. | ||
3552 | 3544 | bg[SELECTED] = shade ( 0.97, @bg_color) #(old value for shade: 0.90) | ||
3553 | 3545 | |||
3554 | 3546 | # @author:dilomo@ We don't need this anymore as we use the better pixmap | ||
3555 | 3547 | # engine which could even stretch the shadow and fix several issues with VLC and thunderbird | ||
3556 | 3548 | #bg_pixmap[NORMAL] = "Images/MenuMenubar/MenuBar.png" | ||
3557 | 3549 | |||
3558 | 3550 | |||
3559 | 3551 | engine "pixmap" | ||
3560 | 3552 | { | ||
3561 | 3553 | image | ||
3562 | 3554 | { | ||
3563 | 3555 | function = BOX | ||
3564 | 3556 | state = NORMAL | ||
3565 | 3557 | file = "Images/MenuMenubar/MenuBarBg.png" | ||
3566 | 3558 | stretch = TRUE | ||
3567 | 3559 | border = { 1, 1, 1, 2 } | ||
3568 | 3560 | #overlay_file = "Images/MenuMenubar/MenuBar.png" | ||
3569 | 3561 | #overlay_stretch = TRUE | ||
3570 | 3562 | |||
3571 | 3563 | } | ||
3572 | 3564 | |||
3573 | 3565 | image | ||
3574 | 3566 | { | ||
3575 | 3567 | function = BOX | ||
3576 | 3568 | state = ACTIVE | ||
3577 | 3569 | file = "Images/MenuMenubar/MenuBarBg.png" | ||
3578 | 3570 | stretch = TRUE | ||
3579 | 3571 | border = { 1, 1, 1, 2 } | ||
3580 | 3572 | #overlay_file = "Images/MenuMenubar/MenuBar.png" | ||
3581 | 3573 | #overlay_stretch = TRUE | ||
3582 | 3574 | } | ||
3583 | 3575 | |||
3584 | 3576 | |||
3585 | 3577 | image | ||
3586 | 3578 | { | ||
3587 | 3579 | function = BOX | ||
3588 | 3580 | state = INSENSITIVE | ||
3589 | 3581 | file = "Images/MenuMenubar/MenuBarBg.png" | ||
3590 | 3582 | stretch = TRUE | ||
3591 | 3583 | border = { 1, 1, 1, 2 } | ||
3592 | 3584 | #overlay_file = "Images/MenuMenubar/MenuBar.png" | ||
3593 | 3585 | #overlay_stretch = TRUE | ||
3594 | 3586 | } | ||
3595 | 3587 | |||
3596 | 3588 | image | ||
3597 | 3589 | { | ||
3598 | 3590 | function = BOX | ||
3599 | 3591 | recolorable = TRUE | ||
3600 | 3592 | state = PRELIGHT | ||
3601 | 3593 | file = "Images/MenuMenubar/menubar-item.png" | ||
3602 | 3594 | border = { 2, 2, 4, 2 } | ||
3603 | 3595 | stretch = TRUE | ||
3604 | 3596 | } | ||
3605 | 3597 | } | ||
3606 | 3598 | } | ||
3607 | 3599 | |||
3608 | 3600 | style "newwave-menu" | ||
3609 | 3601 | { | ||
3610 | 3602 | xthickness = 1 | ||
3611 | 3603 | ythickness = 3 | ||
3612 | 3604 | |||
3613 | 3605 | bg[NORMAL] = "#F7F7F7" | ||
3614 | 3606 | |||
3615 | 3607 | base[NORMAL] = "#F7F7F7" | ||
3616 | 3608 | |||
3617 | 3609 | fg[NORMAL] = shade(0.3, "#696969") | ||
3618 | 3610 | fg[PRELIGHT] = @text_color | ||
3619 | 3611 | fg[ACTIVE] = @text_color | ||
3620 | 3612 | fg[SELECTED] = @text_color | ||
3621 | 3613 | |||
3622 | 3614 | text[NORMAL] = @text_color | ||
3623 | 3615 | text[PRELIGHT] = @text_color | ||
3624 | 3616 | text[ACTIVE] = @text_color | ||
3625 | 3617 | text[SELECTED] = @text_color | ||
3626 | 3618 | text[INSENSITIVE] = "#696969" | ||
3627 | 3619 | |||
3628 | 3620 | #Dark scheme | ||
3629 | 3621 | #fg[NORMAL] = @bg_color | ||
3630 | 3622 | #fg[PRELIGHT] = lighter(@bg_color) | ||
3631 | 3623 | #fg[ACTIVE] = lighter(@bg_color) | ||
3632 | 3624 | #fg[SELECTED] = lighter(@bg_color) | ||
3633 | 3625 | #fg[INSENSITIVE] = darker("#7a7878") | ||
3634 | 3626 | |||
3635 | 3627 | #bg[NORMAL] = "#7a7878" | ||
3636 | 3628 | #bg[PRELIGHT] = "#7a7878" | ||
3637 | 3629 | #bg[ACTIVE] = "#7a7878" | ||
3638 | 3630 | #bg[SELECTED] = darker("#7a7878") | ||
3639 | 3631 | |||
3640 | 3632 | |||
3641 | 3633 | engine "pixmap" | ||
3642 | 3634 | { | ||
3643 | 3635 | image | ||
3644 | 3636 | { | ||
3645 | 3637 | function = BOX | ||
3646 | 3638 | recolorable = TRUE | ||
3647 | 3639 | detail = "menu" | ||
3648 | 3640 | shadow = OUT | ||
3649 | 3641 | file = "Images/MenuMenubar/combomenu.png" #used because is darker and once the original | ||
3650 | 3642 | border = { 1, 1, 2, 1 } | ||
3651 | 3643 | stretch = TRUE | ||
3652 | 3644 | } | ||
3653 | 3645 | } | ||
3654 | 3646 | } | ||
3655 | 3647 | |||
3656 | 3648 | style "newwave-menu-item" | ||
3657 | 3649 | { | ||
3658 | 3650 | xthickness = 0 | ||
3659 | 3651 | ythickness = 3 | ||
3660 | 3652 | |||
3661 | 3653 | #Dark scheme | ||
3662 | 3654 | #fg[NORMAL] = "#ffffff" #shade(1.12, @bg_color) | ||
3663 | 3655 | #fg[PRELIGHT] = @fg_color | ||
3664 | 3656 | #fg[INSENSITIVE] = darker("#696969") | ||
3665 | 3657 | |||
3666 | 3658 | #bg[NORMAL] = "#696969" | ||
3667 | 3659 | #bg[ACTIVE] = shade(1.05,"#696969") | ||
3668 | 3660 | #bg[SELECTED] = shade(1.05,"#696969") | ||
3669 | 3661 | #bg[INSENSITIVE] = "#696969" | ||
3670 | 3662 | |||
3671 | 3663 | |||
3672 | 3664 | engine "pixmap" | ||
3673 | 3665 | { | ||
3674 | 3666 | image | ||
3675 | 3667 | { | ||
3676 | 3668 | function = BOX | ||
3677 | 3669 | recolorable = TRUE | ||
3678 | 3670 | file = "Images/MenuMenubar/menuitem.png" | ||
3679 | 3671 | border = { 4, 4, 4, 4 } | ||
3680 | 3672 | stretch = TRUE | ||
3681 | 3673 | } | ||
3682 | 3674 | image | ||
3683 | 3675 | { | ||
3684 | 3676 | function = ARROW | ||
3685 | 3677 | recolorable = TRUE | ||
3686 | 3678 | state = NORMAL | ||
3687 | 3679 | overlay_file = "Images/Arrows/arrow-right.png" | ||
3688 | 3680 | overlay_stretch = FALSE | ||
3689 | 3681 | arrow_direction = RIGHT | ||
3690 | 3682 | } | ||
3691 | 3683 | image | ||
3692 | 3684 | { | ||
3693 | 3685 | function = ARROW | ||
3694 | 3686 | recolorable = TRUE | ||
3695 | 3687 | state = PRELIGHT | ||
3696 | 3688 | overlay_file = "Images/Arrows/arrow-right-prelight.png" | ||
3697 | 3689 | overlay_stretch = FALSE | ||
3698 | 3690 | arrow_direction = RIGHT | ||
3699 | 3691 | } | ||
3700 | 3692 | image | ||
3701 | 3693 | { | ||
3702 | 3694 | function = ARROW | ||
3703 | 3695 | recolorable = TRUE | ||
3704 | 3696 | state = INSENSITIVE | ||
3705 | 3697 | overlay_file = "Images/Arrows/arrow-right-insens.png" | ||
3706 | 3698 | overlay_stretch = FALSE | ||
3707 | 3699 | arrow_direction = RIGHT | ||
3708 | 3700 | } | ||
3709 | 3701 | |||
3710 | 3702 | } | ||
3711 | 3703 | |||
3712 | 3704 | |||
3713 | 3705 | } | ||
3714 | 3706 | |||
3715 | 3707 | style "newwave-tearoff-menu-item" = "newwave-menu-item" | ||
3716 | 3708 | { | ||
3717 | 3709 | engine "pixmap" | ||
3718 | 3710 | { | ||
3719 | 3711 | image | ||
3720 | 3712 | { | ||
3721 | 3713 | function = ARROW | ||
3722 | 3714 | file = "Images/Arrows/arrow-left.png" | ||
3723 | 3715 | stretch = TRUE | ||
3724 | 3716 | arrow_direction = LEFT | ||
3725 | 3717 | } | ||
3726 | 3718 | } | ||
3727 | 3719 | } | ||
3728 | 3720 | |||
3729 | 3721 | style "newwave-separator-menu-item" | ||
3730 | 3722 | { | ||
3731 | 3723 | xthickness = 1 | ||
3732 | 3724 | ythickness = 2 | ||
3733 | 3725 | |||
3734 | 3726 | engine "pixmap" | ||
3735 | 3727 | { | ||
3736 | 3728 | image | ||
3737 | 3729 | { | ||
3738 | 3730 | function = HLINE | ||
3739 | 3731 | recolorable = TRUE | ||
3740 | 3732 | file = "Images/MenuMenubar/MenuLine.png" | ||
3741 | 3733 | border = { 1, 1, 1, 1 } | ||
3742 | 3734 | stretch = TRUE | ||
3743 | 3735 | } | ||
3744 | 3736 | } | ||
3745 | 3737 | } | ||
3746 | 3738 | |||
3747 | 3739 | #========================================================= | ||
3748 | 3740 | # Main Menu | ||
3749 | 3741 | #========================================================= | ||
3750 | 3742 | style "newwave-panelmenubar" | ||
3751 | 3743 | { | ||
3752 | 3744 | |||
3753 | 3745 | # @author:dilomo@ fix the overlay of the main menu | ||
3754 | 3746 | #bg_pixmap[NORMAL] = "Images/MenuMenubar/null.png" | ||
3755 | 3747 | |||
3756 | 3748 | |||
3757 | 3749 | #use anoter file for menus | ||
3758 | 3750 | engine "pixmap" | ||
3759 | 3751 | { | ||
3760 | 3752 | image | ||
3761 | 3753 | { | ||
3762 | 3754 | #use anoter file for menus | ||
3763 | 3755 | function = BOX | ||
3764 | 3756 | state = PRELIGHT | ||
3765 | 3757 | recolorable = TRUE | ||
3766 | 3758 | file = "Images/MenuMenubar/panel-menubar-item.png" | ||
3767 | 3759 | border = { 4 , 4 , 4 , 4} | ||
3768 | 3760 | stretch = TRUE | ||
3769 | 3761 | } | ||
3770 | 3762 | image | ||
3771 | 3763 | { | ||
3772 | 3764 | #use transparent file for bg | ||
3773 | 3765 | function = BOX | ||
3774 | 3766 | state = NORMAL | ||
3775 | 3767 | recolorable = TRUE | ||
3776 | 3768 | file = "Images/MenuMenubar/null.png" | ||
3777 | 3769 | border = { 0 , 0 , 0 , 0} | ||
3778 | 3770 | stretch = TRUE | ||
3779 | 3771 | } | ||
3780 | 3772 | image | ||
3781 | 3773 | { | ||
3782 | 3774 | #use transparent file for bg | ||
3783 | 3775 | function = BOX | ||
3784 | 3776 | state = INSENSITIVE | ||
3785 | 3777 | recolorable = TRUE | ||
3786 | 3778 | file = "Images/MenuMenubar/null.png" | ||
3787 | 3779 | border = { 0 , 0 , 0 , 0} | ||
3788 | 3780 | stretch = TRUE | ||
3789 | 3781 | } | ||
3790 | 3782 | } | ||
3791 | 3783 | } | ||
3792 | 3784 | |||
3793 | 3785 | # soon a widget <main-menu-name> match will replace and solcve this | ||
3794 | 3786 | widget_class "*Panel*MenuBar*" style :highest "newwave-panelmenubar" | ||
3795 | 3787 | |||
3796 | 3788 | |||
3797 | 3789 | # This had to make the main menu whit white bg (not working yet but will in Ibex) | ||
3798 | 3790 | style "newwave-panelmenu-item" | ||
3799 | 3791 | { | ||
3800 | 3792 | bg[NORMAL] = "#ffffff" | ||
3801 | 3793 | |||
3802 | 3794 | base[NORMAL] = "#ffffff" | ||
3803 | 3795 | |||
3804 | 3796 | fg[NORMAL] = shade(0.3, "#696969") | ||
3805 | 3797 | fg[PRELIGHT] = @text_color | ||
3806 | 3798 | fg[ACTIVE] = @text_color | ||
3807 | 3799 | fg[SELECTED] = @text_color | ||
3808 | 3800 | |||
3809 | 3801 | text[NORMAL] = @text_color | ||
3810 | 3802 | text[PRELIGHT] = @text_color | ||
3811 | 3803 | text[ACTIVE] = @text_color | ||
3812 | 3804 | text[SELECTED] = @text_color | ||
3813 | 3805 | text[INSENSITIVE] = "#696969" | ||
3814 | 3806 | |||
3815 | 3807 | engine "pixmap" | ||
3816 | 3808 | { | ||
3817 | 3809 | image | ||
3818 | 3810 | { | ||
3819 | 3811 | function = BOX | ||
3820 | 3812 | recolorable = TRUE | ||
3821 | 3813 | file = "Images/MenuMenubar/menuitem.png" | ||
3822 | 3814 | border = { 2, 2, 2, 2 } | ||
3823 | 3815 | stretch = TRUE | ||
3824 | 3816 | } | ||
3825 | 3817 | image | ||
3826 | 3818 | { | ||
3827 | 3819 | function = ARROW | ||
3828 | 3820 | recolorable = TRUE | ||
3829 | 3821 | state = NORMAL | ||
3830 | 3822 | overlay_file = "Images/Arrows/arrow-right.png" | ||
3831 | 3823 | overlay_stretch = FALSE | ||
3832 | 3824 | arrow_direction = RIGHT | ||
3833 | 3825 | } | ||
3834 | 3826 | image | ||
3835 | 3827 | { | ||
3836 | 3828 | function = ARROW | ||
3837 | 3829 | recolorable = TRUE | ||
3838 | 3830 | state = PRELIGHT | ||
3839 | 3831 | overlay_file = "Images/Arrows/arrow-right-prelight.png" | ||
3840 | 3832 | overlay_stretch = FALSE | ||
3841 | 3833 | arrow_direction = RIGHT | ||
3842 | 3834 | } | ||
3843 | 3835 | image | ||
3844 | 3836 | { | ||
3845 | 3837 | function = ARROW | ||
3846 | 3838 | recolorable = TRUE | ||
3847 | 3839 | state = INSENSITIVE | ||
3848 | 3840 | overlay_file = "Images/Arrows/arrow-right-insens.png" | ||
3849 | 3841 | overlay_stretch = FALSE | ||
3850 | 3842 | arrow_direction = RIGHT | ||
3851 | 3843 | } | ||
3852 | 3844 | } | ||
3853 | 3845 | |||
3854 | 3846 | } | ||
3855 | 3847 | widget "*.gnome-panel-main-menu.*" style :highest "newwave-panelmenu-item" | ||
3856 | 3848 | |||
3857 | 3849 | style "newwave-panelmenu" = "newwave-menu" | ||
3858 | 3850 | { | ||
3859 | 3851 | bg[NORMAL] = "#F5F5F5" #or lighter(@bg_color) | ||
3860 | 3852 | |||
3861 | 3853 | base[NORMAL] = "#F5F5F5" | ||
3862 | 3854 | |||
3863 | 3855 | fg[NORMAL] = darker("#696969") | ||
3864 | 3856 | fg[PRELIGHT] = @text_color | ||
3865 | 3857 | |||
3866 | 3858 | text[NORMAL] = @text_color | ||
3867 | 3859 | text[PRELIGHT] = @text_color | ||
3868 | 3860 | text[ACTIVE] = @text_color | ||
3869 | 3861 | text[SELECTED] = @text_color | ||
3870 | 3862 | text[INSENSITIVE] = "#696969" | ||
3871 | 3863 | |||
3872 | 3864 | |||
3873 | 3865 | engine "pixmap" | ||
3874 | 3866 | { | ||
3875 | 3867 | image | ||
3876 | 3868 | { | ||
3877 | 3869 | function = BOX | ||
3878 | 3870 | recolorable = TRUE | ||
3879 | 3871 | file = "Images/MenuMenubar/combomenu.png" | ||
3880 | 3872 | border = { 1, 1, 1, 1 } | ||
3881 | 3873 | stretch = TRUE | ||
3882 | 3874 | } | ||
3883 | 3875 | } | ||
3884 | 3876 | } | ||
3885 | 3877 | widget "*.gnome-panel-main-menu" style :highest "newwave-panelmenu" | ||
3886 | 3878 | |||
3887 | 3879 | |||
3888 | 3880 | |||
3889 | 3881 | #========================================================= | ||
3890 | 3882 | # Dark panel | ||
3891 | 3883 | #========================================================= | ||
3892 | 3884 | style "panel" = "newwave-default" | ||
3893 | 3885 | { | ||
3894 | 3886 | fg[NORMAL] = shade(0.97, @bg_color) #mix(0.70, lighter(@selected_bg_color), @bg_color) | ||
3895 | 3887 | fg[PRELIGHT] = @text_color # lighter(mix(0.90, lighter(@selected_bg_color), @bg_color)) | ||
3896 | 3888 | #@autho:gp@ Improve consistency between metacity-frame and application active in taskbar. | ||
3897 | 3889 | fg[ACTIVE] = @base_color # @text_color # lighter(mix(0.50, lighter(@selected_bg_color), @bg_color)) | ||
3898 | 3890 | |||
3899 | 3891 | # @author:dilomo@ | ||
3900 | 3892 | #dark color from v0.1 : "#4C4D4E" | ||
3901 | 3893 | #dark color from v0.1.1 : "#424242" | ||
3902 | 3894 | bg[NORMAL] = "#3a3a3a" #This is dark gray | ||
3903 | 3895 | # @author:gp@ Same color as item selected of taskbar menu. | ||
3904 | 3896 | bg[PRELIGHT] = shade ( 1.60, @bg_color) #shade(3.0, "#424242") | ||
3905 | 3897 | #@autho:gp@ Improve consistency between metacity-frame and application active in taskbar. | ||
3906 | 3898 | bg[ACTIVE] = shade(1.02, "#696969") #bg[ACTIVE] = shade(2.5, "#424242") | ||
3907 | 3899 | #@autho:gp@ Improve consistency between active-menu-item and menu-background. | ||
3908 | 3900 | bg[SELECTED] = shade ( 1.60, @bg_color) #bg[SELECTED] = shade(3.2, "#424242") | ||
3909 | 3901 | |||
3910 | 3902 | bg_pixmap[NORMAL] = "Images/Panel/PanelBarLong.png" | ||
3911 | 3903 | |||
3912 | 3904 | } | ||
3913 | 3905 | |||
3914 | 3906 | style "panel-nopixmap" = "panel" | ||
3915 | 3907 | { | ||
3916 | 3908 | bg_pixmap[NORMAL] = "Images/Others/null.png" | ||
3917 | 3909 | } | ||
3918 | 3910 | |||
3919 | 3911 | #========================================================= | ||
3920 | 3912 | # Panel Buttons (task list, date picker) | ||
3921 | 3913 | #========================================================= | ||
3922 | 3914 | style "newwave-panelbuttons" | ||
3923 | 3915 | { | ||
3924 | 3916 | |||
3925 | 3917 | xthickness = 2 | ||
3926 | 3918 | ythickness = 1 | ||
3927 | 3919 | GtkWidget::focus_padding = 2 | ||
3928 | 3920 | |||
3929 | 3921 | engine "pixmap" { | ||
3930 | 3922 | |||
3931 | 3923 | image | ||
3932 | 3924 | { | ||
3933 | 3925 | function = BOX | ||
3934 | 3926 | recolorable = TRUE | ||
3935 | 3927 | state = NORMAL | ||
3936 | 3928 | file = "Images/Panel/p-normal.png" | ||
3937 | 3929 | border = { 4, 4, 4, 4 } | ||
3938 | 3930 | stretch = TRUE | ||
3939 | 3931 | } | ||
3940 | 3932 | |||
3941 | 3933 | #@author:dilomo@ used for normal prelight | ||
3942 | 3934 | image | ||
3943 | 3935 | { | ||
3944 | 3936 | function = BOX | ||
3945 | 3937 | recolorable = TRUE | ||
3946 | 3938 | state = PRELIGHT | ||
3947 | 3939 | shadow = OUT | ||
3948 | 3940 | file = "Images/Panel/p-prelight.png" | ||
3949 | 3941 | border = { 4, 4, 4, 4 } | ||
3950 | 3942 | stretch = TRUE | ||
3951 | 3943 | } | ||
3952 | 3944 | #@author:dilomo@ used for active (pressed) buttons prelight | ||
3953 | 3945 | image | ||
3954 | 3946 | { | ||
3955 | 3947 | function = BOX | ||
3956 | 3948 | recolorable = TRUE | ||
3957 | 3949 | state = PRELIGHT | ||
3958 | 3950 | shadow = IN | ||
3959 | 3951 | file = "Images/Panel/p-active-prelight.png" | ||
3960 | 3952 | border = { 4, 4, 4, 4 } | ||
3961 | 3953 | stretch = TRUE | ||
3962 | 3954 | } | ||
3963 | 3955 | |||
3964 | 3956 | image | ||
3965 | 3957 | { | ||
3966 | 3958 | function = BOX | ||
3967 | 3959 | recolorable = TRUE | ||
3968 | 3960 | state = ACTIVE | ||
3969 | 3961 | file = "Images/Panel/p-active.png" | ||
3970 | 3962 | border = { 4, 4, 4, 4 } | ||
3971 | 3963 | stretch = TRUE | ||
3972 | 3964 | } | ||
3973 | 3965 | image | ||
3974 | 3966 | { | ||
3975 | 3967 | function = BOX | ||
3976 | 3968 | recolorable = TRUE | ||
3977 | 3969 | state = INSENSITIVE | ||
3978 | 3970 | file = "Images/Panel/p-insens.png" | ||
3979 | 3971 | border = { 4, 4, 2, 2 } | ||
3980 | 3972 | stretch = TRUE | ||
3981 | 3973 | } | ||
3982 | 3974 | image | ||
3983 | 3975 | { | ||
3984 | 3976 | function = HANDLE | ||
3985 | 3977 | recolorable = TRUE | ||
3986 | 3978 | overlay_file = "Images/Panel/handle-v.png" | ||
3987 | 3979 | overlay_stretch = FALSE | ||
3988 | 3980 | orientation = VERTICAL | ||
3989 | 3981 | } | ||
3990 | 3982 | image | ||
3991 | 3983 | { | ||
3992 | 3984 | function = HANDLE | ||
3993 | 3985 | overlay_file = "Images/Panel/handle-h.png" | ||
3994 | 3986 | overlay_stretch = FALSE | ||
3995 | 3987 | orientation = HORIZONTAL | ||
3996 | 3988 | } | ||
3997 | 3989 | |||
3998 | 3990 | } | ||
3999 | 3991 | |||
4000 | 3992 | } | ||
4001 | 3993 | |||
4002 | 3994 | #========================================================= | ||
4003 | 3995 | # Popup Nautilus Widget | ||
4004 | 3996 | #========================================================= | ||
4005 | 3997 | style "newwave-nautilus-location" | ||
4006 | 3998 | { | ||
4007 | 3999 | bg[NORMAL] = "#E5D0C3" | ||
4008 | 4000 | bg[INSENSITIVE] ="#E5D0C3" | ||
4009 | 4001 | engine "pixmap" { | ||
4010 | 4002 | |||
4011 | 4003 | image | ||
4012 | 4004 | { | ||
4013 | 4005 | function = FLAT_BOX | ||
4014 | 4006 | recolorable = TRUE | ||
4015 | 4007 | state = INSENSITIVE | ||
4016 | 4008 | file = "Images/Others/nautilus-popup.png" | ||
4017 | 4009 | border = { 3, 1, 0, 3 } | ||
4018 | 4010 | stretch = TRUE | ||
4019 | 4011 | overlay_file = "Images/Others/nautilus-popup-highlight.png" | ||
4020 | 4012 | overlay_border = { 0, 0, 0, 0 } | ||
4021 | 4013 | overlay_stretch = TRUE | ||
4022 | 4014 | } | ||
4023 | 4015 | image | ||
4024 | 4016 | { | ||
4025 | 4017 | function = FLAT_BOX | ||
4026 | 4018 | recolorable = TRUE | ||
4027 | 4019 | file = "Images/Others/nautilus-popup.png" | ||
4028 | 4020 | border = { 3, 1, 1, 3 } | ||
4029 | 4021 | stretch = TRUE | ||
4030 | 4022 | overlay_file = "Images/Others/nautilus-popup-highlight.png" | ||
4031 | 4023 | overlay_border = { 0, 0, 0, 0 } | ||
4032 | 4024 | overlay_stretch = TRUE | ||
4033 | 4025 | } | ||
4034 | 4026 | } | ||
4035 | 4027 | } | ||
4036 | 4028 | style "newwave-nautilus-location-text" | ||
4037 | 4029 | { | ||
4038 | 4030 | bg[NORMAL] = mix(0.70, shade (1.05,"#696969"), @bg_color) | ||
4039 | 4031 | bg[INSENSITIVE] = mix(0.80, shade (1.05,"#696969"), @bg_color) | ||
4040 | 4032 | |||
4041 | 4033 | fg[NORMAL] = "#D89C4A" | ||
4042 | 4034 | text[NORMAL] = "#ffffff" | ||
4043 | 4035 | } | ||
4044 | 4036 | |||
4045 | 4037 | |||
4046 | 4038 | #========================================================= | ||
4047 | 4039 | # Popup Notification Daemon | ||
4048 | 4040 | #========================================================= | ||
4049 | 4041 | style "newwave-notify-daemon" | ||
4050 | 4042 | { | ||
4051 | 4043 | bg[NORMAL] = @text_color #mix(0.70, shade (1.05,"#696969"), @bg_color) | ||
4052 | 4044 | bg[SELECTED] = @bg_color | ||
4053 | 4045 | } | ||
4054 | 4046 | |||
4055 | 4047 | #widget_class "*NotifyDaemon*" style :highest "newwave-notify-daemon" | ||
4056 | 4048 | |||
4057 | 4049 | class "*notif*" style :highest "panel" #"newwave-notify-daemon" | ||
4058 | 4050 | class "*Notif*" style :highest "panel" #"newwave-notify-daemon" | ||
4059 | 4051 | widget_class "*notif*" style :highest "panel" #"newwave-notify-daemon" | ||
4060 | 4052 | widget_class "*Notif*" style :highest "panel" #"newwave-notify-daemon" | ||
4061 | 4053 | |||
4062 | 4054 | #========================================================= | ||
4063 | 4055 | # Metacity background | ||
4064 | 4056 | #========================================================= | ||
4065 | 4057 | style "metacity-frame" | ||
4066 | 4058 | { | ||
4067 | 4059 | bg[SELECTED] = "#696969" # @author:gp@ It must be the same color as menubar (bg[NORMAL]) | ||
4068 | 4060 | bg[NORMAL] = "#696969" | ||
4069 | 4061 | } | ||
4070 | 4062 | |||
4071 | 4063 | # @author:dilomo@ This has to fix the Appearance manager crash | ||
4072 | 4064 | style "newwave-window" | ||
4073 | 4065 | { | ||
4074 | 4066 | bg_pixmap[NORMAL] = "Images/Others/null.png" | ||
4075 | 4067 | } | ||
4076 | 4068 | |||
4077 | 4069 | style "newwave-radiocheck" = "newwave-default" | ||
4078 | 4070 | { | ||
4079 | 4071 | text[PRELIGHT] = @base_color # Text on Mouseover | ||
4080 | 4072 | } | ||
4081 | 4073 | |||
4082 | 4074 | |||
4083 | 4075 | |||
4084 | 4076 | |||
4085 | 4077 | #========================================================= | ||
4086 | 4078 | #========================================================= | ||
4087 | 4079 | # Matches | ||
4088 | 4080 | #========================================================= | ||
4089 | 4081 | #========================================================= | ||
4090 | 4082 | |||
4091 | 4083 | |||
4092 | 4084 | |||
4093 | 4085 | # theme radio buttons and checkmarks | ||
4094 | 4086 | |||
4095 | 4087 | class "GtkButton" style "newwave-button" | ||
4096 | 4088 | |||
4097 | 4089 | class "GtkCheck*" style "newwave-checkbutton" | ||
4098 | 4090 | class "GtkRadio*" style "newwave-radiobutton" | ||
4099 | 4091 | class "GtkCheckMenuItem" style : highest "newwave-checkmenubutton" | ||
4100 | 4092 | class "GtkRadioMenuItem" style : highest "newwave-radiomenubutton" | ||
4101 | 4093 | |||
4102 | 4094 | # keep proper colour for Metacity | ||
4103 | 4095 | class "MetaFrames" style "metacity-frame" | ||
4104 | 4096 | class "GtkWindow" style "newwave-window" | ||
4105 | 4097 | |||
4106 | 4098 | # theme default style is applied to every widget | ||
4107 | 4099 | class "GtkWidget" style "newwave-default" | ||
4108 | 4100 | |||
4109 | 4101 | # Increase the x/ythickness in some widgets | ||
4110 | 4102 | class "GtkFrame" style "newwave-frame" | ||
4111 | 4103 | class "GtkSeparator" style "newwave-wide" | ||
4112 | 4104 | class "GtkEntry" style "newwave-entry" | ||
4113 | 4105 | class "GtkOldEditable" style "newwave-entry" | ||
4114 | 4106 | class "GtkToolbar" style "newwave-toolbar" | ||
4115 | 4107 | class "GtkRange" style "newwave-range" | ||
4116 | 4108 | class "GtkSpinButton" style "newwave-spinbutton" | ||
4117 | 4109 | class "GtkScale" style "newwave-scale" | ||
4118 | 4110 | class "GtkVScale" style "newwave-vscale" | ||
4119 | 4111 | class "GtkHScale" style "newwave-hscale" | ||
4120 | 4112 | class "GtkScrollbar" style "newwave-scrollbar" | ||
4121 | 4113 | #class "GtkVScrollbar" style "newwave-scrollbar" | ||
4122 | 4114 | #class "GtkHScrollbar" style "newwave-scrollbar" | ||
4123 | 4115 | class "GtkProgressBar" style "newwave-progressbar" | ||
4124 | 4116 | class "GtkTearoffMenuItem" style "newwave-menu-item" | ||
4125 | 4117 | class "GtkMenuItem" style "newwave-menu-item" | ||
4126 | 4118 | class "GtkImageMenuItem" style "newwave-menu-item" | ||
4127 | 4119 | class "GtkItem" style "newwave-menu-item" | ||
4128 | 4120 | class "GtkOptionMenu" style "newwave-combobox" | ||
4129 | 4121 | class "GtkCombo*" style "newwave-combobox" | ||
4130 | 4122 | class "*Font*" style "newwave-combobox" | ||
4131 | 4123 | |||
4132 | 4124 | # General matching following, the order is choosen so that the right styles override each other | ||
4133 | 4125 | # eg. progressbar needs to be more important then the menu match. | ||
4134 | 4126 | |||
4135 | 4127 | # This is not perfect, it could be done better | ||
4136 | 4128 | # (That is modify *every* widget in the notebook, and change those back that | ||
4137 | 4129 | # we really don't want changed) | ||
4138 | 4130 | widget_class "*Nautilus*<GtkFrame>" style "newwave-default" | ||
4139 | 4131 | widget_class "*<GtkNotebook>*<GtkEventBox>" style "newwave-notebook" | ||
4140 | 4132 | widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "newwave-notebook" | ||
4141 | 4133 | widget_class "*<GtkNotebook>*<GtkLayout>" style "newwave-notebook" | ||
4142 | 4134 | |||
4143 | 4135 | widget_class "*<GtkButton>" style "newwave-button" | ||
4144 | 4136 | widget_class "*<GtkLinkButton>" style : highest "newwave-toolbuttons" | ||
4145 | 4137 | widget_class "*<GtkNotebook>" style "newwave-notebook" | ||
4146 | 4138 | widget_class "*<GtkStatusbar>*" style "newwave-statusbar" | ||
4147 | 4139 | |||
4148 | 4140 | |||
4149 | 4141 | widget_class "*<GtkComboBoxEntry>*" style "newwave-comboboxentry" | ||
4150 | 4142 | widget_class "*<GtkCombo>*" style "newwave-combobox" | ||
4151 | 4143 | widget_class "*<GtkMenu>*" style "newwave-menu" | ||
4152 | 4144 | |||
4153 | 4145 | |||
4154 | 4146 | widget_class "*<GtkMenuBar>*" style "newwave-menubar" | ||
4155 | 4147 | |||
4156 | 4148 | class "GtkMenuBar" style "newwave-menubar" | ||
4157 | 4149 | widget_class "GtkMenuBar" style "newwave-menubar" | ||
4158 | 4150 | |||
4159 | 4151 | class "*MenuBar*" style "newwave-menubar" | ||
4160 | 4152 | widget_class "*MenuBar*" style "newwave-menubar" | ||
4161 | 4153 | |||
4162 | 4154 | widget_class "*GtkToolButton*" style : highest "newwave-toolbuttons" | ||
4163 | 4155 | widget_class "*GtkToggleToolButton*" style : highest "newwave-toolbuttons" | ||
4164 | 4156 | widget_class "*GtkMenuToolButton*" style : highest "newwave-toolbuttons" | ||
4165 | 4157 | widget_class "*GtkToolbar*Button" style : highest "newwave-toolbuttons" | ||
4166 | 4158 | |||
4167 | 4159 | |||
4168 | 4160 | |||
4169 | 4161 | |||
4170 | 4162 | # @author:dilomo@ Here "*<GtkMenu>.<GtkMenuItem>*" GtkMenu is used | ||
4171 | 4163 | # to make menus' bg gray not like @selected_bg_color (relevant to Clearlooks) | ||
4172 | 4164 | widget_class "*<GtkMenu>.<GtkMenuItem>*" style "newwave-menu-item" | ||
4173 | 4165 | widget_class"*.GtkAccelMenuItem.*" style "newwave-menu-item" | ||
4174 | 4166 | |||
4175 | 4167 | |||
4176 | 4168 | widget_class "*<GtkSeparatorMenuItem>*" style "newwave-separator-menu-item" | ||
4177 | 4169 | |||
4178 | 4170 | widget_class "*.<GtkFrame>.<GtkLabel>" style "newwave-frame-title" | ||
4179 | 4171 | widget_class "*.<GtkFrame>.*" style "newwave-frame" | ||
4180 | 4172 | widget_class "*.<GtkTreeView>*" style "newwave-treeview" | ||
4181 | 4173 | widget_class "*.GtkFrame.GtkScrolledWindow.GtkTreeView" style "newwave-treeview" | ||
4182 | 4174 | |||
4183 | 4175 | widget_class "*<GtkProgressBar>" style "newwave-progressbar" | ||
4184 | 4176 | |||
4185 | 4177 | widget_class "*Entry.GtkButton" style "newwave-combobutton" | ||
4186 | 4178 | widget_class "*GtkComboBoxEntry*Button" style "newwave-combobutton" | ||
4187 | 4179 | widget_class "*.GtkComboBox.GtkButton" style "newwave-combobutton" | ||
4188 | 4180 | widget_class "*.GtkComboBox.GtkMenu" style "newwave-combomenu" | ||
4189 | 4181 | widget_class "*.GtkCombo.GtkButton" style "newwave-combobutton" | ||
4190 | 4182 | |||
4191 | 4183 | |||
4192 | 4184 | widget_class "*Tool*GtkToggleButton" style "newwave-button" | ||
4193 | 4185 | widget_class "*Tool*GtkButton" style "newwave-button" | ||
4194 | 4186 | |||
4195 | 4187 | # Treeview header | ||
4196 | 4188 | widget_class "*.<GtkTreeView>.<GtkButton>" style "newwave-treeview-header" | ||
4197 | 4189 | widget_class "*.<GtkCTree>.<GtkButton>" style "newwave-treeview-header" | ||
4198 | 4190 | widget_class "*.<GtkList>.<GtkButton>" style "newwave-treeview-header" | ||
4199 | 4191 | widget_class "*.<GtkCList>.<GtkButton>" style "newwave-treeview-header" | ||
4200 | 4192 | |||
4201 | 4193 | # Workarounds for Evolution | ||
4202 | 4194 | widget_class "*.ETable.ECanvas" style "newwave-treeview-header" | ||
4203 | 4195 | widget_class "*.ETree.ECanvas" style "newwave-treeview-header" | ||
4204 | 4196 | |||
4205 | 4197 | |||
4206 | 4198 | |||
4207 | 4199 | # The window of the tooltip is called "gtk-tooltip" | ||
4208 | 4200 | #========================================================= | ||
4209 | 4201 | # FIXME: | ||
4210 | 4202 | # This will not work if one embeds eg. a button into the tooltip. | ||
4211 | 4203 | # As far as I can tell right now we will need to rework the theme | ||
4212 | 4204 | # quite a bit to get this working correctly. | ||
4213 | 4205 | # (It will involve setting different priorities, etc.) | ||
4214 | 4206 | #========================================================= | ||
4215 | 4207 | widget "gtk-tooltip*" style "newwave-tooltips" | ||
4216 | 4208 | |||
4217 | 4209 | |||
4218 | 4210 | #========================================================= | ||
4219 | 4211 | # W O R K A R O U N D S | ||
4220 | 4212 | #========================================================= | ||
4221 | 4213 | |||
4222 | 4214 | # Special case the nautilus-extra-view-widget | ||
4223 | 4215 | # ToDo: A more generic approach for all applications that have a widget like this. | ||
4224 | 4216 | widget "*.nautilus-extra-view-widget*" style : highest "newwave-nautilus-location" | ||
4225 | 4217 | widget "*.nautilus-extra-view-widget" style : highest "newwave-nautilus-location" | ||
4226 | 4218 | |||
4227 | 4219 | #widget_class "MozillaGtkWidget*MenuBar" style :highest "newwave-menubar"#-mozilla" | ||
4228 | 4220 | #widget "MozillaGtkWidget*Menu*" style :highest "newwave-menu-item-mozilla" | ||
4229 | 4221 | |||
4230 | 4222 | # @author: gp, Special case to set color backgroud in Nautilus Sidebar. | ||
4231 | 4223 | style "newwave-nautilus-sidebar" | ||
4232 | 4224 | { | ||
4233 | 4225 | GtkTreeView::even_row_color = @bg_color | ||
4234 | 4226 | # Make the sep line fade out | ||
4235 | 4227 | engine "pixmap" | ||
4236 | 4228 | { | ||
4237 | 4229 | image | ||
4238 | 4230 | { | ||
4239 | 4231 | function = HLINE | ||
4240 | 4232 | recolorable = TRUE | ||
4241 | 4233 | file = "Images/Lines/line-h-faded.png" | ||
4242 | 4234 | stretch = TRUE | ||
4243 | 4235 | } | ||
4244 | 4236 | |||
4245 | 4237 | # Make the handle be a vert line in order to better separate nautilus files view | ||
4246 | 4238 | ## vertical handle | ||
4247 | 4239 | image | ||
4248 | 4240 | { | ||
4249 | 4241 | function = HANDLE | ||
4250 | 4242 | recolorable = TRUE | ||
4251 | 4243 | state = NORMAL | ||
4252 | 4244 | overlay_file = "Images/Others/null.png" | ||
4253 | 4245 | overlay_stretch = FALSE | ||
4254 | 4246 | orientation = VERTICAL | ||
4255 | 4247 | } | ||
4256 | 4248 | image | ||
4257 | 4249 | { | ||
4258 | 4250 | function = HANDLE | ||
4259 | 4251 | recolorable = TRUE | ||
4260 | 4252 | state = PRELIGHT | ||
4261 | 4253 | overlay_file = "Images/Others/null.png" | ||
4262 | 4254 | overlay_stretch = FALSE | ||
4263 | 4255 | orientation = VERTICAL | ||
4264 | 4256 | } | ||
4265 | 4257 | image | ||
4266 | 4258 | { | ||
4267 | 4259 | function = HANDLE | ||
4268 | 4260 | recolorable = TRUE | ||
4269 | 4261 | state = ACTIVE | ||
4270 | 4262 | overlay_file = "Images/Panel/handle-v-pressed.png" | ||
4271 | 4263 | overlay_stretch = FALSE | ||
4272 | 4264 | orientation = VERTICAL | ||
4273 | 4265 | } | ||
4274 | 4266 | image | ||
4275 | 4267 | { | ||
4276 | 4268 | function = HANDLE | ||
4277 | 4269 | recolorable = TRUE | ||
4278 | 4270 | state = INSENSITIVE | ||
4279 | 4271 | overlay_file = "Images/Panel/handle-v-insens.png" | ||
4280 | 4272 | overlay_stretch = FALSE | ||
4281 | 4273 | orientation = VERTICAL | ||
4282 | 4274 | } | ||
4283 | 4275 | |||
4284 | 4276 | } | ||
4285 | 4277 | } | ||
4286 | 4278 | |||
4287 | 4279 | style "newwave-nautilus-sidebar-handles" | ||
4288 | 4280 | { | ||
4289 | 4281 | engine "pixmap" | ||
4290 | 4282 | { | ||
4291 | 4283 | # TODO: Make the handle be a vert line in order to better separate nautilus files view | ||
4292 | 4284 | ## vertical handle | ||
4293 | 4285 | image | ||
4294 | 4286 | { | ||
4295 | 4287 | function = HANDLE | ||
4296 | 4288 | recolorable = TRUE | ||
4297 | 4289 | state = NORMAL | ||
4298 | 4290 | overlay_file = "Images/Others/null.png" | ||
4299 | 4291 | overlay_stretch = FALSE | ||
4300 | 4292 | orientation = VERTICAL | ||
4301 | 4293 | } | ||
4302 | 4294 | image | ||
4303 | 4295 | { | ||
4304 | 4296 | function = HANDLE | ||
4305 | 4297 | recolorable = TRUE | ||
4306 | 4298 | state = PRELIGHT | ||
4307 | 4299 | overlay_file = "Images/Others/null.png" | ||
4308 | 4300 | overlay_stretch = FALSE | ||
4309 | 4301 | orientation = VERTICAL | ||
4310 | 4302 | } | ||
4311 | 4303 | image | ||
4312 | 4304 | { | ||
4313 | 4305 | function = HANDLE | ||
4314 | 4306 | recolorable = TRUE | ||
4315 | 4307 | state = ACTIVE | ||
4316 | 4308 | overlay_file = "Images/Panel/handle-v-pressed.png" | ||
4317 | 4309 | overlay_stretch = FALSE | ||
4318 | 4310 | orientation = VERTICAL | ||
4319 | 4311 | } | ||
4320 | 4312 | image | ||
4321 | 4313 | { | ||
4322 | 4314 | function = HANDLE | ||
4323 | 4315 | recolorable = TRUE | ||
4324 | 4316 | state = INSENSITIVE | ||
4325 | 4317 | overlay_file = "Images/Panel/handle-v-insens.png" | ||
4326 | 4318 | overlay_stretch = FALSE | ||
4327 | 4319 | orientation = VERTICAL | ||
4328 | 4320 | } | ||
4329 | 4321 | |||
4330 | 4322 | } | ||
4331 | 4323 | } | ||
4332 | 4324 | |||
4333 | 4325 | widget_class "NautilusNavigationWindow.GtkTable.NautilusHorizontalSplitter.NautilusSidePane.GtkNotebook.*" style "newwave-nautilus-sidebar" | ||
4334 | 4326 | #widget_class "NautilusNavigationWindow.GtkTable.NautilusHorizontalSplitter.NautilusSidePane.*" style "newwave-nautilus-sidebar-handles" | ||
4335 | 4327 | widget_class "NautilusNavigationWindow.GtkTable.NautilusHorizontalSplitter.NautilusSidePane.GtkNotebook.*Tree*" style "newwave-treeview-nautilus-sidebar" | ||
4336 | 4328 | |||
4337 | 4329 | |||
4338 | 4330 | style "newwave-nautilus-filemanager" | ||
4339 | 4331 | { | ||
4340 | 4332 | #bg[NORMAL] = "##FFE68D" | ||
4341 | 4333 | #base[NORMAL] = "#FF9E9E" | ||
4342 | 4334 | bg_pixmap[NORMAL] = "Images/MenuMenubar/combomenu.png" | ||
4343 | 4335 | } | ||
4344 | 4336 | #widget_class "NautilusNavigationWindow.GtkTable.NautilusHorizontalSplitter.*FM*View.*" style "newwave-nautilus-filemanager" | ||
4345 | 4337 | |||
4346 | 4338 | # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646 | ||
4347 | 4339 | # Note that the work around assumes that the combobox is _not_ in | ||
4348 | 4340 | # appears-as-list mode. | ||
4349 | 4341 | # Similar hack also in the menuitem style. | ||
4350 | 4342 | # This style does not affect GtkComboBoxEntry, it does have an effect | ||
4351 | 4343 | # on comboboxes in appears-as-list mode though. | ||
4352 | 4344 | style "newwave-combobox-text-color-workaround" | ||
4353 | 4345 | { | ||
4354 | 4346 | text[NORMAL] = @fg_color | ||
4355 | 4347 | text[PRELIGHT] = @fg_color | ||
4356 | 4348 | text[SELECTED] = @selected_fg_color | ||
4357 | 4349 | text[ACTIVE] = @fg_color | ||
4358 | 4350 | text[INSENSITIVE] = darker (@bg_color) | ||
4359 | 4351 | } | ||
4360 | 4352 | widget_class "*.<GtkComboBox>.<GtkCellView>" style "newwave-combobox-text-color-workaround" | ||
4361 | 4353 | |||
4362 | 4354 | |||
4363 | 4355 | # This inverts the menus of comboboxes - white bg and dark text | ||
4364 | 4356 | # Unfortunately it does not work on the obsolete option menus that are used by some apps. | ||
4365 | 4357 | style "newwave-menuitem-text-is-fg-color-workaround" | ||
4366 | 4358 | { | ||
4367 | 4359 | |||
4368 | 4360 | engine "pixmap" | ||
4369 | 4361 | { | ||
4370 | 4362 | image | ||
4371 | 4363 | { | ||
4372 | 4364 | function = BOX | ||
4373 | 4365 | recolorable = TRUE | ||
4374 | 4366 | file = "Images/MenuMenubar/menuitem.png" | ||
4375 | 4367 | border = { 2, 2, 2, 2 } | ||
4376 | 4368 | stretch = TRUE | ||
4377 | 4369 | } | ||
4378 | 4370 | } | ||
4379 | 4371 | |||
4380 | 4372 | } | ||
4381 | 4373 | widget "*.gtk-combobox-popup-menu.*" style :highest "newwave-menuitem-text-is-fg-color-workaround" | ||
4382 | 4374 | |||
4383 | 4375 | style "newwave-popupmenu-workaround" | ||
4384 | 4376 | { | ||
4385 | 4377 | fg[NORMAL] = "#696969" | ||
4386 | 4378 | fg[SELECTED] = @text_color | ||
4387 | 4379 | |||
4388 | 4380 | bg[NORMAL] = "#ffffff" | ||
4389 | 4381 | |||
4390 | 4382 | text[NORMAL] = @text_color | ||
4391 | 4383 | text[PRELIGHT] = @text_color | ||
4392 | 4384 | text[SELECTED] = @selected_fg_color | ||
4393 | 4385 | text[ACTIVE] = @fg_color | ||
4394 | 4386 | text[INSENSITIVE] = darker (@bg_color) | ||
4395 | 4387 | |||
4396 | 4388 | engine "pixmap" | ||
4397 | 4389 | { | ||
4398 | 4390 | image | ||
4399 | 4391 | { | ||
4400 | 4392 | function = BOX | ||
4401 | 4393 | recolorable = TRUE | ||
4402 | 4394 | file = "Images/MenuMenubar/combomenu.png" | ||
4403 | 4395 | border = { 1, 1, 1, 1 } | ||
4404 | 4396 | stretch = TRUE | ||
4405 | 4397 | } | ||
4406 | 4398 | } | ||
4407 | 4399 | } | ||
4408 | 4400 | |||
4409 | 4401 | widget "*.gtk-combobox-popup-menu" style :highest "newwave-popupmenu-workaround" | ||
4410 | 4402 | |||
4411 | 4403 | |||
4412 | 4404 | |||
4413 | 4405 | # Work around the usage of GtkLabel inside GtkListItems to display text. | ||
4414 | 4406 | # This breaks because the label is shown on a background that is based on the | ||
4415 | 4407 | # base color set. | ||
4416 | 4408 | style "newwave-fg-is-text-color-workaround" | ||
4417 | 4409 | { | ||
4418 | 4410 | fg[NORMAL] = @text_color | ||
4419 | 4411 | fg[PRELIGHT] = @text_color | ||
4420 | 4412 | fg[ACTIVE] = @selected_fg_color | ||
4421 | 4413 | fg[SELECTED] = @selected_fg_color | ||
4422 | 4414 | fg[INSENSITIVE] = darker(@bg_color) | ||
4423 | 4415 | |||
4424 | 4416 | text[ACTIVE] = shade(0.43, @selected_bg_color) | ||
4425 | 4417 | text[SELECTED] = @text_color | ||
4426 | 4418 | |||
4427 | 4419 | bg[NORMAL] = @bg_color | ||
4428 | 4420 | bg[SELECTED] = @selected_bg_color | ||
4429 | 4421 | |||
4430 | 4422 | engine "pixmap" | ||
4431 | 4423 | { | ||
4432 | 4424 | image | ||
4433 | 4425 | { | ||
4434 | 4426 | function = BOX | ||
4435 | 4427 | state = ACTIVE | ||
4436 | 4428 | border = {2,2,2,2} | ||
4437 | 4429 | file = "Images/Tree/selected.png" | ||
4438 | 4430 | stretch = TRUE | ||
4439 | 4431 | } | ||
4440 | 4432 | image | ||
4441 | 4433 | { | ||
4442 | 4434 | function = BOX | ||
4443 | 4435 | state = SELECTED | ||
4444 | 4436 | border = {2,2,2,2} | ||
4445 | 4437 | file = "Images/Tree/selected-active.png" | ||
4446 | 4438 | stretch = TRUE | ||
4447 | 4439 | } | ||
4448 | 4440 | image | ||
4449 | 4441 | { | ||
4450 | 4442 | function = FLAT_BOX | ||
4451 | 4443 | state = SELECTED | ||
4452 | 4444 | border = {2,2,2,2} | ||
4453 | 4445 | file = "Images/Tree/selected.png" | ||
4454 | 4446 | stretch = TRUE | ||
4455 | 4447 | } | ||
4456 | 4448 | } | ||
4457 | 4449 | } | ||
4458 | 4450 | |||
4459 | 4451 | widget_class "*<GtkListItem>*" style "newwave-fg-is-text-color-workaround" | ||
4460 | 4452 | # The same problem also exists for GtkCList and GtkCTree | ||
4461 | 4453 | # Only match GtkCList and not the parent widgets, because that would also change the headers. | ||
4462 | 4454 | |||
4463 | 4455 | widget_class "*<GtkCList>" style "newwave-fg-is-text-color-workaround" | ||
4464 | 4456 | |||
4465 | 4457 | |||
4466 | 4458 | style "newwave-evo-new-button-workaround" | ||
4467 | 4459 | { | ||
4468 | 4460 | xthickness = 3 | ||
4469 | 4461 | ythickness = 3 | ||
4470 | 4462 | |||
4471 | 4463 | |||
4472 | 4464 | engine "pixmap" | ||
4473 | 4465 | { | ||
4474 | 4466 | image | ||
4475 | 4467 | { | ||
4476 | 4468 | function = BOX | ||
4477 | 4469 | state = NORMAL | ||
4478 | 4470 | file = "Images/Toolbar/toolbar-evo.png" | ||
4479 | 4471 | border = { 3, 3, 3,3} | ||
4480 | 4472 | stretch = TRUE | ||
4481 | 4473 | } | ||
4482 | 4474 | image | ||
4483 | 4475 | { | ||
4484 | 4476 | function = BOX | ||
4485 | 4477 | state = ACTIVE | ||
4486 | 4478 | file = "Images/Toolbar/toolbar-evo.png" | ||
4487 | 4479 | border = { 3, 3, 3,3} | ||
4488 | 4480 | stretch = TRUE | ||
4489 | 4481 | } | ||
4490 | 4482 | image | ||
4491 | 4483 | { | ||
4492 | 4484 | function = BOX | ||
4493 | 4485 | state = INSENSITIVE | ||
4494 | 4486 | file = "Images/Toolbar/toolbar-evo.png" | ||
4495 | 4487 | border = { 3, 3, 3,3} | ||
4496 | 4488 | stretch = TRUE | ||
4497 | 4489 | } | ||
4498 | 4490 | } | ||
4499 | 4491 | } | ||
4500 | 4492 | |||
4501 | 4493 | #This are some dirty hacks to make evolution look decent | ||
4502 | 4494 | # TODO: find out a better way to do that | ||
4503 | 4495 | # | ||
4504 | 4496 | # Fix the toolbar by using flat style | ||
4505 | 4497 | widget_class "*EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "newwave-evo-new-button-workaround" | ||
4506 | 4498 | #Fix the New button that was broken when fixing the toolbar | ||
4507 | 4499 | widget_class "*EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem.InternalToolbar.BonoboUIToolbarControlItem.GtkVBox.BonoboWidget.BonoboSocket.BonoboPlug.EComboButton*" style:highest "newwave-button" | ||
4508 | 4500 | # Fix the menu that was broken when fixing the toolbar | ||
4509 | 4501 | widget_class "*EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem.GtkMenuBar*" style "newwave-menubar" | ||
4510 | 4502 | # Fix the double entry search box in the top right corner | ||
4511 | 4503 | widget_class "*EShellWindow.GtkVBox.BonoboDock.GtkVBox.GtkHPaned.GtkNotebook.BonoboWidget.BonoboSocket.BonoboPlug.EMFolderBrowser.EFilterBar.GtkHBox.GtkHBox.EIconEntry.GtkHBox.GtkEntry" style :highest "newwave-entry-nofocus" | ||
4512 | 4504 | |||
4513 | 4505 | |||
4514 | 4506 | #========================================================= | ||
4515 | 4507 | # Panel Matches | ||
4516 | 4508 | #========================================================= | ||
4517 | 4509 | |||
4518 | 4510 | |||
4519 | 4511 | |||
4520 | 4512 | class "*Mail*" style "panel" | ||
4521 | 4513 | class "*Tray*" style "panel" | ||
4522 | 4514 | class "*tray*" style "panel" | ||
4523 | 4515 | widget_class "*Tray*" style "panel" | ||
4524 | 4516 | widget_class "*tray*" style "panel" | ||
4525 | 4517 | widget "*TrayIcon*" style "panel" | ||
4526 | 4518 | class "*Panel*Applet*" style "panel" | ||
4527 | 4519 | widget_class "*Panel*GtkToggleButton" style "panel" | ||
4528 | 4520 | widget_class "*Panel*GtkButton" style "panel" | ||
4529 | 4521 | widget_class "*.Panel*Button*GtkLabel" style "panel" | ||
4530 | 4522 | widget_class "*.Panel*GtkLabel" style "panel" | ||
4531 | 4523 | widget "*PanelWidget*" style "panel" | ||
4532 | 4524 | widget "*PanelApplet*" style "panel" | ||
4533 | 4525 | class "PanelApp*" style "panel" | ||
4534 | 4526 | class "PanelToplevel*" style "panel" | ||
4535 | 4527 | widget_class "*Mail*" style "panel" | ||
4536 | 4528 | widget_class "*Netstatus*" style "panel" | ||
4537 | 4529 | widget_class "*Tomboy*Tray*" style "panel" | ||
4538 | 4530 | widget "*fast-user-switch*" style "panel" | ||
4539 | 4531 | widget_class "*PanelToplevel*" style "panel" | ||
4540 | 4532 | class "Xfce*Panel*" style "panel" | ||
4541 | 4533 | widget_class "*Xfce*Panel*" style "panel" | ||
4542 | 4534 | widget_class "*PanelApplet*" style "panel" | ||
4543 | 4535 | widget_class "*PanelWidget*" style "panel" | ||
4544 | 4536 | # @author:dilomo@ cpu-frequency applet was with dark text. Fix it. | ||
4545 | 4537 | widget_class "*FreqApplet*" style "panel" | ||
4546 | 4538 | |||
4547 | 4539 | #(TODO:)fixes for banshee and drawers | ||
4548 | 4540 | #widget_class "*DrawerApplet*" style "panel-nopixmap" | ||
4549 | 4541 | |||
4550 | 4542 | widget_class "*Panel*GtkToggleButton" style "newwave-panelbuttons" | ||
4551 | 4543 | widget "*.tasklist-button" style "newwave-panelbuttons" | ||
4552 | 4544 | widget_class "*PanelToplevel*Button" style "newwave-panelbuttons" | ||
4553 | 4545 | widget_class "*Xfce*Panel*.GtkToggleButton" style "newwave-panelbuttons" | ||
4554 | 4546 | widget_class "*Xfce*NetkTasklist*GtkToggleButton" style "newwave-panelbuttons" | ||
4555 | 4547 | |||
4556 | 4548 | # Theme panel elements | ||
4557 | 4549 | #widget "*PanelWidget*" style "panel" | ||
4558 | 4550 | #widget "*PanelApplet | ||
4559 | 4551 | #widget "*fast-user-switch*" style "panel" | ||
4560 | 4552 | #class "PanelApp*" style "panel" | ||
4561 | 4553 | #class "PanelToplevel*" style "panel" | ||
4562 | 4554 | #widget_class "*Mail*" style "panel" | ||
4563 | 4555 | #widget_class "*notif*" style "panel" | ||
4564 | 4556 | #widget_class "*Notif*" style "panel" | ||
4565 | 4557 | # @author:dilomo@ cpu-frequency applet was with dark text. Fix it. | ||
4566 | 4558 | #widget_class "*FreqApplet*" style "panel" | ||
4567 | 4559 | #widget_class "*AllTray*" style "panel" | ||
4568 | 4560 | # @author:dilomo@ Only testing this as it is alpha software. | ||
4569 | 4561 | #widget "*.globalmenu-applet-eventbox" style : highest "panel" | ||
4570 | 0 | 4562 | ||
4571 | === added file 'New Wave Dark Menus/gtk-2.0/gtkrc' | |||
4572 | --- New Wave Dark Menus/gtk-2.0/gtkrc 1970-01-01 00:00:00 +0000 | |||
4573 | +++ New Wave Dark Menus/gtk-2.0/gtkrc 2009-03-14 22:23:13 +0000 | |||
4574 | @@ -0,0 +1,353 @@ | |||
4575 | 1 | # | ||
4576 | 2 | #================================================ | ||
4577 | 3 | # New Wave Dark Menus Pixmap Theme | ||
4578 | 4 | #================================================ | ||
4579 | 5 | # | ||
4580 | 6 | # | ||
4581 | 7 | # Based on: Ubuntu Human-Clearlooks | ||
4582 | 8 | # | ||
4583 | 9 | # Author: | ||
4584 | 10 | # Anton Kerezov <ankere@gmail.com> | ||
4585 | 11 | # | ||
4586 | 12 | # Feel free to modify and share! | ||
4587 | 13 | # Licensed under Creative Commons 3.0 | ||
4588 | 14 | # | ||
4589 | 15 | # Major Version: 0.8 | ||
4590 | 16 | |||
4591 | 17 | #========================================================= | ||
4592 | 18 | # Include the normal New Wave file | ||
4593 | 19 | |||
4594 | 20 | include "default-gtkrc" | ||
4595 | 21 | |||
4596 | 22 | #========================================================= | ||
4597 | 23 | # Modify only the menus so that they become dark | | ||
4598 | 24 | #========================================================= | ||
4599 | 25 | # | ||
4600 | 26 | #========================================================= | ||
4601 | 27 | # Menu system | | ||
4602 | 28 | #========================================================= | ||
4603 | 29 | |||
4604 | 30 | style "newwave-menubar-dark" = "newwave-menubar" | ||
4605 | 31 | { | ||
4606 | 32 | |||
4607 | 33 | engine "pixmap" | ||
4608 | 34 | { | ||
4609 | 35 | image | ||
4610 | 36 | { | ||
4611 | 37 | function = BOX | ||
4612 | 38 | recolorable = TRUE | ||
4613 | 39 | state = PRELIGHT | ||
4614 | 40 | file = "Images/MenuMenubar/mb-item-dark.png" | ||
4615 | 41 | border = { 2, 2, 4, 2 } | ||
4616 | 42 | stretch = TRUE | ||
4617 | 43 | } | ||
4618 | 44 | } | ||
4619 | 45 | } | ||
4620 | 46 | |||
4621 | 47 | style "newwave-dark-menu" | ||
4622 | 48 | { | ||
4623 | 49 | xthickness = 1 | ||
4624 | 50 | ythickness = 3 | ||
4625 | 51 | |||
4626 | 52 | bg[NORMAL] = "#ffffff" | ||
4627 | 53 | base[NORMAL] = "#ffffff" | ||
4628 | 54 | |||
4629 | 55 | #Dark scheme | ||
4630 | 56 | fg[NORMAL] = @bg_color | ||
4631 | 57 | fg[PRELIGHT] = @fg_color | ||
4632 | 58 | fg[ACTIVE] = lighter(@bg_color) | ||
4633 | 59 | fg[SELECTED] = lighter(@bg_color) | ||
4634 | 60 | fg[INSENSITIVE] = darker("#7a7878") | ||
4635 | 61 | |||
4636 | 62 | bg[NORMAL] = "#7a7878" | ||
4637 | 63 | bg[PRELIGHT] = "#7a7878" | ||
4638 | 64 | bg[ACTIVE] = "#7a7878" | ||
4639 | 65 | bg[SELECTED] = darker("#7a7878") | ||
4640 | 66 | |||
4641 | 67 | engine "pixmap" | ||
4642 | 68 | { | ||
4643 | 69 | image | ||
4644 | 70 | { | ||
4645 | 71 | function = BOX | ||
4646 | 72 | recolorable = TRUE | ||
4647 | 73 | detail = "menu" | ||
4648 | 74 | shadow = OUT | ||
4649 | 75 | file = "Images/MenuMenubar/menu.png" | ||
4650 | 76 | border = { 1, 1, 2, 1 } | ||
4651 | 77 | stretch = TRUE | ||
4652 | 78 | } | ||
4653 | 79 | } | ||
4654 | 80 | } | ||
4655 | 81 | |||
4656 | 82 | style "newwave-dark-menu-item" | ||
4657 | 83 | { | ||
4658 | 84 | xthickness = 0 | ||
4659 | 85 | ythickness = 3 | ||
4660 | 86 | |||
4661 | 87 | #Dark scheme | ||
4662 | 88 | fg[NORMAL] = "#ffffff" | ||
4663 | 89 | fg[PRELIGHT] = @fg_color | ||
4664 | 90 | fg[INSENSITIVE] = darker("#696969") | ||
4665 | 91 | |||
4666 | 92 | bg[NORMAL] = "#696969" | ||
4667 | 93 | bg[ACTIVE] = shade(1.05,"#696969") | ||
4668 | 94 | bg[SELECTED] = shade(1.05,"#696969") | ||
4669 | 95 | bg[INSENSITIVE] = "#696969" | ||
4670 | 96 | |||
4671 | 97 | |||
4672 | 98 | engine "pixmap" | ||
4673 | 99 | { | ||
4674 | 100 | image | ||
4675 | 101 | { | ||
4676 | 102 | function = BOX | ||
4677 | 103 | recolorable = TRUE | ||
4678 | 104 | file = "Images/MenuMenubar/menuitem-dark.png" | ||
4679 | 105 | border = { 4, 4, 4, 4 } | ||
4680 | 106 | stretch = TRUE | ||
4681 | 107 | } | ||
4682 | 108 | image | ||
4683 | 109 | { | ||
4684 | 110 | function = ARROW | ||
4685 | 111 | recolorable = TRUE | ||
4686 | 112 | state = NORMAL | ||
4687 | 113 | overlay_file = "Images/Arrows/arrow-right.png" | ||
4688 | 114 | overlay_stretch = FALSE | ||
4689 | 115 | arrow_direction = RIGHT | ||
4690 | 116 | } | ||
4691 | 117 | image | ||
4692 | 118 | { | ||
4693 | 119 | function = ARROW | ||
4694 | 120 | recolorable = TRUE | ||
4695 | 121 | state = PRELIGHT | ||
4696 | 122 | overlay_file = "Images/Arrows/arrow-right-prelight.png" | ||
4697 | 123 | overlay_stretch = FALSE | ||
4698 | 124 | arrow_direction = RIGHT | ||
4699 | 125 | } | ||
4700 | 126 | image | ||
4701 | 127 | { | ||
4702 | 128 | function = ARROW | ||
4703 | 129 | recolorable = TRUE | ||
4704 | 130 | state = INSENSITIVE | ||
4705 | 131 | overlay_file = "Images/Arrows/arrow-right-insens.png" | ||
4706 | 132 | overlay_stretch = FALSE | ||
4707 | 133 | arrow_direction = RIGHT | ||
4708 | 134 | } | ||
4709 | 135 | } | ||
4710 | 136 | } | ||
4711 | 137 | |||
4712 | 138 | style "newwave-dark-tearoff-menu-item" = "newwave-dark-menu-item" | ||
4713 | 139 | { | ||
4714 | 140 | engine "pixmap" | ||
4715 | 141 | { | ||
4716 | 142 | image | ||
4717 | 143 | { | ||
4718 | 144 | function = ARROW | ||
4719 | 145 | file = "Images/Arrows/arrow-left.png" | ||
4720 | 146 | stretch = TRUE | ||
4721 | 147 | arrow_direction = LEFT | ||
4722 | 148 | } | ||
4723 | 149 | } | ||
4724 | 150 | } | ||
4725 | 151 | |||
4726 | 152 | #========================================================= | ||
4727 | 153 | # Main Menu | ||
4728 | 154 | #========================================================= | ||
4729 | 155 | |||
4730 | 156 | |||
4731 | 157 | # This had to make the main menu with white bg (not working yet but will in Ibex) | ||
4732 | 158 | style "newwave-dark-panelmenu-item" | ||
4733 | 159 | { | ||
4734 | 160 | base[NORMAL] = "#ffffff" | ||
4735 | 161 | |||
4736 | 162 | fg[NORMAL] = "#ffffff" #shade(1.12, @bg_color) | ||
4737 | 163 | fg[PRELIGHT] = @fg_color | ||
4738 | 164 | fg[INSENSITIVE] = darker("#696969") | ||
4739 | 165 | |||
4740 | 166 | bg[NORMAL] = "#696969" | ||
4741 | 167 | bg[ACTIVE] = shade(1.05,"#696969") | ||
4742 | 168 | bg[SELECTED] = shade(1.05,"#696969") | ||
4743 | 169 | bg[INSENSITIVE] = "#696969" | ||
4744 | 170 | |||
4745 | 171 | text[NORMAL] = @text_color | ||
4746 | 172 | text[PRELIGHT] = @text_color | ||
4747 | 173 | text[ACTIVE] = @text_color | ||
4748 | 174 | text[SELECTED] = @text_color | ||
4749 | 175 | text[INSENSITIVE] = "#696969" | ||
4750 | 176 | |||
4751 | 177 | engine "pixmap" | ||
4752 | 178 | { | ||
4753 | 179 | image | ||
4754 | 180 | { | ||
4755 | 181 | function = BOX | ||
4756 | 182 | recolorable = TRUE | ||
4757 | 183 | file = "Images/MenuMenubar/menuitem-dark.png" | ||
4758 | 184 | border = { 2, 2, 2, 2 } | ||
4759 | 185 | stretch = TRUE | ||
4760 | 186 | } | ||
4761 | 187 | image | ||
4762 | 188 | { | ||
4763 | 189 | function = ARROW | ||
4764 | 190 | recolorable = TRUE | ||
4765 | 191 | state = NORMAL | ||
4766 | 192 | overlay_file = "Images/Arrows/arrow-right.png" | ||
4767 | 193 | overlay_stretch = FALSE | ||
4768 | 194 | arrow_direction = RIGHT | ||
4769 | 195 | } | ||
4770 | 196 | image | ||
4771 | 197 | { | ||
4772 | 198 | function = ARROW | ||
4773 | 199 | recolorable = TRUE | ||
4774 | 200 | state = PRELIGHT | ||
4775 | 201 | overlay_file = "Images/Arrows/arrow-right-prelight.png" | ||
4776 | 202 | overlay_stretch = FALSE | ||
4777 | 203 | arrow_direction = RIGHT | ||
4778 | 204 | } | ||
4779 | 205 | image | ||
4780 | 206 | { | ||
4781 | 207 | function = ARROW | ||
4782 | 208 | recolorable = TRUE | ||
4783 | 209 | state = INSENSITIVE | ||
4784 | 210 | overlay_file = "Images/Arrows/arrow-right-insens.png" | ||
4785 | 211 | overlay_stretch = FALSE | ||
4786 | 212 | arrow_direction = RIGHT | ||
4787 | 213 | } | ||
4788 | 214 | } | ||
4789 | 215 | |||
4790 | 216 | } | ||
4791 | 217 | widget "*.gnome-panel-main-menu.*" style :highest "newwave-dark-panelmenu-item" | ||
4792 | 218 | |||
4793 | 219 | style "newwave-dark-panelmenu" = "newwave-dark-menu" | ||
4794 | 220 | { | ||
4795 | 221 | base[NORMAL] = "#F5F5F5" | ||
4796 | 222 | |||
4797 | 223 | |||
4798 | 224 | text[NORMAL] = @text_color | ||
4799 | 225 | text[PRELIGHT] = @text_color | ||
4800 | 226 | text[ACTIVE] = @text_color | ||
4801 | 227 | text[SELECTED] = @text_color | ||
4802 | 228 | text[INSENSITIVE] = "#696969" | ||
4803 | 229 | |||
4804 | 230 | fg[NORMAL] = @bg_color | ||
4805 | 231 | fg[PRELIGHT] = lighter(@bg_color) | ||
4806 | 232 | fg[ACTIVE] = lighter(@bg_color) | ||
4807 | 233 | fg[SELECTED] = lighter(@bg_color) | ||
4808 | 234 | fg[INSENSITIVE] = darker("#7a7878") | ||
4809 | 235 | |||
4810 | 236 | bg[NORMAL] = "#706E6E" | ||
4811 | 237 | bg[PRELIGHT] = "#7a7878" | ||
4812 | 238 | bg[ACTIVE] = "#7a7878" | ||
4813 | 239 | bg[SELECTED] = darker("#7a7878") | ||
4814 | 240 | |||
4815 | 241 | |||
4816 | 242 | engine "pixmap" | ||
4817 | 243 | { | ||
4818 | 244 | image | ||
4819 | 245 | { | ||
4820 | 246 | function = BOX | ||
4821 | 247 | recolorable = TRUE | ||
4822 | 248 | file = "Images/MenuMenubar/menu.png" | ||
4823 | 249 | border = { 1, 1, 1, 1 } | ||
4824 | 250 | stretch = TRUE | ||
4825 | 251 | } | ||
4826 | 252 | } | ||
4827 | 253 | } | ||
4828 | 254 | widget "*.gnome-panel-main-menu" style :highest "newwave-dark-panelmenu" | ||
4829 | 255 | |||
4830 | 256 | |||
4831 | 257 | # Other fixes | ||
4832 | 258 | |||
4833 | 259 | |||
4834 | 260 | style "newwave-combobox-text-color-workaround-dark" | ||
4835 | 261 | { | ||
4836 | 262 | text[NORMAL] = @fg_color | ||
4837 | 263 | text[PRELIGHT] = @fg_color | ||
4838 | 264 | text[SELECTED] = @selected_fg_color | ||
4839 | 265 | text[ACTIVE] = @fg_color | ||
4840 | 266 | text[INSENSITIVE] = darker (@bg_color) | ||
4841 | 267 | } | ||
4842 | 268 | widget_class "*.<GtkComboBox>.<GtkCellView>" style :highest "newwave-combobox-text-color-workaround-dark" | ||
4843 | 269 | |||
4844 | 270 | |||
4845 | 271 | style "newwave-menuitem-text-is-fg-color-workaround-dark" | ||
4846 | 272 | { | ||
4847 | 273 | text[NORMAL] = "#ffffff" | ||
4848 | 274 | text[PRELIGHT] = @fg_color | ||
4849 | 275 | text[SELECTED] = lighter(@bg_color) | ||
4850 | 276 | text[ACTIVE] = lighter(@bg_color) | ||
4851 | 277 | text[INSENSITIVE] = darker("#7a7878") | ||
4852 | 278 | |||
4853 | 279 | fg[NORMAL] = "#ffffff" #shade(1.12, @bg_color) | ||
4854 | 280 | fg[PRELIGHT] = @fg_color | ||
4855 | 281 | fg[INSENSITIVE] = darker("#696969") | ||
4856 | 282 | |||
4857 | 283 | bg[NORMAL] = "#696969" | ||
4858 | 284 | bg[ACTIVE] = shade(1.05,"#696969") | ||
4859 | 285 | bg[SELECTED] = shade(1.05,"#696969") | ||
4860 | 286 | bg[INSENSITIVE] = "#696969" | ||
4861 | 287 | |||
4862 | 288 | engine "pixmap" | ||
4863 | 289 | { | ||
4864 | 290 | image | ||
4865 | 291 | { | ||
4866 | 292 | function = BOX | ||
4867 | 293 | recolorable = TRUE | ||
4868 | 294 | file = "Images/MenuMenubar/menuitem-dark.png" | ||
4869 | 295 | border = { 2, 2, 2, 2 } | ||
4870 | 296 | stretch = TRUE | ||
4871 | 297 | } | ||
4872 | 298 | } | ||
4873 | 299 | |||
4874 | 300 | } | ||
4875 | 301 | widget "*.gtk-combobox-popup-menu.*" style :highest "newwave-menuitem-text-is-fg-color-workaround-dark" | ||
4876 | 302 | |||
4877 | 303 | style "newwave-dark-popupmenu-workaround" | ||
4878 | 304 | { | ||
4879 | 305 | text[NORMAL] = @bg_color | ||
4880 | 306 | text[PRELIGHT] = lighter(@bg_color) | ||
4881 | 307 | text[SELECTED] = lighter(@bg_color) | ||
4882 | 308 | text[ACTIVE] = lighter(@bg_color) | ||
4883 | 309 | text[INSENSITIVE] = darker("#7a7878") | ||
4884 | 310 | |||
4885 | 311 | fg[NORMAL] = @bg_color | ||
4886 | 312 | fg[PRELIGHT] = lighter(@bg_color) | ||
4887 | 313 | fg[ACTIVE] = lighter(@bg_color) | ||
4888 | 314 | fg[SELECTED] = lighter(@bg_color) | ||
4889 | 315 | fg[INSENSITIVE] = darker("#7a7878") | ||
4890 | 316 | |||
4891 | 317 | bg[NORMAL] = "#7a7878" | ||
4892 | 318 | bg[PRELIGHT] = "#7a7878" | ||
4893 | 319 | bg[ACTIVE] = "#7a7878" | ||
4894 | 320 | bg[SELECTED] = darker("#7a7878") | ||
4895 | 321 | |||
4896 | 322 | engine "pixmap" | ||
4897 | 323 | { | ||
4898 | 324 | image | ||
4899 | 325 | { | ||
4900 | 326 | function = BOX | ||
4901 | 327 | recolorable = TRUE | ||
4902 | 328 | file = "Images/MenuMenubar/menu.png" | ||
4903 | 329 | border = { 1, 1, 1, 1 } | ||
4904 | 330 | stretch = TRUE | ||
4905 | 331 | } | ||
4906 | 332 | } | ||
4907 | 333 | } | ||
4908 | 334 | |||
4909 | 335 | widget "*.gtk-combobox-popup-menu" style :highest "newwave-dark-popupmenu-workaround" | ||
4910 | 336 | |||
4911 | 337 | |||
4912 | 338 | |||
4913 | 339 | widget_class "*<GtkMenu>.<GtkMenuItem>*" style "newwave-dark-menu-item" | ||
4914 | 340 | widget_class"*.GtkAccelMenuItem.*" style "newwave-dark-menu-item" | ||
4915 | 341 | widget_class "*<GtkMenu>*" style "newwave-dark-menu" | ||
4916 | 342 | class "GtkTearoffMenuItem" style "newwave-dark-menu-item" | ||
4917 | 343 | class "GtkMenuItem" style "newwave-dark-menu-item" | ||
4918 | 344 | class "GtkImageMenuItem" style "newwave-dark-menu-item" | ||
4919 | 345 | class "GtkItem" style "newwave-dark-menu-item" | ||
4920 | 346 | |||
4921 | 347 | widget_class "*<GtkMenuBar>*" style "newwave-menubar-dark" | ||
4922 | 348 | class "GtkMenuBar" style "newwave-menubar-dark" | ||
4923 | 349 | widget_class "GtkMenuBar" style "newwave-menubar-dark" | ||
4924 | 350 | class "*MenuBar*" style "newwave-menubar-dark" | ||
4925 | 351 | widget_class "*MenuBar*" style "newwave-menubar-dark" | ||
4926 | 352 | |||
4927 | 353 | |||
4928 | 0 | 354 | ||
4929 | === modified file 'debian/changelog' | |||
4930 | --- debian/changelog 2009-03-13 18:28:53 +0000 | |||
4931 | +++ debian/changelog 2009-03-14 22:26:33 +0000 | |||
4932 | @@ -1,3 +1,17 @@ | |||
4933 | 1 | gnome-themes-ubuntu (0.2) jaunty; urgency=low | ||
4934 | 2 | |||
4935 | 3 | * Add "New Wave Dark Menus" from lp:anton | ||
4936 | 4 | - gtk theme only, not "meta theme" | ||
4937 | 5 | - create link to images in "New Wave" | ||
4938 | 6 | - debian/copyright: Change "Files: NewWave/*" | ||
4939 | 7 | to "Files: NewWave*/*" | ||
4940 | 8 | * debian/control: | ||
4941 | 9 | - Versionize Conflicts: community-themes (<= 0.13) | ||
4942 | 10 | in order to allow future releases not containting | ||
4943 | 11 | Dust and New Wave. | ||
4944 | 12 | |||
4945 | 13 | -- Andrew Starr-Bochicchio <a.starr.b@gmail.com> Sat, 14 Mar 2009 17:43:57 -0400 | ||
4946 | 14 | |||
4947 | 1 | gnome-themes-ubuntu (0.1) jaunty; urgency=low | 15 | gnome-themes-ubuntu (0.1) jaunty; urgency=low |
4948 | 2 | 16 | ||
4949 | 3 | * Initial release: (LP: #335888) | 17 | * Initial release: (LP: #335888) |
4950 | 4 | 18 | ||
4951 | === modified file 'debian/control' | |||
4952 | --- debian/control 2009-03-11 10:26:48 +0000 | |||
4953 | +++ debian/control 2009-03-14 22:26:33 +0000 | |||
4954 | @@ -9,7 +9,7 @@ | |||
4955 | 9 | Package: gnome-themes-ubuntu | 9 | Package: gnome-themes-ubuntu |
4956 | 10 | Architecture: all | 10 | Architecture: all |
4957 | 11 | Depends: gtk2-engines, gtk2-engines-pixbuf | 11 | Depends: gtk2-engines, gtk2-engines-pixbuf |
4959 | 12 | Conflicts: community-themes | 12 | Conflicts: community-themes (<= 0.13) |
4960 | 13 | Description: Ubuntu community themes | 13 | Description: Ubuntu community themes |
4961 | 14 | This package contains a few nice contributed themes for the GNOME | 14 | This package contains a few nice contributed themes for the GNOME |
4962 | 15 | desktop: | 15 | desktop: |
4963 | 16 | 16 | ||
4964 | === modified file 'debian/copyright' | |||
4965 | --- debian/copyright 2009-03-13 18:28:07 +0000 | |||
4966 | +++ debian/copyright 2009-03-14 22:23:13 +0000 | |||
4967 | @@ -8,7 +8,7 @@ | |||
4968 | 8 | The full text of the GPL is distributed as in | 8 | The full text of the GPL is distributed as in |
4969 | 9 | /usr/share/common-licenses/GPL-3 on Debian systems. | 9 | /usr/share/common-licenses/GPL-3 on Debian systems. |
4970 | 10 | 10 | ||
4972 | 11 | Files: NewWave/* | 11 | Files: NewWave*/* |
4973 | 12 | Copyright: Copyright 2008 Anton Kerezov | 12 | Copyright: Copyright 2008 Anton Kerezov |
4974 | 13 | License: CC-BY-SA 2.5 | 13 | License: CC-BY-SA 2.5 |
4975 | 14 | ---------------------------------------------------------- | 14 | ---------------------------------------------------------- |
As discussed in Bug #335888, it may be possible to add the New Wave Dark Menus gtk theme to this package (not the meta theme). This branch does so by only adding the needed gtkrc files and linking the image folder to the normal New Wave image folder. I have built and tested this locally with no issues.
Additionally, I also versionize the conflicts on community-themes to <= 0.13 in order to allow a future community-themes package without New Wave or Dust. (I don't know if this is actually happening, but it was mentioned in the bug report.)