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 » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Display bug in ArrayCtrl
Display bug in ArrayCtrl [message #12869] Thu, 22 November 2007 21:54 Go to previous message
malya is currently offline  malya
Messages: 27
Registered: June 2007
Promising Member

Hello!
What is the bug in cell of ArrayCtrl?
index.php?t=getfile&id=862&private=0
The code of display:
//**************************
struct PathDisplay : Display
{
	Image image;
	virtual void Paint(Draw &w, const Rect &r, const Value &v, Color i, Color p, dword style) const
	{
		w.DrawRect(r, p);
		w.DrawImage(r.left, r.top + (r.Height() - 16) / 2, image);
		w.DrawText(r.left + 20, r.top, String(v), StdFont(), i);
	}
	virtual Size GetStdSize(const Value& q) const
	{
		return 20 + GetTLTextSize(ToUnicode(q.ToString(), CHARSET_DEFAULT));
	}
};

static PathDisplay dspFile, dspFolder;


P.S.
In previous dev-710 it was all normal.
Thanks!
  • Attachment: bug.PNG
    (Size: 10.50KB, Downloaded 625 times)

[Updated on: Thu, 22 November 2007 21:54]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Bug in Picture Class
Next Topic: image drawn in Paint(Draw &w) does not stay when refereshed
Goto Forum:
  


Current Time: Fri Mar 29 06:27:51 CET 2024

Total time taken to generate the page: 0.01438 seconds