Hi Christopher, On 3/19/07, Andreas Goebel <[EMAIL PROTECTED]> wrote:
Dorosky, Christopher G schrieb: > Wow, I'm glad I asked. > > In my previous experience, wxWindows was a buggy, difficult to use, > not-readable MACRO filled mess. > It would literally take me longer to get a menu working than to code the > OSG 3D feature that went with it. >
Well, there are still some macros in the 2.8.x version, but they are reduced to event handling tables. You can even replace them by a slot/signal system a la QT.
I was hoping to at least get the GUI builder of MFC or .NET, but it is > true that the code there is also the same buggy, difficult to use, > not-readable mess. > I also didn't like having to make many different packages work first > before wxWidgets would even install. >
The wxWidgets solution is stand alone. You can build it without any 3rd party deps.
Is there a good wxWidgets GUI designer that will work with windows? > I've heard little bits about wxDesigner? >
I've been using VisualWx - which is quite clumsy - until now, but today I've tried wxFormBuilder. It's still not complete but hey, it's free ! You can get it at http://www.wxformbuilder.org/.
On the same topic, I didn't see any project files with wxWidgets 2.8.0. > Is it reasonably easy to build? >
Just open the VC6 workspace (and convert it, as usual) in wxWidgets-2.8.x/build/msw. I'm using the DLL unicode version, and it's fully compatible with the OSG.
I was really ready to ditch what I perceived as unwelcome wxMess, but if > the consensus is that it is better than porting, I'll definitely give it > a try. >
My two cents: I've found the XRC resource file format quite handy since you can separately design your GUI components and load them into a wxFrame/wxDialog with a single function call. You don't have to bother to include machine generated .h and .cpp files and hard code the IDs. I might write a tutorial for this if some of you guys are interested as I've spend the past few weeks working on this topic. BTW, Gian, if you can hear me, how is the osgsimpleviewerWx sample going on ? Cheers Thibault
Chris > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Paul Martz > Sent: Monday, March 19, 2007 12:18 PM > To: 'osg users' > Subject: RE: [osg-users] Advice requested for Linux to Windows Port. > > >> It sounds like you should be able to almost just build it. >> I'm sure there will be some minor issues, but wxwidgets runs on widows >> > > >> and we use osg built with vs 2005. I think I would just try to get it >> > > >> working as is before going the route of trying to run it managed or >> with a .Net GUI. >> > > Agreed. Porting to Forms will be a trmendous PITA. Stick with OSG and > wx. > -Paul > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > > > Hi, I use DialogBlocks for this. It´s not free, but if you have just a few controls you might be able to use the shareware-version. You can - build wxWidgets with it - build your Menus with it - generate makefiles and Visual-Studio project-files with it Porting my geometry-application with wxWidgets, osg and DialogBlocks from Windows to linux took me about three hours, and it has definitely more than just a menu (about 30 000 lines of code). I agree that wxWidgets at first looks a bit messy because of the macros. But if you use a decent tool like DialogBlocks (there are others around, too) you won´t see too much of this, and then it´s a really great toolkit, very full-featured, very stable and very very well supported. Regards, Andreas _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
