[Lazarus] Wanted: OpenGL gui framework supporting Windows, Linux, Mac, Android, etc.

J S jtm_1986 at hotmail.com
Thu Apr 24 08:43:33 CEST 2014

	  It would be great to have an OpenGL gui framework for Lazarus. I see the TOpenGLControl, but would like something more ambitious.

Specifically, it would be nice to have a "TOpenGLForm" (basically an OpenGL output framebuffer along with mouse/keyboard events) and special OpenGL controls (Menus, Buttons, Editboxes, Comboboxes, Memo, etc) that can be dropped on the form in the Lazarus designer. The only system specific code needed for porting to Windows, Linux, Mac, Android, etc. would be to obtain the OpenGL context and to hook the mouse/keyboard events. All control drawing/behaviour would be shared between systems (similar to the goal of the Custom Drawn Controls, but with an OpenGL specific scope).

To be sure, this OpenGL framework would probably require its own OpenGL specific custom controls and wouldn't support TForm and most of the current windowed controls.

I am unsure how to make Lazarus support a non TCustomForm-derived object ("TOpenGLForm"), and be able to drop controls onto it in the designer. Any opinions on the best way to do this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140424/a14e5228/attachment-0002.html>

More information about the Lazarus mailing list