projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add -DPROGRAM_NAME to libpbd compile flags
[ardour.git]
/
libs
/
clearlooks-newer
/
clearlooks_draw_glossy.c
diff --git
a/libs/clearlooks-newer/clearlooks_draw_glossy.c
b/libs/clearlooks-newer/clearlooks_draw_glossy.c
index 62f17f3f950e97e23e8033403070f524e12e8d29..a8dd9ef7a3739cd3b4b237628d1fa3f8896a87b7 100644
(file)
--- a/
libs/clearlooks-newer/clearlooks_draw_glossy.c
+++ b/
libs/clearlooks-newer/clearlooks_draw_glossy.c
@@
-746,7
+746,7
@@
clearlooks_glossy_draw_tab (cairo_t *cr,
if (params->active)
{
if (params->active)
{
- CairoColor shadow,
hilight,
f1, f2;
+ CairoColor shadow, f1, f2;
pattern = cairo_pattern_create_linear (tab->gap_side == CL_GAP_LEFT ? width-1 : 0,
tab->gap_side == CL_GAP_TOP ? height-2 : 1,
pattern = cairo_pattern_create_linear (tab->gap_side == CL_GAP_LEFT ? width-1 : 0,
tab->gap_side == CL_GAP_TOP ? height-2 : 1,
@@
-1088,13
+1088,16
@@
clearlooks_glossy_draw_toolbar (cairo_t *cr,
const ToolbarParameters *toolbar,
int x, int y, int width, int height)
{
const ToolbarParameters *toolbar,
int x, int y, int width, int height)
{
+ CairoColor light;
+ const CairoColor *dark;
+
+ const CairoColor *fill = &colors->bg[GTK_STATE_NORMAL];
+ dark = &colors->shade[3];
+
(void) widget;
(void) width;
(void) height;
(void) widget;
(void) width;
(void) height;
-
- const CairoColor *fill = &colors->bg[GTK_STATE_NORMAL];
- const CairoColor *dark = &colors->shade[3];
- CairoColor light;
+
ge_shade_color (fill, 1.1, &light);
cairo_set_line_width (cr, 1.0);
ge_shade_color (fill, 1.1, &light);
cairo_set_line_width (cr, 1.0);
@@
-1232,9
+1235,6
@@
clearlooks_glossy_draw_radiobutton (cairo_t *cr,
const CheckboxParameters *checkbox,
int x, int y, int width, int height)
{
const CheckboxParameters *checkbox,
int x, int y, int width, int height)
{
- (void) width;
- (void) height;
-
const CairoColor *border;
const CairoColor *dot;
CairoColor shadow;
const CairoColor *border;
const CairoColor *dot;
CairoColor shadow;
@@
-1243,6
+1243,9
@@
clearlooks_glossy_draw_radiobutton (cairo_t *cr,
gboolean inconsistent;
gboolean draw_bullet = (checkbox->shadow_type == GTK_SHADOW_IN);
gboolean inconsistent;
gboolean draw_bullet = (checkbox->shadow_type == GTK_SHADOW_IN);
+ (void) width;
+ (void) height;
+
inconsistent = (checkbox->shadow_type == GTK_SHADOW_ETCHED_IN);
draw_bullet |= inconsistent;
inconsistent = (checkbox->shadow_type == GTK_SHADOW_ETCHED_IN);
draw_bullet |= inconsistent;