I have committed code for the next version of AgateLib's GUI. It compiles right now but it doesn't run because I don't have royalty free graphics for the controls to upload. If anyone can find or wants to contribute designs for GUI widgets that can be redistributed/reused freely in binary format without requiring anything from individuals using AgateLib (including credit). I'm happy to give credit in the AgateLib distribution but I do not want to require it of AgateLib users. |
|||
|
|

What exactly do you need? If
What exactly do you need? If you have specs I can probably whip up some basic form element-like graphics, if you can tell me how to test them that'd be even better. I don't remember seeing any gui code samples in the distro. Could you use the gui resources from, say, clanlib? I believe clanlib's gui graphics are lgpl'd as well.
Great job on this Engine Kanato. I wish I started messing with it sooner.
I've uploaded what I have so
I've uploaded what I have so far to http://www.agatelib.org/Download/Gui.zip
The Executable is in the bin folder. Images are in the Images folder (paint dot net was used to make the pdn files). That's what I've done so far. At the moment there only controls are Label, TextBox and CheckBox. Basically, to change the images, they need to go in the .tar.gz file which is embedded in the executable when it's built. The neat thing about .NET is I can embed a gzip file like this as a resource into the executable and not need to have external files when running the application. So if any other images are to be used in this manner they need to be compatible with MPL (LGPL is not), and ideally they could be used without having to give credit. I don't mind giving credit in AgateLib but I don't want to require users of AgateLib to be aware that they have to give credit to someone for certain images.
Ok, I have to leave and I probably haven't answered your question, but let me know what you think. Oh and I'm glad you like the library, it's always good to hear that kind of feedback :D
almost....
I didn't bail on this. It's just more time consuming than I thought it would be for some simple squares. I'm almost done with a very simple gui. Should I make a new "scheme"? It's going to be along the lines of a standard gray with black borders with a (I'm thinking) blue title bar.
And yes, this library is awesome so far. Hopefully some people make some games with it and more people will learn about it. Awesome job. Just awesome.
Yeah, it is time consuming,
Yeah, it is time consuming, which is why I haven't gotten much farther on it myself. I realized one important piece that's missing right now is the ability to distinguish between a control which has keyboard focus and one with mouse over status. Then of course stuff like radio buttons and scroll bars are missing.
But yeah, making a new scheme is just a matter of filling out the data in a GraphiteScheme object. Either inherit from it and set all the properties, or add a static method similar to CreateDefaultScheme.