My editor uses wxWidgets for the UI. I started coding the layouts by hand at first. It was easy enough, simple enough. Then I thought fuck this shit, it can probably be easier.
Then I found wxFormBuilder.
At first I was worried about how it would work. Would it create C++ files that I change, then won’t be able to update? Nope.
It creates a .cpp and a .h file. They define the all the windows/panels you create in the editor. Then you simply derive from that class.
Adding events is just as easy as in Visual Studio. Just set the function name and it does all the running for you. The only manual thing left to do is to implement it in your derived class. No more messing about with ID’s or event tables.
The one negative thing I can find is that on some things it makes you add a panel, then sizer, then your custom class – instead of just your custom class (Like in notebooks or splitter windows). Oh and it doesn’t fully support AUI (but that doesn’t really stop you from using it for everything else).
Nobody fucking told me about this. God damn.
Today has been blogtastic
I don’t understand absolutely anything in that picture.
I’ll smile and nod.
Your blog happy today garry. :P
*smiles and nods*
Spaces are for gays.
Wow, I thought doing UIs was much harder.
Also haha John Lua.
I’ve known about this since I use wxLua as my IDE and have tinkered with forms created by it, but it’s a lot more convenient than creating your own forms in C++. I did that once in class and never want to do it again.
What do you mean by “My editor”?
There’s a project for Lua called ‘wxLua’, which is a way for Lua to access the wxForms. It comes with an IDE that I use as my main editor for it. That’s what I meant.
I understood 5% of what you just said so I’m just going to nod my head in agreement.
lulz @ vista.
I use wxDev-C++, it has a built in RAD for wxWidgets.
You can use it with Vista, but you gotta have to change the configuration, else it doesn’t work.
I like it, even though I had some minor/mayor positioning issues, but perhaps it’s just me. Check my blog to see how I’ve made it working under Vista.