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 next 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 445 times)

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

Report message to a moderator

Re: Display bug in ArrayCtrl [message #12873 is a reply to message #12869] Fri, 23 November 2007 19:50 Go to previous message
malya is currently offline  malya
Messages: 27
Registered: June 2007
Promising Member

Thanks!
Solved.
Previous Topic: Bug in Picture Class
Next Topic: image drawn in Paint(Draw &w) does not stay when refereshed
Goto Forum:
  


Current Time: Fri Nov 15 08:34:54 CET 2019

Total time taken to generate the page: 0.02381 seconds