Changeset View
Changeset View
Standalone View
Standalone View
src/gtk2/widgets/entry
- This file was added.
1 | style "entry" | ||||
---|---|---|---|---|---|
2 | { | ||||
3 | xthickness = 4 | ||||
4 | ythickness = 4 | ||||
5 | | ||||
6 | base[NORMAL] = @base_color | ||||
7 | base[ACTIVE] = @base_color | ||||
8 | base[INSENSITIVE] = @insensitive_base_color | ||||
9 | | ||||
10 | engine "pixmap" | ||||
11 | { | ||||
12 | image | ||||
13 | { | ||||
14 | function = SHADOW | ||||
15 | detail = "entry" | ||||
16 | state = NORMAL | ||||
17 | shadow = IN | ||||
18 | file = "../assets/entry.png" | ||||
19 | border = { 4, 4, 4, 4 } | ||||
20 | stretch = TRUE | ||||
21 | } | ||||
22 | image | ||||
23 | { | ||||
24 | function = SHADOW | ||||
25 | detail = "entry" | ||||
26 | state = INSENSITIVE | ||||
27 | shadow = IN | ||||
28 | file = "../assets/entry-insensitive.png" | ||||
29 | border = { 4, 4, 4, 4 } | ||||
30 | stretch = TRUE | ||||
31 | } | ||||
32 | image | ||||
33 | { | ||||
34 | function = SHADOW | ||||
35 | detail = "entry" | ||||
36 | state = ACTIVE | ||||
37 | file = "../assets/entry-active.png" | ||||
38 | border = { 4, 4, 4, 4 } | ||||
39 | stretch = TRUE | ||||
40 | } | ||||
41 | image | ||||
42 | { | ||||
43 | function = FLAT_BOX | ||||
44 | detail = "entry_bg" | ||||
45 | state = ACTIVE | ||||
46 | file = "../assets/null.png" | ||||
47 | border = { 0, 0, 0, 0 } | ||||
48 | stretch = TRUE | ||||
49 | } | ||||
50 | } | ||||
51 | } | ||||
52 | | ||||
53 | style "combobox_entry" | ||||
54 | { | ||||
55 | xthickness = 3 | ||||
56 | ythickness = 4 | ||||
57 | | ||||
58 | engine "pixmap" { | ||||
59 | | ||||
60 | # LTR version | ||||
61 | | ||||
62 | image { | ||||
63 | function = SHADOW | ||||
64 | detail = "entry" | ||||
65 | state = NORMAL | ||||
66 | shadow = IN | ||||
67 | file = "../assets/combo-entry.png" | ||||
68 | border = { 4, 4, 5, 4 } | ||||
69 | stretch = TRUE | ||||
70 | direction = LTR | ||||
71 | } | ||||
72 | | ||||
73 | image { | ||||
74 | function = SHADOW | ||||
75 | detail = "entry" | ||||
76 | state = INSENSITIVE | ||||
77 | shadow = IN | ||||
78 | file = "../assets/combo-entry-insensitive.png" | ||||
79 | border = { 4, 4, 5, 4 } | ||||
80 | stretch = TRUE | ||||
81 | direction = LTR | ||||
82 | } | ||||
83 | | ||||
84 | image { | ||||
85 | function = SHADOW | ||||
86 | detail = "entry" | ||||
87 | state = ACTIVE | ||||
88 | file = "../assets/combo-entry-active.png" | ||||
89 | border = { 4, 4, 5, 4 } | ||||
90 | stretch = TRUE | ||||
91 | direction = LTR | ||||
92 | } | ||||
93 | | ||||
94 | # RTL version | ||||
95 | | ||||
96 | image { | ||||
97 | function = SHADOW | ||||
98 | detail = "entry" | ||||
99 | state = NORMAL | ||||
100 | shadow = IN | ||||
101 | file = "../assets/combo-entry-button.png" | ||||
102 | border = { 4, 4, 5, 4 } | ||||
103 | stretch = TRUE | ||||
104 | direction = RTL | ||||
105 | } | ||||
106 | | ||||
107 | image { | ||||
108 | function = SHADOW | ||||
109 | detail = "entry" | ||||
110 | state = INSENSITIVE | ||||
111 | shadow = IN | ||||
112 | file = "../assets/combo-entry-button-insensitive.png" | ||||
113 | border = { 4, 4, 5, 4 } | ||||
114 | stretch = TRUE | ||||
115 | direction = RTL | ||||
116 | } | ||||
117 | | ||||
118 | image { | ||||
119 | function = SHADOW | ||||
120 | detail = "entry" | ||||
121 | state = ACTIVE | ||||
122 | file = "../assets/combo-entry-button-active.png" | ||||
123 | border = { 4, 4, 5, 4 } | ||||
124 | stretch = TRUE | ||||
125 | direction = RTL | ||||
126 | } | ||||
127 | } | ||||
128 | } | ||||
129 | | ||||
130 | style "combobox_entry_button" | ||||
131 | { | ||||
132 | xthickness = 6 | ||||
133 | | ||||
134 | fg[ACTIVE] = @text_color | ||||
135 | | ||||
136 | engine "pixmap" { | ||||
137 | | ||||
138 | # LTR version | ||||
139 | | ||||
140 | image { | ||||
141 | function = BOX | ||||
142 | state = NORMAL | ||||
143 | file = "../assets/combo-entry-button.png" | ||||
144 | border = { 4, 4, 5, 4 } | ||||
145 | stretch = TRUE | ||||
146 | direction = LTR | ||||
147 | } | ||||
148 | | ||||
149 | image { | ||||
150 | function = BOX | ||||
151 | state = PRELIGHT | ||||
152 | file = "../assets/combo-entry-button.png" | ||||
153 | border = { 4, 4, 5, 4 } | ||||
154 | stretch = TRUE | ||||
155 | direction = LTR | ||||
156 | } | ||||
157 | | ||||
158 | image { | ||||
159 | function = BOX | ||||
160 | state = INSENSITIVE | ||||
161 | file = "../assets/combo-entry-button-insensitive.png" | ||||
162 | border = { 4, 4, 5, 4 } | ||||
163 | stretch = TRUE | ||||
164 | direction = LTR | ||||
165 | } | ||||
166 | | ||||
167 | image { | ||||
168 | function = BOX | ||||
169 | state = ACTIVE | ||||
170 | file = "../assets/combo-entry-button-active.png" | ||||
171 | border = { 4, 4, 5, 4 } | ||||
172 | stretch = TRUE | ||||
173 | direction = LTR | ||||
174 | } | ||||
175 | | ||||
176 | # RTL version | ||||
177 | image { | ||||
178 | function = BOX | ||||
179 | state = NORMAL | ||||
180 | file = "../assets/combo-entry.png" | ||||
181 | border = { 4, 4, 5, 4 } | ||||
182 | stretch = TRUE | ||||
183 | direction = RTL | ||||
184 | } | ||||
185 | | ||||
186 | image { | ||||
187 | function = BOX | ||||
188 | state = PRELIGHT | ||||
189 | file = "../assets/combo-entry.png" | ||||
190 | border = { 4, 4, 5, 4 } | ||||
191 | stretch = TRUE | ||||
192 | direction = RTL | ||||
193 | } | ||||
194 | | ||||
195 | image { | ||||
196 | function = BOX | ||||
197 | state = INSENSITIVE | ||||
198 | file = "../assets/combo-entry-insensitive.png" | ||||
199 | border = { 4, 4, 5, 4 } | ||||
200 | stretch = TRUE | ||||
201 | direction = RTL | ||||
202 | } | ||||
203 | | ||||
204 | image { | ||||
205 | function = BOX | ||||
206 | state = ACTIVE | ||||
207 | file = "../assets/combo-entry-active.png" | ||||
208 | border = { 4, 4, 5, 4 } | ||||
209 | stretch = TRUE | ||||
210 | direction = RTL | ||||
211 | } | ||||
212 | } | ||||
213 | } | ||||
214 | |