gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

OffTopic > C++ GUI API?

#152043 - jake2431 - Sat Mar 08, 2008 10:14 pm

What APIs do you guys use for creating AUI applications in C++? I am currently in a C++ class, but it doesn't cove any API's other than the standard library (at least thus far).

#152058 - tepples - Sun Mar 09, 2008 4:43 am

GUI on the PC, or GUI on the DS?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#152064 - gauauu - Sun Mar 09, 2008 5:03 am

Assuming you mean for pc, check out wxWidgets, gtk or QT.

All of these are fairly cross-platform.

#152183 - jake2431 - Tue Mar 11, 2008 11:25 am

Oh, yeah. Sorry, I meant pc. Thanks.

#152193 - nczempin - Tue Mar 11, 2008 4:40 pm

jake2431 wrote:
Oh, yeah. Sorry, I meant pc. Thanks.


Some portable libraries have been mentioned. If you not only mean PC, but Windows, then those bits that are not done within .NET usually use the Win32 API, some of them MFC.

#152210 - jake2431 - Tue Mar 11, 2008 10:08 pm

Well, I'm using windows, but it would be cool if it was cross-platform. In case I ever wanted to write a program thus.

I am currently trying to decide between wxWidgets and GTK+. I use devcpp and there is a version of devc++ that is used with wxWidgets(this may be a dumb question, but can will I still be able to write console applications with devcpp for wxWidgets?(I will probably find that out with more research, but it is a current question I have.) But the GTK+ api is appealing to be, just because of some of the programs that have been written with it.

Does anyone here have a preference between the two?

#152214 - gauauu - Tue Mar 11, 2008 11:00 pm

jake2431 wrote:

Does anyone here have a preference between the two?


Not on the development side, (I haven't actually used either one) but on the user-end, on windows, I prefer programs written with wxWidgets. The GTK+ ui in windows often looks slightly "off." Not as bad as swing in java, but often doesn't look exactly like a standard native app.

#152216 - jake2431 - Wed Mar 12, 2008 12:34 am

Okay, thanks. I am going to download wxDev-C++. Thanks for all the help.

#152296 - nczempin - Thu Mar 13, 2008 12:48 pm

gauauu wrote:
The GTK+ ui in windows often looks slightly "off." Not as bad as swing in java, but often doesn't look exactly like a standard native app.


Apparently things have got much better with Swing recently. And I say this as an SWT/JFace/Eclipse RCP developer.

#152427 - gauauu - Sat Mar 15, 2008 8:08 pm

nczempin wrote:

Apparently things have got much better with Swing recently. And I say this as an SWT/JFace/Eclipse RCP developer.


Interesting, that's what I do professionally as well. But I didn't realize that swing had gotten that much better.

<offtopic>You going to eclipseCon next week?</offtopic>