|
Boost : |
From: Philippe A. Bouchard (philippe_at_[hidden])
Date: 2003-07-25 12:48:32
Edward Diener wrote:
[...]
> Microsoft has a Windows Template Library, WTL, for Windows specifically,
> which is template-based but which they barely support for their VC++
> users. There are other cross-platform frameworks which seek to encapsulate
> GUI/GDI in classes but few of them are template-based as far as I know. I
> think you
> have a big job attempting to create a cross-platform C++ GUI/GDI
> framework considering the different operating systems which Boost supports
> and therefore the different GUI/GDI elements on those systems.
If you want to write a portable GUI from scratch, the only thing you need is
the stylish frame, colors, fonts & menus. You then need to implement the
ability to draw some rectangles portably and the Qt library does that
already, you can take a look here (qt.../src/kernel/qpaintdevice_x11.cpp):
http://ftp.debian.org/debian/pool/main/q/qt-x11-free/qt-x11-free_3.1.1.orig.tar.gz
Everybody knows Windows GDI so there's nothing to hide...
-- Philippe A. Bouchard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk