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) » [FIXED]Case bug in X11Wnd.cpp
[FIXED]Case bug in X11Wnd.cpp [message #28830] Sat, 18 September 2010 16:52 Go to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
Hi, uptading from svn, I got this :

void Ctrl::DoPaint(const Vector<Rect>& invalid)
{
	GuiLock __;
	if(IsVisible()) {
		LTIMING("DoPaint");
		fullrefresh = false;
//		if(GLX) return;
		GC gc = XCreateGC(Xdisplay, (Drawable)top->window, 0, 0);
		XftDraw *xftdraw = XftDrawCreate(Xdisplay, (Drawable) top->window,
		                                 DefaultVisual(Xdisplay, Xscreenno), Xcolormap);
		SystemDraw draw(top->window, gc, xftdraw, invalid);
		Painting = true;         <--HERE
		UpdateArea(draw, draw.GetClip());
		Painting = false;        <--HERE
		XftDrawDestroy(xftdraw);
		XFreeGC(Xdisplay, gc);
	}
}


The lines with 'Painting=.....' gives compilation error.
I guess that 'Painting' should be 'painting' insteed.

Ciao

Max

[Updated on: Mon, 04 October 2010 21:25]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: cdata section is not handled by xml parser
Next Topic: Error in HomeBudget Example?
Goto Forum:
  


Current Time: Fri Apr 19 10:08:57 CEST 2024

Total time taken to generate the page: 0.02789 seconds