Bwidget Source Code
Check-in [f071091370]
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:sample ttk themes
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f071091370a7518ce2b01133dd4877f1bb46e0e3
User & Date: oberdorfer 2009-09-09 19:29:11
Context
2009-09-09
19:35
color declaration doesn't work for winxp64 - deleted! check-in: f61e385b73 user: oberdorfer tags: trunk
19:29
sample ttk themes check-in: f071091370 user: oberdorfer tags: trunk
19:18
sample ttk themes check-in: 565cdf4698 user: oberdorfer tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added demo/themes/aquativo/aquativo.tcl.




















































































































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
# aquativo --
#
#   Copyright (C) 2004 Pat Thoyts <[email protected]>
#
#   Import the aquativo Gtk theme (C) Andrew Wyatt, FEWT Software
#   Original: http://www.fewt.com
#   Link: http://art.gnome.org/themes/gtk2/432.php
# ------------------------------------------------------------------------------
# Revision change history:
#   $Id: aquativo.tcl,v 1.1 2009/09/09 19:30:56 oberdorfer Exp $
#
#   Aug.'08: code refractured for the use with >= tk8.5,
#            [email protected]
# ------------------------------------------------------------------------------

package require Tk 8.4;                 # minimum version for Tile
package require tile;                   # depends upon tile

namespace eval ttk {
  namespace eval theme {
    namespace eval aquativo {
      variable version 0.0.1
    }
  }
}

# TkDefaultFont", "TkTextFont" and "TkMenuFont
#   font create System {*}[font actual System] 
#   font configure System -size 16 -weight bold


namespace eval ttk::theme::aquativo {
  
  variable imgdir [file join [file dirname [info script]] aquativo gtk-2.0]
  variable I
  
  if {[info commands ::ttk::style] ne ""} {
    set styleCmd ttk::style
  } else {
    set styleCmd style
  }
  
  proc LoadImages {imgdir {patterns {*.gif}}} {
    foreach pattern $patterns {
      foreach file [glob -directory $imgdir $pattern] {
        set img [file tail [file rootname $file]]
        # puts "--> $img"
        if {![info exists images($img)]} {
          set images($img) [image create photo -file $file]
        }
      }
    }
    return [array get images]
  }
  
  array set I [LoadImages $imgdir "*.gif"]
  
  
  # "-parent" option controls the treeview "+" icon (collapse/expand)
  # at the beginning of each tree node
  
  $styleCmd theme create aquativo -settings {
    
    # Defaults
    
    $styleCmd configure "." \
        -font TkDefaultFont \
        -background "#fafafa" \
        -foreground "Black"
    
    # I really like the mapping options!
    $styleCmd map "." \
        -foreground { disabled "#565248" } \
        -background { disabled "#e3e1dd"
          pressed  "#bab5ab"
          active   "#c1d2ee" }
    
    # $styleCmd layout TButton {
    #  Button.button -children { Button.focus -children { Button.label } }
    # }
    
    $styleCmd configure TButton -padding {1 1} -width -11
    
    # Troughs

    # ttk::style layout Horizontal.TScrollbar:
    # Horizontal.Scrollbar.trough -sticky we -children {
    #   Horizontal.Scrollbar.leftarrow -side left -sticky {}
    #   Horizontal.Scrollbar.rightarrow -side right -sticky {}
    #   Horizontal.Scrollbar.thumb -expand 1 -sticky nswe
    # }

    # $styleCmd element create trough image $I(horizontal_trough) \
    #    -border 3

    $styleCmd element create Horizontal.Scrollbar.trough \
        image $I(horizontal_trough) -border 0 -sticky ew

    $styleCmd element create Vertical.Scrollbar.trough \
        image $I(vertical_trough) -border 0

    $styleCmd element create Vertical.Scale.trough \
        image $I(vertical_trough) -border 2
    $styleCmd element create Progress.trough \
        image $I(vertical_trough) -border 2
    
    # Buttons, Checkbuttons and Radiobuttons
    
    $styleCmd layout TButton {
      Button.background
      Button.button -children {
        Button.focus -children {
          Button.label
        }
      }
    }
    
    $styleCmd element create Button.button image \
        [list $I(buttonNorm) pressed $I(buttonPressed) active $I(button)] \
        -border {4 4} -padding 3 -sticky nsew
    
    $styleCmd element create Checkbutton.indicator image \
        [list $I(checkbox_unchecked) selected $I(checkbox_checked)] \
        -width 20 -sticky w
    $styleCmd element create Radiobutton.indicator image \
        [list $I(option_out) selected $I(option_in)] \
        -width 20 -sticky w
    
    # Menubuttons:
    
    $styleCmd element create Menubutton.button image \
        [list $I(menubar_option) ] \
        -border {7 10 29 15} -padding {7 4 29 4} -sticky news
    
    $styleCmd element create Menubutton.indicator image \
        [list $I(menubar_option_arrow) disabled $I(menubar_option_arrow_insensitive)] \
        -width 11 -sticky w -padding {0 0 18 0}
    
    # Scrollbar

    $styleCmd element create Horizontal.Scrollbar.thumb \
        image $I(scrollbar_horizontal) -border 7 -width 15 -height 0 -sticky nsew

    #$styleCmd element create Horizontal.Scrollbar.thumb \
    #    image [list $I(scrollbar_horizontal) \
	#       !selected $I(scrollbar_horizontal_inactive) \
	#       pressed  $I(scrollbar_horizontal)] -border 7 -width 15 -height 0 -sticky nsew

    $styleCmd element create Vertical.Scrollbar.thumb \
        image $I(scrollbar_vertical) -border 7 -width 0 -height 15 -sticky nsew
    
    # Scale
    
    $styleCmd element create Horizontal.Scale.slider \
        image $I(scrollbar_horizontal) \
        -border 3 -width 30 -height 16
    
    $styleCmd element create Vertical.Scale.slider \
        image $I(scrollbar_vertical) \
        -border 3 -width 16 -height 30
    
    # Progress
    
    $styleCmd element create Progress.bar image $I(progressbar)
    
    # Arrows
    
    $styleCmd element create uparrow image \
        [list $I(arrow_up_normal) \
        pressed $I(arrow_up_active) \
        disabled $I(arrow_up_insensitive)]
    $styleCmd element create downarrow image \
        [list $I(arrow_down_normal) \
        pressed $I(arrow_down_active) \
        disabled $I(arrow_down_insensitive)]
    $styleCmd element create leftarrow image \
        [list $I(arrow_left_normal) \
        pressed $I(arrow_left_active) \
        disabled $I(arrow_left_insensitive)]
    $styleCmd element create rightarrow image \
        [list $I(arrow_right_normal) \
        pressed $I(arrow_right_active) \
        disabled $I(arrow_right_insensitive)]
    
    # Notebook parts
    
    $styleCmd element create tab image \
        [list $I(notebook) selected  $I(notebook_active)] \
        -sticky news \
        -border {10 6 10 6} -height 10
    
    $styleCmd configure TNotebook.Tab -padding {2 2}
    $styleCmd configure TNotebook -expandtab {2 2}
    
    
    # Labelframes
    
    $styleCmd configure TLabelframe -borderwidth 2 -relief groove
  }
}

namespace eval ::tablelist:: {

    proc aquativoTheme {} {
      variable themeDefaults
      array set themeDefaults [list \
	-background		white \
	-foreground		black \
	-disabledforeground	black \
	-stripebackground	#EDF3FE \
	-selectbackground	#000000 \
	-selectforeground	#ffffff \
	-selectborderwidth	0 \
	-font			TkTextFont \
        -labelbackground	#fafafa \
	-labeldisabledBg	#fafafa \
	-labelactiveBg		#fafafa \
	-labelpressedBg		#fafafa \
	-labelforeground	black \
	-labeldisabledFg	black \
	-labelactiveFg		black \
	-labelpressedFg		black \
	-labelfont		TkDefaultFont \
	-labelborderwidth	2 \
	-labelpady		1 \
	-arrowcolor		#777777 \
	-arrowstyle		flat7x7 \
	-showseparators         yes \
      ]
   }
}


package provide ttk::theme::aquativo $::ttk::theme::aquativo::version

Added demo/themes/aquativo/aquativo/README.
















>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
Aquativo - Theme for GNOME2
(C) Andrew Wyatt, FEWT Software
http://www.fewt.com

01/22/2004 - Version 2.0
05/29/2003 - Cleaned up titlebar, scrollers, checkboxes, and option buttons
05/28/2003 - Initial release

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_down_active.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_down_clicked.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_down_insensitive.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_down_normal.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_left_active.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_left_clicked.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_left_insensitive.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_left_normal.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_right_active.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_right_clicked.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_right_insensitive.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_right_normal.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_up_active.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_up_clicked.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_up_insensitive.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/arrow_up_normal.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/button.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/buttonNorm.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/buttonPressed.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/button_up_normal.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/checkbox_checked.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/checkbox_unchecked.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/clear.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/entry-shadow-in.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/gtkrc.


























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
include "../icons/iconrc"
#include "fix-librsvg-engine-with-pixmap-engine"

style "default"
{
    font = "-*-helvetica-medium-r-normal--10-*-*-*-*-*-*-*"
    #fg[NORMAL]      = { 0.00, 0.00, 0.00 }
    fg[PRELIGHT]    = { 0.00, 0.00, 0.00 }
    fg[ACTIVE]      = { 0.00, 0.00, 0.00 }
    fg[SELECTED]    = { 1.00, 1.00, 1.00 }
    fg[INSENSITIVE] = { 0.70, 0.70, 0.70 }
                                                                                                                            
    bg[NORMAL]      = "#ffffff"
    bg[PRELIGHT]    = "#ffffff"
    bg[ACTIVE]      = "#ffffff"
    bg[INSENSITIVE] = "#ffffff"
    bg[SELECTED]    = "#1376d3"
                                                                                                                            
    base[NORMAL]    = "#ffffff"
    base[SELECTED]  = "#1376d3"
    base[ACTIVE]    = "#5e7ab7"
                                                                                                                            
    #fg[NORMAL]  = "#ffffff"
    text[SELECTED]  = "#ffffff"
    text[ACTIVE]    = "#ffffff"
  bg_pixmap[NORMAL]     = "menubar_background.png"
  bg_pixmap[PRELIGHT]   = "menubar_background.png"
  bg_pixmap[ACTIVE]     = "menubar_background.png"
  bg_pixmap[INSENSITIVE]= "menubar_background.png"

	GtkRange::slider_width = 16
	GtkRange::stepper_size = 16
	GtkScrollbar::min_slider_length = 15
	GtkRadioButton::indicator_size=15
	GtkStatusbar::shadow_type = none


    engine "pixmap"
    {


        image {
            function        = ARROW
            recolorable     = TRUE
            state           = NORMAL
            overlay_file    = "arrow_up_normal.png"
            overlay_stretch = FALSE
            arrow_direction = UP
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            state           = PRELIGHT
            overlay_file    = "arrow_up_normal.png"
            overlay_stretch = FALSE
            arrow_direction = UP
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            shadow          = IN
            overlay_file    = "arrow_up_clicked.png"
            overlay_stretch = FALSE
            arrow_direction = UP
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            state           = INSENSITIVE
            overlay_file    = "arrow_up_normal.png"
            overlay_stretch = FALSE
            arrow_direction = UP
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            state           = NORMAL
            overlay_file    = "arrow_down_normal.png"
            overlay_stretch = FALSE
            arrow_direction = DOWN
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            state           = PRELIGHT
            overlay_file    = "arrow_down_normal.png"
            overlay_stretch = FALSE
            arrow_direction = DOWN
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            shadow          = IN
            overlay_file    = "arrow_down_clicked.png"
            overlay_stretch = FALSE
            arrow_direction = DOWN
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            state           = INSENSITIVE
            overlay_file    = "arrow_down_normal.png"
            overlay_stretch = FALSE
            arrow_direction = DOWN
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            state           = NORMAL
            overlay_file    = "arrow_left_normal.png"
            overlay_stretch = FALSE
            arrow_direction = LEFT
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            state           = PRELIGHT
            overlay_file    = "arrow_left_normal.png"
            overlay_stretch = FALSE
            arrow_direction = LEFT
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            shadow          = IN
            overlay_file    = "arrow_left_clicked.png"
            overlay_stretch = FALSE
            arrow_direction = LEFT
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            state           = INSENSITIVE
            overlay_file    = "arrow_left_normal.png"
            overlay_stretch = FALSE
            arrow_direction = LEFT
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            state           = NORMAL
            overlay_file    = "arrow_right_normal.png"
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            state           = PRELIGHT
            overlay_file    = "arrow_right_normal.png"
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            shadow          = IN
            overlay_file    = "arrow_right_clicked.png"
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }
        image {
            function        = ARROW
            recolorable     = TRUE
            state           = INSENSITIVE
            overlay_file    = "arrow_right_normal.png"
            overlay_stretch = FALSE
            arrow_direction = RIGHT
        }
    }
}


style "button"
{
	engine "pixmap" 
	{
               image {
                    function        = CHECK
                    recolorable     = TRUE
                    shadow          = OUT
                    overlay_file    = "checkbox_unchecked.png"
		    overlay_border  = { 22, 22, 6, 6 }
                    overlay_stretch = FALSE
                }
                image {
                    function        = CHECK
                    recolorable     = TRUE
                    shadow          = IN
                    overlay_file    = "checkbox_checked.png"
		    overlay_border  = { 22, 22, 6, 6 }
                    overlay_stretch = FALSE
                }
	        image {
	            function        = OPTION
	            recolorable     = TRUE
	            shadow          = OUT
	            overlay_file    = "option_out.png"
	            overlay_border  = { 0, 0, 0, 0 }
	            overlay_stretch = FALSE
	        }
	        image {
	            function        = OPTION
	            recolorable     = TRUE
	            shadow          = IN
	            overlay_file    = "option_in.png"
	            overlay_border  = { 0, 0, 0, 0 }
	            overlay_stretch = FALSE
	        }

		image 
      		{
		        function        	= BOX
			recolorable     	= TRUE
			state           	= PRELIGHT
			shadow          	= OUT
			file			= "button.png"
			border         	= {7,7,7,7}
			stretch         	= TRUE
		}
		image 
		{
		        function        	= BOX
			recolorable     	= TRUE
			state           	= NORMAL
			shadow          	= OUT
			file			= "buttonNorm.png"
			border         	= {7,7,7,7}
			stretch         	= TRUE
		}
		image 
		{
		        function		= BOX
			recolorable     	= TRUE
			state		= INSENSITIVE
			file            	= "buttonPressed.png"
			border          	= { 7,7,7,7 }
			stretch         	= TRUE
		}
		image 
		{
		        function        	= BOX
			recolorable     	= TRUE
			state		= PRELIGHT
			file            	= "buttonPressed.png"
			border          	= { 7,7,7,7 }
			stretch         	= TRUE
		}
		image
		{
		        function       	= BOX
			recolorable     	= TRUE
			state		= ACTIVE
			file            	= "buttonPressed.png"
			border          	= { 7,7,7,7 }
			stretch         	= TRUE
		}
		image
		{
		        function       	= BOX
			recolorable     	= TRUE
			shadow 		= IN
			state		= SELECTED
			file            	= "buttonPressed.png"
			border          	= { 7,7,7,7 }
			stretch         	= TRUE
		}
	}	
}

style "togglebuttons" = "default"
{
#	engine "mist" { }
}

style "CheckRadioButton" {
    engine "pixmap" {
        image {
            function        = FLAT_BOX
            recolorable     = TRUE
        }
    }
}



style "thin"
{
	ythickness = 1
	xthickness = 1
}

style "menubar" 
{
	ythickness=0
	xthickness=0
	GtkContainer::border_width=0
	#bg[NORMAL]              = "#e9eaec" #MenuBarbackgroundcolor
	#bg[NORMAL] = "#ffffff"

}

style "optionmenu"
{
	engine "pixmap" 
	{

		image 
		{
			function      = BOX
			recolorable  = TRUE
			state           = NORMAL
			file              = "pullDownMenu.png"
			border         = { 6,20,6,6 }
			stretch        = TRUE
      		}
                image
                {
                        function      = BOX
                        recolorable  = TRUE
                        state           = PRELIGHT
                        file              = "pullDownMenu.png"
                        border         = { 6,20,6,6 }
                        stretch        = TRUE
                }
	        image {
	            	function        = TAB
	            	recolorable     = TRUE
	            	overlay_file    = "menubar_option_arrow.png"
	            	overlay_stretch = FALSE
	        }
	        image {
	            	function        = TAB
	            	recolorable     = TRUE
	            	state           = INSENSITIVE
	            	overlay_file    = "menubar_option_arrow.png"
	            	overlay_stretch = FALSE
	        }

	}
}

style "Notebook" {
                                                                                                                                              
  xthickness = 1
  ythickness = 1

    engine "pixmap" {
        image {
            function        = EXTENSION
            recolorable     = TRUE
            state           = ACTIVE
            file            = "notebook_inactive.png"
            border          = { 10, 10, 10, 10 }
            stretch         = TRUE
            gap_side        = BOTTOM
        }
        image {
            function        = EXTENSION
            recolorable     = TRUE
            file            = "notebook_active.png"
            border          = { 10, 10, 10, 10 }
            stretch         = TRUE
            gap_side        = BOTTOM 
        }
    image
      {
        function                        = BOX_GAP
        recolorable             = TRUE
        file                            = "notebook.png"
        border                  = { 10, 10, 10, 10 }
        stretch                 = TRUE

      }
    image
      {
        function                        = BOX
        recolorable             = TRUE
        file                            = "notebook.png"
        border                  = { 9, 9, 9, 9 }
        stretch                 = TRUE
        #gap_side                       = TOP
      }

    }
}



style "Scrollbar" {
    engine "pixmap" {
        image {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "vertical_trough.png"
            border          = { 2, 2, 1, 1 }
            stretch         = TRUE
            orientation     = VERTICAL
        }
        image {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "horizontal_trough.png"
            border          = { 1, 1, 2, 2 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }
        image {
            function        = SLIDER
            recolorable     = TRUE
            state           = NORMAL
            file            = "scroll_horizontal.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }
        image {
            function        = SLIDER 
            recolorable     = TRUE
            state           = PRELIGHT
            file            = "scroll_horizontal.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }
        image {
            function        = SLIDER
            recolorable     = TRUE
            state           = NORMAL
            file            = "scroll_vertical.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
            orientation     = VERTICAL
        }
        image {
            function        = SLIDER 
            recolorable     = TRUE
            state           = PRELIGHT
            file            = "scroll_vertical.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
            orientation     = VERTICAL
        }
        image {
            function        = BOX
            recolorable     = TRUE
            state           = NORMAL 
            file            = "button_up_normal.png"
            border          = { 0, 0, 0, 0 }
            stretch         = TRUE
        }
        image {
            function        = BOX
            recolorable     = TRUE
            state           = PRELIGHT
            file            = "button_up_normal.png"
            border          = { 0, 0, 0, 0 }
            stretch         = TRUE
        }
        image {
            function        = BOX
            recolorable     = TRUE
            state           = ACTIVE
            file            = "button_up_normal.png"
            border          = { 0, 0, 0, 0 }
            stretch         = TRUE
        }
    }
}


style "Scale" {
    engine "pixmap" {
        image {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "vertical_trough.png"
            border          = { 2, 2, 1, 1 }
            stretch         = TRUE
            orientation     = VERTICAL
        }
        image {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "horizontal_trough.png"
            border          = { 1, 1, 2, 2 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }
        image {
            function        = SLIDER
            recolorable     = TRUE
            state           = NORMAL
            file            = "scroll_horizontal.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }   
        image {
            function        = SLIDER 
            recolorable     = TRUE
            state           = PRELIGHT
            file            = "scroll_horizontal.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }
        image {
            function        = SLIDER
            recolorable     = TRUE
            state           = INSENSITIVE
            file            = "scroll_horizontal.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }   
        image {
            function        = SLIDER
            recolorable     = TRUE
            state           = NORMAL
            file            = "scroll_vertical.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
            orientation     = VERTICAL
        }
        image {
            function        = SLIDER
            recolorable     = TRUE
            state           = PRELIGHT
            file            = "scroll_vertical.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
            orientation     = VERTICAL
        }
        image {
            function        = SLIDER
            recolorable     = TRUE
            state           = INSENSITIVE
            file            = "scroll_vertical.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
            orientation     = VERTICAL
        }
    }
}



style "ProgressBar" {
    engine "pixmap" {
        image {
            function        = BOX
            recolorable     = TRUE
            detail          = "bar"
            file            = "progressbar.png"
            border          = { 2, 2, 2, 2 }
            stretch         = TRUE
        }
    }
}

style "MenuItem" {
    engine "pixmap" {
        image {
            function        = BOX
            recolorable     = TRUE
            file            = "menu_hi-light.png"
            border          = { 10, 10, 10, 10 }
            stretch         = TRUE
        }
    }
}


style "Window" {
    engine "pixmap" {
        image {
            function        = FLAT_BOX
            recolorable     = TRUE
            file            = "window_background.png"
            stretch         = FALSE
        }
    }
}

style "tooltips"		= "default"
{
  bg[NORMAL]		= "#fffcdb"

engine "pixmap" {
    image 
      {
        function			= FLAT_BOX
	recolorable		= TRUE
	
	file				= "tooltips.png"
	border			= { 2, 2, 2, 2 }
	stretch			= TRUE
      }
}

}

style "panelbg"
{
  xthickness            			= 0
  ythickness            			= 1
 bg_pixmap[NORMAL]					= "window_background.png"
 


}

style "toolbar"
{
	xthickness = 0
  ythickness = 0
	bg_pixmap[NORMAL]					= "window_background.png"
	engine "pixmap" {
	

		image 
		{
			function        		= SHADOW
			shadow						= OUT
			recolorable     	= TRUE
			file            					= "up2.png"
			border							= { 2,2,2,2 }
			stretch         			= TRUE
		}
		
		image 
		{
			function        		= SHADOW
			shadow						= IN
			recolorable     	= TRUE
			file            					= "in.png"
			border							= { 1,1,1,1 }
			stretch         			= TRUE
		}
			
	}
}

class "*GtkToolbar*" style "toolbar"

class "*HButtonBox*" style "toolbar"
class "*VButtonBox*" style "toolbar"
class "GtkContainer" style "toolbar"
widget_class "GtkViewport" style "toolbar"

### now I have to set the thickness of the container back to 2 pixels

style "containerthickness"
{

  xthickness = 1
  ythickness = 1
    

}
class "GtkContainer" style "containerthickness"

class "*Panel*" style "panelbg"

class "GtkWindow" style "Window"                                                               
class "GtkMenuItem" style "MenuItem"
class "GtkOptionMenu" style "optionmenu"
#class "GtkMenu" style "menu"
class "GtkScale" style "Scale"
class "GtkMenuBar" style "menubar"
class "GtkScrollbar" style "Scrollbar"
class "GtkNotebook" style "Notebook"
class "GtkProgressBar" style "ProgressBar"
class "GtkCheckButton" style "CheckRadioButton"
class "GtkRadioButton" style "CheckRadioButton"
class "GtkScrolledWindow" style "thin"
class "GtkCheckBox" style "thin"
class "GtkButton" style "button"
class "GtkWidget" style "default"
widget "gtk-tooltips"  			style "tooltips"

Added demo/themes/aquativo/aquativo/gtk-2.0/horizontal_trough.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/horizontal_trough0.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/in.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/menu_hi-light.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/menubar_option.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/menubar_option_arrow.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/menubar_option_arrow_insensitive.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/menupattern.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/nautilus_background.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/notebook.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/notebook_active.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/notebook_active_backup.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/notebook_inactive.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/null.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/option_in.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/option_out.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/progressbar.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/pullDownMenu.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/pullDownMenu_PreLight.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/scrollbar_horizontal.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/scrollbar_horizontal_inactive.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/scrollbar_vertical.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/through.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/tooltips.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/up2.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/vertical_trough.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/vertical_trough0.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/window_background.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/gtk-2.0/window_background.gif--.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/index.theme.




















>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
[Desktop Entry]
Name=Aquativo-2.0
Type=X-GNOME-Metatheme
Comment=
Encoding=UTF-8

[X-GNOME-Metatheme]
GtkTheme=Aquativo-2.0
MetacityTheme=Aquativo-2.0
IconTheme=gnome

Added demo/themes/aquativo/aquativo/metacity-1/bottom-left.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/bottom-right.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/bottom.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/button-active.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/button-close-pressed.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/button-close.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/button-inactive.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/button-max-pressed.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/button-max.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/button-min-pressed.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/button-min.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/button-tmplt.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/close_ori.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/left-edge.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/left-shade.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/left-side.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/metacity-theme-1.xml.




















































































































































































































































































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
<?xml version="1.0"?>
<metacity_theme>
<info>
  <name>Aquativo</name>
  <author>Andrew Wyatt</author>
  <copyright>&#194; Andrew Wyatt, 2003</copyright>
  <date>May 31 2003</date>
  <description>Based on the Iridium-rounded theme by >Bastien Nocera &lt;[email protected]&gt;</description>
</info>

<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true" title_scale="medium">
  <distance name="left_width" value="4"/>
  <distance name="right_width" value="4"/>
  <distance name="bottom_height" value="4"/>
  <distance name="left_titlebar_edge" value="4"/>
  <distance name="right_titlebar_edge" value="4"/>
  <distance name="button_width" value="20"/>
  <distance name="button_height" value="23"/>
  <distance name="title_vertical_pad" value="0"/>
  <border name="title_border" left="0" right="0" top="0" bottom="0"/>
  <border name="button_border" left="0" right="0" top="0" bottom="0"/>
</frame_geometry>

<frame_geometry name="borderless" rounded_top_left="true" rounded_top_right="true" parent="normal">
  <distance name="right_width" value="4"/>
  <distance name="left_width" value="4"/>
  <distance name="bottom_height" value="4"/>
</frame_geometry>

<frame_geometry name="shaded" rounded_top_left="true" rounded_top_right="true" rounded_bottom_right="true" rounded_bottom_left="true" parent="normal">
</frame_geometry>




<!-- Border and Titlebar -->

<draw_ops name="bg">

</draw_ops>

<draw_ops name="title_tile">
  <image filename="left-side.png" x="0" y="0" width="object_width" height="height" />
  <image filename="title-bar.png" x="4" y="0" width="width - 4" height="height"/>
  <image filename="right-side.png" x="width - object_width" y="0" width="object_width" height="height"/>
</draw_ops>

<draw_ops name="bottom-edge">
<image filename="bottom-left.png" x="0" y="0" width="object_width" height="height" />
<image filename="bottom.png" x="4" y="0" width="width - 4" height="height" /><image filename="bottom-right.png" x="width - object_width" y="0" width="object_width" height="height" />
</draw_ops>

<draw_ops name="left-edge">
<image filename="left-edge.png" x="0" y="0" width="width" height="height" />
</draw_ops>

<draw_ops name="shaded_tile">
 <image filename="left-shade.png" x="0" y="0" width="object_width" height="height" />
  <image filename="shade-bar.png" x="4" y="0" width="width - 4" height="height"/>
  <image filename="right-shade.png" x="width - object_width" y="0" width="object_width" height="height"/>
</draw_ops>

<draw_ops name="right-edge">
<image filename="right-edge.png" x="0" y="0" width="width" height="height" /></draw_ops>

<!-- Inactive style -->
<frame_style name="normal" geometry="normal">
  <piece position="entire_background">
    <draw_ops>
      <include name="bg"/>
   </draw_ops>
  </piece>

  <piece position="title">
    <draw_ops>
      <title color="#3d5d8d" x="(width - title_width) / 2" y="(height - title_height) / 2"/>
    </draw_ops>
  </piece>

  <piece position="titlebar">
    <draw_ops>
      <include name="title_tile"/>
    </draw_ops>
  </piece>

  <piece position="left_edge">
    <draw_ops>
      <include name="left-edge" />
    </draw_ops>
  </piece>

 <piece position="right_edge">
    <draw_ops>
      <include name="right-edge" />
    </draw_ops>
 </piece>

<piece position="bottom_edge">
    <draw_ops>
     <include name="bottom-edge" />
    </draw_ops>
</piece>

  <button function="close" state="normal">
    <draw_ops>
      <image filename="button-inactive.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="close" state="pressed">
    <draw_ops>
      <image filename="button-close-pressed.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="minimize" state="normal">
    <draw_ops>
      <image filename="button-inactive.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="minimize" state="pressed">
    <draw_ops>
      <image filename="button-min-pressed.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="maximize" state="normal">
    <draw_ops>
      <image filename="button-inactive.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="maximize" state="pressed">
    <draw_ops>
      <image filename="button-max-pressed.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="menu" state="normal">
    <draw_ops>
      <image filename="button-inactive.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="menu" state="pressed">
    <draw_ops>
      <image filename="button-inactive.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>


</frame_style>


<!-- Active (focused) shaded style -->
<frame_style name="normal_shaded" geometry="shaded" parent="normal">
<piece position="titlebar">
    <draw_ops>
      <include name="shaded_tile"/>
    </draw_ops>
  </piece>
</frame_style>

<!-- Active (focused) style -->
<frame_style name="focused" geometry="normal">
  <piece position="entire_background">
    <draw_ops>
      <include name="bg"/>
   </draw_ops>
  </piece>

  <piece position="title">
    <draw_ops>
      <title color="#000000" x="(width - title_width) / 2" y="(height - title_height) / 2"/>
    </draw_ops>
  </piece>

  <piece position="titlebar">
    <draw_ops>
      <include name="title_tile"/>
    </draw_ops>
  </piece>

 <piece position="left_edge">
    <draw_ops>
      <include name="left-edge" />
    </draw_ops>
  </piece>
 
 <piece position="right_edge">
    <draw_ops>
      <include name="right-edge" />
    </draw_ops>
 </piece>

<piece position="bottom_edge">
    <draw_ops>
     <include name="bottom-edge" />
    </draw_ops>
</piece>

  <button function="close" state="normal">
    <draw_ops>
      <image filename="button-close.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="close" state="pressed">
    <draw_ops>
      <image filename="button-close-pressed.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="minimize" state="normal">
    <draw_ops>
      <image filename="button-min.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="minimize" state="pressed">
    <draw_ops>
      <image filename="button-min-pressed.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="maximize" state="normal">
    <draw_ops>
      <image filename="button-max.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="maximize" state="pressed">
    <draw_ops>
      <image filename="button-max-pressed.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="menu" state="normal">
    <draw_ops>
      <image filename="button-active.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

  <button function="menu" state="pressed">
    <draw_ops>
      <image filename="button-inactive.png" x="0" y="0" width="object_width" height="object_height"/>
    </draw_ops>
  </button>

</frame_style>

<!-- Active (focused) shaded style -->
<frame_style name="focused_shaded" geometry="shaded" parent="focused">
 <piece position="titlebar">
    <draw_ops>
      <include name="shaded_tile"/>
    </draw_ops>
  </piece>

</frame_style>

<frame_style_set name="normal">
<frame focus="yes" state="shaded" style="focused_shaded"/>
<frame focus="yes" state="normal" resize="both" style="focused"/>
<frame focus="yes" state="maximized" style="focused"/>
<frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/>
<frame focus="no" state="normal" resize="both" style="normal"/>
<frame focus="no" state="shaded" style="normal_shaded"/>
<frame focus="no" state="maximized" style="normal"/>
<frame focus="no" state="maximized_and_shaded" style="normal_shaded"/>
</frame_style_set>

<window type="normal" style_set="normal"/>
<window type="dialog" style_set="normal"/>
<window type="modal_dialog" style_set="normal"/>
<window type="menu" style_set="normal"/>
<window type="utility" style_set="normal"/>
<window type="border" style_set="normal"/>

<menu_icon function="maximize" state="normal">
  <draw_ops>
    <image filename="button-max.png" 
           x="(width - object_width) / 2"
           y="(height - object_height) / 2"
           width="object_width" height="object_height"/>
  </draw_ops>
</menu_icon>


<menu_icon function="close" state="normal">
  <draw_ops>
    <image filename="button-close.png" 
           x="(width - object_width) / 2"
           y="(height - object_height) / 2"
           width="object_width" height="object_height"/>
  </draw_ops>
</menu_icon>

<menu_icon function="minimize" state="normal">
  <draw_ops>
    <image filename="button-min.png" 
           x="(width - object_width) / 2"
           y="(height - object_height) / 2"
           width="object_width" height="object_height"/>
  </draw_ops>
</menu_icon>

<menu_icon function="unmaximize" state="normal">
  <draw_ops>
  </draw_ops>
</menu_icon>

</metacity_theme>

Added demo/themes/aquativo/aquativo/metacity-1/right-edge.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/right-shade.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/right-side.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/shade-bar.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/aquativo/metacity-1/title-bar.gif.

cannot compute difference between binary files

Added demo/themes/aquativo/pkgIndex.tcl.












>
>
>
>
>
>
1
2
3
4
5
6
# if { [catch {package require tile 0.8 }] != 0 } { return }

if {[file isdirectory [file join $dir aquativo]]} {
    package ifneeded ttk::theme::aquativo 0.0.1 \
        [list source [file join $dir aquativo.tcl]]
}