Changeset View
Changeset View
Standalone View
Standalone View
src/gtk2/widgets/toolbar
- This file was added.
1 | style "toolbar" | ||||
---|---|---|---|---|---|
2 | { | ||||
3 | engine "pixmap" | ||||
4 | { | ||||
5 | image | ||||
6 | { | ||||
7 | function = BOX | ||||
8 | file = "../assets/toolbar-background.png" | ||||
9 | stretch = TRUE | ||||
10 | } | ||||
11 | } | ||||
12 | } | ||||
13 | | ||||
14 | style "toolbuttons" | ||||
15 | { | ||||
16 | xthickness = 2 | ||||
17 | ythickness = 2 | ||||
18 | GtkWidget::focus_padding = 2 | ||||
19 | | ||||
20 | engine "pixmap" { | ||||
21 | | ||||
22 | image | ||||
23 | { | ||||
24 | function = BOX | ||||
25 | state = NORMAL | ||||
26 | file = "../assets/null.png" | ||||
27 | border = { 4, 4, 4, 4 } | ||||
28 | stretch = TRUE | ||||
29 | } | ||||
30 | image | ||||
31 | { | ||||
32 | function = BOX | ||||
33 | state = PRELIGHT | ||||
34 | file = "../assets/toolbutton-hover.png" | ||||
35 | border = { 4, 4, 4, 4 } | ||||
36 | stretch = TRUE | ||||
37 | } | ||||
38 | image | ||||
39 | { | ||||
40 | function = BOX | ||||
41 | state = ACTIVE | ||||
42 | file = "../assets/toolbutton-active.png" | ||||
43 | border = { 4, 4, 4, 4 } | ||||
44 | stretch = TRUE | ||||
45 | } | ||||
46 | image | ||||
47 | { | ||||
48 | function = BOX | ||||
49 | state = INSENSITIVE | ||||
50 | file = "../assets/null.png" | ||||
51 | border = { 4, 4, 4, 4 } | ||||
52 | stretch = TRUE | ||||
53 | } | ||||
54 | } | ||||
55 | } | ||||
56 | | ||||
57 | style "tooltoggle_buttons" | ||||
58 | { | ||||
59 | engine "pixmap" | ||||
60 | { | ||||
61 | image | ||||
62 | { | ||||
63 | function = BOX | ||||
64 | state = NORMAL | ||||
65 | file = "../assets/null.png" | ||||
66 | border = { 4, 4, 4, 4 } | ||||
67 | stretch = TRUE | ||||
68 | } | ||||
69 | image | ||||
70 | { | ||||
71 | function = BOX | ||||
72 | state = PRELIGHT | ||||
73 | file = "../assets/toolbutton-hover.png" | ||||
74 | border = { 4, 4, 4, 4 } | ||||
75 | stretch = TRUE | ||||
76 | } | ||||
77 | image | ||||
78 | { | ||||
79 | function = BOX | ||||
80 | state = ACTIVE | ||||
81 | file = "../assets/toolbutton-toggled.png" | ||||
82 | border = { 4, 4, 4, 4} | ||||
83 | stretch = TRUE | ||||
84 | } | ||||
85 | image | ||||
86 | { | ||||
87 | function = BOX | ||||
88 | state = INSENSITIVE | ||||
89 | file = "../assets/null.png" | ||||
90 | border = { 4, 4, 4, 4 } | ||||
91 | stretch = TRUE | ||||
92 | } | ||||
93 | } | ||||
94 | } |