What is GWEN

I keep getting asked what GWEN is – so here’s an explanation. GWEN is a GUI Widget Toolkit, aimed at video game developers, with the emphasis on being small, simple and easy to integrate.

We decided to make our own because the solutions that are out there right now don’t fit with our requirements. The top runners all had one major problem. They weren’t ‘just’ GUI toolkits.

image image image image

We basically wanted something that drew a GUI where you told it to and you could fire input into it. Most solutions that are already out there come with too much baggage. Font renders, XML parsers, HTML renderers. It’s all too much, they force you to do it all their way. All you want to do is draw rectangles on the screen that people can click on!

image

We tried to KISS with GWEN.

17Dec2009_003 To get GWEN drawing in your game you have to fill out the renderer class. Which at the minimum consists of a function to draw rects and a function to draw text. We already have renderers for GDI+ and DirectX9.

To get GWEN receiving input you have to chuck stuff at it’s input class, things like key pressed, mouse pressed. We have one of these already made for Window’s MSG pump.

The skins are a c++ class that you derive from.

So that’s what GWEN is. Right now it’s mostly finished. We have most of the controls we want – but we’re using it internally (like in the editor above) to iron out any problems before releasing it. It’ll be open source, released under MIT.