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 » U++ Library : Other (not classified elsewhere) » 2 Minor drawing bugs with fixes
2 Minor drawing bugs with fixes [message #11343] Fri, 07 September 2007 16:49 Go to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
1- LabelBox drawing image at incorrect y-coord. Static.cpp line 118 changed to:
Size ts = PaintLabel(w, d + 2, ty, sz.cx, lsz.cy, !IsShowEnabled(), false, false, VisibleAccessKeys());

(Changed sz.cy to lsz.cy)

2- ArrayCtrl ignores Transparent. ArrayCtrl.cpp line 735 changed to:
	if (!IsTransparent()) w.DrawRect(r, SColorPaper);
And now works correctly.

Cheers,
James
Re: 2 Minor drawing bugs with fixes [message #11351 is a reply to message #11343] Sat, 08 September 2007 16:18 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thanks.

1. applied.

2.
Is misunderstanding of Transparent - it is meant as hint to drawing machinery only. Widgets with Transparent set has to be dealt differently (more complicated, always backpainted).

What you need is to be achieved via "NoBackground". OTOH, there was missing test for this flag on the very same line Smile

Mirek

[Updated on: Sat, 08 September 2007 16:18]

Report message to a moderator

Re: 2 Minor drawing bugs with fixes [message #11424 is a reply to message #11351] Wed, 12 September 2007 12:22 Go to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Execellent, thanks!
Previous Topic: Why no SetKbdDelay? :) I'm missing something aren't I..
Next Topic: Q: Language support
Goto Forum:
  


Current Time: Sat Apr 20 13:34:44 CEST 2024

Total time taken to generate the page: 0.01795 seconds