Seems that way.mystadio, on 'lGUI ( name pending )' thread wrote:My father always said: "When you've got a idea, one person somewhere around the globe just got it too."
I've been working on a gui-related toolkit. I'm creating a game for love (currently in pre-pre alpha stage) and since there was no gui library around here, I started making my own.
Actually, it's not really a gui toolkit, because there are no 'buttons' or ''. There is only one root element (called desk) and one hierarchical element (called sheet) - a rectangle which can serve as a window, panel, button, scrollbar, whatever.It has built-in layout capabilities: It can be moved and resized, it can be anchored around specified edge, its position can be absolute or relative to it's parent and its scaling can be fixed or relative. It also supports callback functions. However, it has no built-in drawing functions (though the library provides one) and it's nothing but a plain rectangle - if it's supposed to do more, the user has to code the extra functionality. I designed the toolkit this way because there are hundreds of ways to make game interface and it doesn't always incude floating windows.
Now, I'm eager to get some feedback on my work. The attachment contains the library (currently in 'unmarked beta' stage - mess in comments and names, public internals, less than tested...) and also a test love script with two functions test1() and test2(). Just uncomment the one you want to try.
So, how about it?