simplui 1.0.3 released

No major features this time, instead a slew of small bug fixes, an update to the API, and the rendering code has been rewritten for performance (primarily though batching).

I wasn’t intending to push a release out until more features were added, so consider this a maintenance release.

You can download the tarball, or browse the source in SVN.


  1. It works quite fine so far, and it seems quite functional during my limited amount of testing.

    Things I’ve noticed that could be worked on:

    * When you have two dialogues presented, one (the last one added) is always on top of the other. Perhaps a dialogue being selected should go on top of the others?

    * Text Labels including the Dialogue titles are written on top of a dialogue that is currently in front, meaning that the text “shines through” what should be a solid surface. I hope that made sense.

    * I’ve experienced crashes when clicking the “settings” FoldingBox in the you provide. Haven’t been able to figure out why during my limited testing.

    I hope this helps.

  2. Multiple panels still needs some work – I have to make some modifications to batching support, probably batching per window since pyglet’s group migration is still a little broken.

    That crash is proving very difficult to find, so any pointers you can findare very welcome! Several people have now reported the crash, but I am unable to reproduce.

    • The program also hangs if it cannot find the theme files. I guess it is easy to do the check, but perhaps the gui should do it or at least throw something.

      I’ll see if I can find the source of the crash.

      Nevertheless, I’ll be using the library for my current project (which you have inspired me to start in python!) and I’ll be sure to report anything I find missing/misfunctioning.

      Thanks for the great ui module.

  3. Hi,

    There is a small bug (maybe intended?), where glColor4f(1,1,1,1) is not called before drawing simplui. I had a problem where simplui’s alpha was the same as something else I was drawing. I added glColor4f(1,1,1,1) on line 91 in (right before glColor4f(1,1,1,1)), and this fixed my problem.

    Also, I was wondering how to center buttons horizontally within a container.

    Thanks, simplui is awesome!

    • Thanks for the tip with the colours. I had been assuming that OpenGL state would generally be as default, but explicitly resetting the colour is a good idea.

      As for centring buttons, you might want to check out the newer version in SVN. It has a revised layout model, with preliminary support for alignment.

      A new version should be coming out in the next few weeks, with a number of major improvements.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s