Designing the LCARS with XML


Everyone knows the nice graphical user interface they use on the Star Trek space ships called LCARS.

We want to build a home automation system which uses this interface. So I decided to write a C++ library based on SFML to design the interfaces with XML files and render them as a little 2D scene on the screen (probably touchscreen).

So you can create stylesheets like the following:


To design interfaces which look like this:


The single elements of the LCARS can be positioned with real X/Y coordinates or relative to the other elements. You can also add click events which you handle in code for all of them.

The library is still very buggy and in an early phase of development but I think some people may find it useful.

Leave a Comment

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.