[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
fltk now running under Microwindows
From: "Greg Haerr" ####@####.#### Date: 7 Mar 2000 07:55:01 -0000 Message-Id: <007601bf8808$cd8aba00$15320cd0@gregh> Shane, I hacked away till the early hours last night, and managed to get the FLTK widget set running under Microwindows. Barely. There were quite a few items that had to be done, but I think now you can start porting in earnest, rather than taking all sorts of time figuring out Microwindows. I have released another version of Microwindows with all sorts of new functions, microwindows-0.88pre3b.tar.gz. In addition, I have tarballed up the std FLTK 1.0.7 along with my hacks to get it running, as fltk-pre3b.tar.gz. Both are available at: ftp://microwindows.org/pub/microwindows I have the following FLTK demos running, although in many cases all they do is come up and paint the screen. There's quite a bit more work to do, and I'm not that familiar with FLTK internals: buttons (cool) button valuators (very cool looking) output tile (quite cool) clock (runs then segfault) tabs, forms (segfault) To get any demo running, add "winmain.h" into the demo source. This adds various WinMain/main klugery. There are many functions commented out of the fltk library that Microwindows doesn't implement. I'll be working on them, but I thought you should take a few hacks at it. To compile, first extract Microwindows, then "make", then "make install." Then compile up FLTK. I have hacked config.h, so you might want to save it before running ./configure, as I turn off OpenGL and a few other items, and force the WIN32 define in the makefile. Following is the Microwindows ChangeLog for pre3b (since yesterday): Version 0.88pre3b (fltk port) - 6th March 2000 - ####@####.#### * added GetDeviceCaps, Polyline * added extern "C" in windows.h * fixed loop bug in CreateRoundRectRgn * added penguin to bin/mdemo * added ValidateRect, ValidateRgn, InvalidateRgn * completely rewrote UPDATEREGIONS handling for new region fns * added DCX_EXCLUDEUPDATE handling to window clipping * sped up WndSetClipWindow, GsSetClipWindow * added GdSetRectRegionIndirect, GdSubtractRectFromRegion * added SetWindowPos for size,move,show,hide,repaint,zorder Have Fun! Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |