~andrewsomething/gnome-themes/new-wave-dark-menus

« back to all changes in this revision

Viewing changes to New Wave Dark Menus/gtk-2.0/default-gtkrc

  • Committer: Andrewsomething
  • Date: 2009-03-14 22:23:13 UTC
  • Revision ID: a.starr.b@gmail.com-20090314222313-gmht1t0e0xmkdm3g
* Add "New Wave Dark Menus" from lp:anton
 - gtk theme only, not "meta theme"
 - create link to images in "New Wave"
 - debian/copyright: Change "Files: NewWave/*"
   to "Files: NewWave*/*"

 -- Andrew Starr-Bochicchio <a.starr.b@gmail.com>Sat, 14 Mar 2009 17:43:57 -0400

Show diffs side-by-side

added added

removed removed

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