Lines 327-354
static GdkPixbuf* preview_window(RrTheme *theme, const gchar *titlelayout,
Link Here
|
327 |
switch (*layout) { |
327 |
switch (*layout) { |
328 |
case 'D': |
328 |
case 'D': |
329 |
a = focus ? |
329 |
a = focus ? |
330 |
theme->a_focused_unpressed_desk : |
330 |
theme->btn_desk->a_focused_unpressed : |
331 |
theme->a_unfocused_unpressed_desk; |
331 |
theme->btn_desk->a_unfocused_unpressed; |
332 |
break; |
332 |
break; |
333 |
case 'S': |
333 |
case 'S': |
334 |
a = focus ? |
334 |
a = focus ? |
335 |
theme->a_focused_unpressed_shade : |
335 |
theme->btn_shade->a_focused_unpressed : |
336 |
theme->a_unfocused_unpressed_shade; |
336 |
theme->btn_shade->a_unfocused_unpressed; |
337 |
break; |
337 |
break; |
338 |
case 'I': |
338 |
case 'I': |
339 |
a = focus ? |
339 |
a = focus ? |
340 |
theme->a_focused_unpressed_iconify : |
340 |
theme->btn_iconify->a_focused_unpressed : |
341 |
theme->a_unfocused_unpressed_iconify; |
341 |
theme->btn_iconify->a_unfocused_unpressed; |
342 |
break; |
342 |
break; |
343 |
case 'M': |
343 |
case 'M': |
344 |
a = focus ? |
344 |
a = focus ? |
345 |
theme->a_focused_unpressed_max : |
345 |
theme->btn_max->a_focused_unpressed : |
346 |
theme->a_unfocused_unpressed_max; |
346 |
theme->btn_max->a_unfocused_unpressed; |
347 |
break; |
347 |
break; |
348 |
case 'C': |
348 |
case 'C': |
349 |
a = focus ? |
349 |
a = focus ? |
350 |
theme->a_focused_unpressed_close : |
350 |
theme->btn_close->a_focused_unpressed : |
351 |
theme->a_unfocused_unpressed_close; |
351 |
theme->btn_close->a_unfocused_unpressed; |
352 |
break; |
352 |
break; |
353 |
default: |
353 |
default: |
354 |
continue; |
354 |
continue; |
355 |
- |
|
|