Hi
[I have also also asked this question in the Feathers UI forum]
Apologies for the long post – my questions require some context, and are somewhat open ended “shopping list” questions because I am a newbie to Haxie.
I am building a (non game) app to render S-57 navigation charts. The app has two distinct parts:
- a regular UI with dialogs, buttons, text fields, etc
- a (somewhat) low level vector based renderer to show the charts (the charts are all vector based, so not tiles, but polygon, line, and point geometries)
The chart renderer:
- doesn’t have to be blazingly fast – I can maybe (?) live with 30-45 fps
- does need to be embedded within the app as some sort of drawable surface (so not in a separate window – think of a Canvas node in Swing/JavaFx/HTML)
I have looked at Haxe UI for the regular UI part and it looks very nice.
But I am not sure how the embedding of the chart renderer part will work in Haxie UI. I have done this kind of thing in other UI toolkits before, doing one of two things:
- using a “canvas-like” widget provided by the toolkit, which usually doesn’t give great performance because the “canvas” is too far abstracted from the GPU (e.g. usually uses (semi) immediate mode rendering, can’t do things such as OpenGL-like indirect rendering, shaders, etc).
- hacking together two UI rendering loops, one for the UI part and one for the low level renderer (and this is always ugly-as and fragile).
So is there some sort of “drawing widget” in Haxe UI that can be embedded in a regular UI, and is either fast by default, or allows access to low level rendering techniques? Perhaps using HaxieUI with a Ka backend would work (although power consumption on mobile might be a problem)? And maybe Haxie UI with some sort of WebGL backend for the browser?
Also small questions – does Haxie UI:
use a scene graph approach to creating UIs? (I think it does …)
allow CSS skinning of components? (I think it does …)
have good text rendering? (a lot of UI toolkits do a poor job of this)
Finally where do Ceramic, SDL and Heaps fit into the UI picture in Haxie?


