[ cinepaint-Bugs-3335444 ] Brush scale markers scroll incorrectly

"SourceForge.net" <[email protected]> Sun, 26 Jun 2011 17:56:03 -0400
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <[email protected]>
Bugs item #3335444, was opened at 2011-06-26 17:56
Message generated for change (Tracker Item Submitted) made by ggeleji
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542706&aid=3335444&group_id=75029

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Linux
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Geza Geleji (ggeleji)
Assigned to: Nobody/Anonymous (nobody)
Summary: Brush scale markers scroll incorrectly

Initial Comment:
The brush scale indicators in the brush preview frame may be displayed incorrectly when the corresponding brush does not lie entirely within the frame.
Corrections (in display_brush(), brush_select.c):

848 	if (scale)
to
848 	if ((scale) && (offset_y + indicator_height > 0) && (offset_y < bsp->preview->allocation.height))

and

851 	for (i = 0; i < indicator_height; i++)
to
851 	for (i = ystart - offset_y; i < indicator_height; i++)

and

853 	gtk_preview_draw_row (GTK_PREVIEW (bsp->preview),
854 	scale_indicator_bits[i],
855 	offset_x, ystart + i, indicator_width);
to
853 	gtk_preview_draw_row (GTK_PREVIEW (bsp->preview),
854 	scale_indicator_bits[i],
855 	offset_x, offset_y + i, indicator_width);


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542706&aid=3335444&group_id=75029

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2