Using Ibex inside SDL/OpenGL
Charles Goodwin <[email protected]> Thu, 25 Mar 2004 22:55:04 +0000
| Newsgroups | gmane.comp.java.xwt.core |
|---|---|
| Organization | XWT Foundation |
| Message-ID | <[email protected]> |
I've been thinking potentially Ibex could be the first easy, XUL-like GUI for OpenGl and/or SDL applications. Am I kidding myself, or could this be almost as simple as creating an SDL platform and an OpenGL platform in src/org/ibex/platform? ie delegate the drawing to SDL/OpenGL. The only other major issue I can think of is to make Ibex interact with an OpenGL/SDL canvas. This, though, is also something we'd have to address if we ever wanted to use 'custom' views e.g. an movie player. Perhaps another node for the ui namespace: <ui:canvas /> A canvas would be like a box except it's fill attribute is instead a pointer to something else. For instance: <ui:canvas fill="external:uid" /> // SDL/OpenGL use uid to get canvas <ui:canvas fill="mpeg:http://foo.com/bar.mpeg" /> Once the widgets become more stable I'm very interested in taking on libibex as a project, as I think it could be a key area for Ibex if we were to properly follow through with it. -- - Charlie Charles Goodwin <[email protected]> Online @ http://www.charlietech.com