Hybrid GUI beta release - an IM+RM GUI toolkit for games, multimedia, etc

Chad J gamerChad at _spamIsBad_gmail.com
Fri Jun 6 02:40:36 PDT 2008


Tom S wrote:
> Here's a beta release of Hybrid - a pretty fresh approach to GUI 
> toolkits which combines Immediate Mode GUIs with Retained Mode GUIs.
> 
> // Tango-only at the moment.
> 
> Quoting the wiki, "Hybrid is a Graphical User Interface toolkit for the 
> D programming language. It is primarily aimed at games (for menus, 
> in-game options, debug consoles, HUDs), their tools and other sorts of 
> multimedia applications, where the GUI can change dynamically."
> 
> More info at http://hybrid.team0xf.com/
> 
> As for info not mentioned on the wiki, I'm planning to use Hybrid in 
> Deadlock and its level, animation, shader, etc. editors. In fact, the 
> prototype for Hybrid was used in Deadlock before and has worked very 
> well. This release is a complete redesign and rewrite.
> 
> Hybrid is licensed under the MIT license.
> 
> PS. Make sure to see the immediate-mode API to Menu creation. Lazy 
> evaluation and typesafe variadics do wonders there :)
> 
> 

When I execute one of the examples, it goes like this:

...
Registering widget: TopLevelWindow
Registering widget: FramedTopLevelWindow
Registering widget: GLViewport
derelict.util.exception.SharedLibLoadException: Failed to load shared 
library Failed to load shared library libIL.so

This is on Gentoo Linux.  I have DevIL installed:
$ ls /usr/lib | grep libIL.so
libIL.so
libIL.so.1
libIL.so.1.0.0
$

I managed to run them in wine, though.  Only problem then is that as I 
drag them around my screen, they start to jitter and shoot off in the 
direction of the last mouse movement.

Other than those technical issues, I must say I like where this is 
going.  MIT license & portability (linux!) & good documentation, ftw. 
It also looks pretty.
Once finals are over I'll have to play with it and see if I enjoy the 
design as much.  I'm excited about it.

Thank you for doing this!


More information about the Digitalmars-d-announce mailing list