Widgets in OpenGL view [message #547274] |
Fri, 16 July 2010 03:49  |
Eclipse User |
|
|
|
Hi,
I'm investigating to know what's possible in terms of embedding native
widgets in some OpenGL view. Has it been done before? Is it possible,
for instance, to have a reactive SWT Button in an OpenGL canvas,
full-featured with event support?
Cheers,
J.-P.
|
|
|
|
Re: Widgets in OpenGL view [message #550106 is a reply to message #548339] |
Thu, 29 July 2010 03:27  |
Eclipse User |
|
|
|
> An alternate approach which should work would be to open an ON_TOP Shell
> where the Control should go and to put the Control in this Shell instead.
Actually, I'm looking for a solution where I could apply OpenGL
transforms to buttons -- e.g., render them on a texture and position
this texture wherever I want. Has anything like this been done with
native widgets? Could I keep them all in some offscreen buffer, and
update their corresponding texture each time they paint?
Thanks,
J.-P.
|
|
|
Powered by
FUDForum. Page generated in 0.03700 seconds