From 30b087ab3d28f1585987fa3f6ae006562ae192e3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 18 Sep 2017 12:39:17 -0400 Subject: globally change all use of "frame" to refer to audio into "sample". Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible --- libs/clearlooks-newer/clearlooks_style.c | 50 ++++++++++++++++---------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'libs/clearlooks-newer/clearlooks_style.c') diff --git a/libs/clearlooks-newer/clearlooks_style.c b/libs/clearlooks-newer/clearlooks_style.c index fb0ca33239..c5e588b74f 100644 --- a/libs/clearlooks-newer/clearlooks_style.c +++ b/libs/clearlooks-newer/clearlooks_style.c @@ -200,16 +200,16 @@ clearlooks_style_draw_shadow (DRAW_ARGS) else if (DETAIL ("frame")) { WidgetParameters params; - FrameParameters frame; - frame.shadow = shadow_type; - frame.gap_x = -1; /* No gap will be drawn */ - frame.border = &colors->shade[4]; + FrameParameters sample; + sample.shadow = shadow_type; + sample.gap_x = -1; /* No gap will be drawn */ + sample.border = &colors->shade[4]; clearlooks_set_widget_parameters (widget, style, state_type, ¶ms); params.corners = CR_CORNER_NONE; if (widget && !g_str_equal ("XfcePanelWindow", gtk_widget_get_name (gtk_widget_get_toplevel (widget)))) - STYLE_FUNCTION(draw_frame) (cr, colors, ¶ms, &frame, + STYLE_FUNCTION(draw_sample) (cr, colors, ¶ms, &sample, x, y, width, height); } else if (DETAIL ("scrolled_window") || DETAIL ("viewport") || detail == NULL) @@ -223,15 +223,15 @@ clearlooks_style_draw_shadow (DRAW_ARGS) else { WidgetParameters params; - FrameParameters frame; + FrameParameters sample; - frame.shadow = shadow_type; - frame.gap_x = -1; - frame.border = &colors->shade[5]; + sample.shadow = shadow_type; + sample.gap_x = -1; + sample.border = &colors->shade[5]; clearlooks_set_widget_parameters (widget, style, state_type, ¶ms); params.corners = CR_CORNER_ALL; - STYLE_FUNCTION(draw_frame) (cr, colors, ¶ms, &frame, x, y, width, height); + STYLE_FUNCTION(draw_sample) (cr, colors, ¶ms, &sample, x, y, width, height); } cairo_destroy (cr); @@ -255,14 +255,14 @@ clearlooks_style_draw_box_gap (DRAW_ARGS, if (DETAIL ("notebook")) { WidgetParameters params; - FrameParameters frame; + FrameParameters sample; gboolean start, end; - frame.shadow = shadow_type; - frame.gap_side = gap_side; - frame.gap_x = gap_x; - frame.gap_width = gap_width; - frame.border = &colors->shade[5]; + sample.shadow = shadow_type; + sample.gap_side = gap_side; + sample.gap_x = gap_x; + sample.gap_width = gap_width; + sample.border = &colors->shade[5]; clearlooks_set_widget_parameters (widget, style, state_type, ¶ms); @@ -315,7 +315,7 @@ clearlooks_style_draw_box_gap (DRAW_ARGS, ge_cairo_set_color (cr, &colors->bg[GTK_STATE_NORMAL]); cairo_fill (cr); - STYLE_FUNCTION(draw_frame) (cr, colors, ¶ms, &frame, + STYLE_FUNCTION(draw_sample) (cr, colors, ¶ms, &sample, x, y, width, height); } else @@ -853,7 +853,7 @@ clearlooks_style_draw_box (DRAW_ARGS) clearlooks_set_widget_parameters (widget, style, state_type, ¶ms); - STYLE_FUNCTION(draw_menu_frame) (cr, colors, ¶ms, x, y, width, height); + STYLE_FUNCTION(draw_menu_sample) (cr, colors, ¶ms, x, y, width, height); } else if (DETAIL ("hseparator") || DETAIL ("vseparator")) { @@ -1101,19 +1101,19 @@ clearlooks_style_draw_shadow_gap (DRAW_ARGS, if (DETAIL ("frame")) { WidgetParameters params; - FrameParameters frame; + FrameParameters sample; - frame.shadow = shadow_type; - frame.gap_side = gap_side; - frame.gap_x = gap_x; - frame.gap_width = gap_width; - frame.border = &colors->shade[5]; + sample.shadow = shadow_type; + sample.gap_side = gap_side; + sample.gap_x = gap_x; + sample.gap_width = gap_width; + sample.border = &colors->shade[5]; clearlooks_set_widget_parameters (widget, style, state_type, ¶ms); params.corners = CR_CORNER_ALL; - STYLE_FUNCTION(draw_frame) (cr, colors, ¶ms, &frame, + STYLE_FUNCTION(draw_sample) (cr, colors, ¶ms, &sample, x, y, width, height); } else -- cgit v1.2.3