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   |
 |
koldo
Messages: 3454 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
|
|
|
|
Goto Forum:
Current Time: Wed Dec 03 23:00:21 CET 2025
Total time taken to generate the page: 0.05290 seconds
|