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 » Developing U++ » UppHub » freetype2 and FTGL libraries
Re: freetype2 and FTGL libraries [message #33885 is a reply to message #33840] Wed, 21 September 2011 13:45 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3361
Registered: August 2008
Senior Veteran
Hello Massimo

For a week I am far from my Linux so I cannot try the package.

In Windows, I have got the same problem. Control does not get the keys.

Debugging inside I think the problem is in GlCtrl.h, line 142:

Now the costructor is:

	GLCtrl(int  depthsize = 24, int  stencilsize = 0, bool doublebuffer = true,
	       bool multisamplebuffering = false, int  numberofsamples = 0)
		: depthSize(depthsize),
		  stencilSize(stencilsize), 
		  doubleBuffering(doublebuffer), 
		  multiSampleBuffering(multisamplebuffering), 
		  numberOfSamples(numberofsamples)
	{
		NoWantFocus();  <<<<==== HERE
		Transparent();
		pane.ctrl = this;
		Add(pane.SizePos());
	}

You can see the NoWantFocus() inside. If we remove that line, your demo works perfectly handling the keyboard.

Mirek, Daniel, could it be possible to remove that line?


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Let's test VLCPlayer and help to find some bugs
Next Topic: Scatter: To find width bwt any two points.
Goto Forum:
  


Current Time: Thu May 09 22:04:18 CEST 2024

Total time taken to generate the page: 0.02945 seconds