Ok here is my contribution to the orx community, libRocket (http://librocket.com/
) for ORX
here are the repositories
this simply a fork of the official github repository (https://github.com/lloydw/libRocket
and I added the build rules and precompiled libraries for android.
For PC, just use cmake to build the lib.
The actual implementation for the ORX integration and a simple demo application showing how to use it.
This is mainly for android, freetype2 library (required for font rendering) with build rules and precompiled libraries for android.
It's not needed for PC since freetype2 should already be installed (at least on linux... didn't test on Windows / MacOSX)
I'm opening all this hoping that it may help someone, and I'll happily merge pull-request for enhancement.
on the TODO:
- integrate with iOS
- integrate orx localization feature with libRocket localization
- add some kind of binding to use orx Tracks (for example to animate libRocket elements)
Have fun, don't hesitate to ask questions here.
But anyway, can't wait to check it out, nice job
libRocket is not developed anymore by the author, but he still accept pull requests from forks.
He seems to be lazy, since some pull request could be very interesting to merge (like using bitmap fonts, and get rid of RTTI).
Still, it's quiet useful in its current state.
I've already implemented a very simple binding on libRocket events to call orx Tracks.
will execute the track "StartGame" when this button is clicked.
If you want (no obligation) to move it under the orx group on bitbucket, don't hesitate.
As for freetype2, it doesn't come with windows/osx. I also added it as an external dependency in orx's repository (for orxfontgen).