1
SFML projects / cpGUI - Anyone interested in developing?
« on: August 27, 2010, 02:03:43 am »Quote from: "Recruit0"
I scanned your code and IMHO it looks like you had written it with minimal design in mind (if any), i.e. it looked like it was just thrown together (which makes sense with the 1-2 week creation period).It was kind of thrown together. I did have some very minimal design, but not a whole lot before I started working on it. Basically, I had a game in mind that I wanted to use SFML for, but I needed some form of GUI. I wanted to get to working on the game, so I just kind of worked quickly on getting a GUI done. I have some background in wxWidgets, so I very loosely used that as a model for an API and adapted it to how SFML works. I originally created it just for myself, but when it ended up blowing up into something with some useful features, I thought it would be nice to make it available for some other poor souls who don't want to take the time to create a GUI from scratch.
A rework in structure is probably a really good thing. I'm glad my code is helping to save some time with implementation.
Quote from: "Recruit0"
Someone mentioned that there's a bug with the drop down list class that allows them to select items after they've already selected one (and the menu disappears). I've yet to test it but now I know why there's a bug (you didn't finish coding it). It's no prob though, I'm currently working on the menu class and the timing is intriguing (I'll end up fixing the bug in the old code and propagating what I learn to the new).That's kind of strange, because I thought I had that bug fixed. That was one I fixed pretty early on. Unless there is a different type of bug that has to do with that.
That's cool that you have a goal to get it to work with SDL, etc. Maybe someday I'll use SDL and get to use cpGUI with it.
Anyway, thanks again, and good luck.