[UFO-devel] Better position management using ufo/glut
Status: Beta
Brought to you by:
schmidtjf
From: Elie `w. B. <dro...@gm...> - 2006-03-02 23:27:40
|
Hello everyone, I subscribed to this mailing lists for a week now and I didn't get any mail from it, so I'm quite surprised. I hope there are still some people left reading. I'm having problems getting libufo positioning my controls the way I want them. I can force the root pane (or the context ?) to take a subset of the GLUT area, but the controls inside of it are ordered automatically (well, it's possible to force the widgets to get displayed horizontally or vertically, but that's not what I'm looking for). I'm looking for a way to position them by hand, ideally in relative coordinates - but I can cope with absolute screen/context coordinates as well. On a different subject, I tried to use frames, but it seems they don't work in a glut context since any call to myWindow->createFrame() returns a NULL pointer. Is there a way to get this working, or is it simply impossible ? Last, I'm looking for a way to get some colors inside the TextEdit component, for "syntax highlighting" purposes. I have the feeling that I will have to code it myself some way, but if someone have some advice on the subject, I'd be glad to hear it. Thanks for your advices, -- Elie `woe` BLETON http://www.lwo-lab.net EPITA - B2 2009 - http://www.epita.fr |