Re: [UFO-devel] UTextEdit reacting strangely
Status: Beta
Brought to you by:
schmidtjf
From: Elie `w. B. <dro...@gm...> - 2006-04-23 19:49:11
|
> > The bug is in the GLUT-to-UFO conversion of keys. > The third parameter of pushKey{Up,Down} should be 0, e.g.: > void > specialUpFunc(int key, int, int) { > display->pushKeyUp(context, mapGlutSpecialKey(key), 0); > if (context->needsRepaint()) { > glutPostRedisplay(); > } > } > otherwise the key is echoed as char key event. Note that specialFunc(int key, int, int) AND specialUpFunc(int key, int, int) have to get patched in the same way in order to correctly solve the bug. HOME/END keys are not handled as it seems, but I didn't really looked close= r than simply testing the keystrokes. Thanks for reporting the bug. The developer CVS is already fixed and > it should soon be available via anonymous CVS. > > Well, thanks for resolving it :) -- { drozofil -- www.lwo-lab.net } |