Click to See Complete Forum and Search --> : c++ winapi - gui library questions


zaryk
February 21st, 2009, 06:53 PM
What exactly is a gui library? I mean, lets take gtk+, for example, is it a wrapper for functions already available or are they functions made from scratch? Does it access the hardware directly, in order, to create a gui?

Hopefully, by me understanding how a gui library is created, I will be able to make my programs look better.

Russco
February 22nd, 2009, 05:02 PM
In general a GUI library provides a common interface for programmers that in its implementation kicks down to OS-specific routines such as win32 API on windows. These libraries almost never access hardware directly. Generally thats a no-no on multitasking operating systems.

This allows programmers to write code that will work on all operating systems covered by the library basically.

zaryk
February 22nd, 2009, 06:51 PM
cool thanks.