Announcing Luigi -- WIP teaser [25k image attachment]

Bill Baxter dnewsgroup at billbaxter.com
Sun Nov 12 23:34:31 PST 2006


I mentioned a while back that I was interested in having a simple 
OpenGL-based GUI toolkit that would be easy to use.

I spent most last week working on it, and thought I'd show what I've got 
so far.

The layout in the screen shot is done completely using Luigi "Arrangers" 
which is what most other toolkits call "Layouts".  The arrangers I've 
implemented so far are clones of some of the basic Java ones -- 
BorderArranger, FlowArranger, and GridArranger.  What you can see in the 
screenshot is a BorderArranger with a FlowArranger on the North and 
South, and a GridArranger on the West.

Not so many widgets implemented yet as you can see. :-(

The demo is using GLFW, but the input source and window management 
library is abstracted out to be easily replaceable.  Eventually I'd like 
to have input adapter modules also for SDL, GLUT, raw Win32 etc.

The theme is Win32-like, but that also is abstracted out and replaceable.

I'm using std.signals for notifications.

Tab-Focus shifting and drawing all work properly with hierarchically 
nested widgets (something other simple toolkits often overlook), but 
it's very hard to do generic arrangers or (eventually) scrollable panels 
without that.

License will be ZLIB.

(Sorry for the big attachment - I would have put the screen shot on 
Luigi DSource page, except for the current unavailability of DSource)

--bb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: luigi.png
Type: image/png
Size: 25270 bytes
Desc: not available
Url : http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20061113/2bd006e7/attachment.png 


More information about the Digitalmars-d-announce mailing list