Page 1 of 1

C++ programming GUI + API

Posted: Mon Aug 17, 2009 4:23 pm
by IM_3LITE
yo i need some programming help, how do i incorporate images and image buttons into my C++ programs

Posted: Mon Aug 17, 2009 4:41 pm
by jeetee
To be somewhat pratical, you'd use a graphics library.
If you're a windows-only guy, you could use the win32GDI, which is said to work rather easy.

If you want to keep things cross-platform, you might consider SDL, which is a wrapper of OpenGL and has some tutorials, like these cool-looking ones from cone3d or these themed ones from Lazy Foo (although the latter mainly use plain C).

If you plan on doing some wild stuff, as in possible 3D, you might want to take a look at IrrLicht, which is rather light and has a small GUI-framework.

Whichever you choose, I find it rather important that you have a good knowledge about the use of pointer and classes before attempting graphics.

I'm sure there are a few other good graphical libs out there, but other might tell you more about them.