Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Upp 705-dev2 released
Re: Upp 705-dev2 released [message #9624 is a reply to message #9623] Tue, 22 May 2007 13:36 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
There is a bug in ColumnList::GetDragSample. The correct code is:
Image ColumnList::GetDragSample()
{
	Size sz = StdSampleSize();
	ImageDraw iw(sz);
	int y = 0;
	for(int i = 0; i < GetCount() && y < sz.cy; i++)
		if(IsSel(i)) {
			PaintItem(iw, i, RectC(0, y, sz.cx, cy));
			y += cy;
		}
	return Crop(iw, 0, 0, sz.cx, y);
}

The original was missing the y increment and the Crop call.

James
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Adjusting roadmap...
Next Topic: Devs releases delayed..
Goto Forum:
  


Current Time: Sun Jun 29 22:48:33 CEST 2025

Total time taken to generate the page: 0.03712 seconds