![]() ![]() |
![]() |
||||
![]() |
![]() |
||||
Home News Download Goals & Approach Documentation FAQ Screenshots Adie PathFinder FOX Calculator Projects FXPy FXRuby EiffelFox The FOX Hole Japanese Docs ![]() |
November 27, 2001 - New drop: FOX 0.99.181
Widgets like FXText, FXTextField, and so on which absorb the Return key now make the default button loose the fat border. The Return key is now reported to the default widget as ordinary SEL_KEYPRESS or SEL_KEYRELEASE messages. The ID_INSERT_CHAR message in FXText and FXTextField has been deleted; a new message ID_OVERST_STRING has been added to implement overstrike mode capability. The overstrike mode in FXText is now more sophisticated about spaces and tabs. Added API's to FXImage: setPixel() and getPixel() to access image buffer on pixel by pixel basis. Corrected API's to FXGLSphere. Made ctx member of FXGLCanvas and FXGLContext protected. Added some screen shots. Made data() public in FXSettings; this is needed to write iterations over all sections.
Janusz Ganczarski has donated support for the TARGA image file format; this brings FOX's image support up to the following list: BMP, GIF, XPM, PCX, JPG, PNG, ICO, TIFF, and TARGA. Note to MS-Windows users: FOX supports not only BMP images and icons, but also ICO format. This means you can design icons directly with VC++ built-in icon editor. FXJPEGImage, FXJPEGIcon renamed to FXJPGImage, FXJPGIcon [but a typedef should keep your app compiling].
FOX now properly handles default buttons. The default button is
the one responding to the Return key in a dialog.
You can designate any number of buttons to become the default button when
the focus moves into it.
One special button is called the initial default button; the initial
default button is the button that will initially be the default button.
It is also the button to which the default returns when the keyboard
focus moves to another control. New API's are available to set initial default widgets:
setInitial(enable) Only one window can be the initial default, and only one window can be the default. FXGLObject now starts counting at message ID=10000, this means you can make your FXGLViewer subclass start counting from FXGLViewer::ID_LAST, just as you would with any other subclassed widget. FXStatusline and FXProgressBar now automatically call repaint() and flush() so you won't have to. This is useful to update these widgets while performing a long callback routine [e.g. reading a file]. FXSectionDict has disappeared. Basically, its only use was in FXSettings; what has happened is that FXSettings now derives from FXDict directly, and takes over all of FXSectionDict's functionality. Fixed focus navigation in FXTopWindow. Focus navigation in FXMatrix was moving to incorrect widget. FXText could read out-of-bounds when searching. Note, I did not implement Daniel Gehriger's menu patch yet; still looking at that issue some more.
Integrated Daniel Gehriger's keyboard patches. The fxkeyval API has now been
removed:- instead, a new member "text" was added to FXEvent which contains the
translated keyboard symbol(s).
The header file organization has been changed to allow programs to include only those widgets which are needed. A resource leak in OpenGL context has been removed (under Windows). The style BUTTON_DEFAULT causes a button to have the focus first time around; buttons which have the focus are drawn with a FAT border and respond to the Enter key. The flag MENU_DEFAULT, and the setDefault() and setOther() API's have been removed. The new API FXWindow::isDefault() returns TRUE if the widget is in the focus chain. Updated project files for VC++. Added stub-icon/images to be shown when JPEG, PNG, or TIFF libraries are not available; the stub images allow programs which use FXJPEGImage, FXPNGImage, and FXTIFImage to work with reduced functionality when the necessary libraries are not available.
Some minor bugfixes. Visual Studio Project files were broken and now fixed.
Due to the amount of time elapsed since last drop, there have been a lot of new things; for starters, we have some new widgets:
Janusz Ganczarski donated support for Windows ICO format support;
we have both an FXICOIcon and FXICOImage classes.
A huge amount of improvement to FXTable has been performed; we have more to do, but here's what's been done that you can now start to play with:
For the table itself:
Popup menus improved under Windows, thanks to Daniel Gehriger. FXFile::listFiles now has many matching modes. FXFile::simplify() was much improved now; it was not entirely working correctly in all cases. FXColorSelector has been augmented with a hue/saturation dial, a value bar, and a color picker. Off-by-one error fixed in FXDCWindow::drawArc under MS-Windows. FXDCWindow::drawIcon() FXDCWindow::drawIconShader(), FXDCWindow::drawIconSunken() have been fixed to take into account the clipping rectangle of the FXDCWindow. This may in some cases result in slightly faster/more flicker-free drawing, and of course it now clips correctly!! Added another ctor to FXMessageBox in case there's no owner widget. FXWindow::hide did not ungrab under Windows. Fixed compile bug for Borland C++. Fixed GUI updating problem in FXListBox, FXComboBox, FXTreeListBox. Fixed problems which occurred when FXIcon, FXImage, FXFont, FXCursor resources were being deleted AFTER closing the display; now the destroy() function for all resources becomes a NO-OP after the display is closed; everything is assumed to be already gone! FXDCPrint::drawImage now implemented for PostScript. Sublt layout bug fixed in FXTabBook:- calculated size was a bit too wide given the content size. FXSpinner was sending wrong parameter in message. Extremely subtle buglet in FXSlider fixed. API added to FXGLCanvas to return GL context. FXPacker focus movement had potential infinite loop in it due to typo. FXProgressBar dial mode drawing improved. Drag and drop enabling was in wrong place. Keyboard handling slightly changed; FXComposite now dispatches to accel table first before trying focus child. Calculator does keypad now... Adie updates.
Many new features were added. FXSearchDialog and FXReplaceDialog now
maintain a history of previous searches. TextEdit has been renamed to Adie (Advanced
Interactive Editor). FXText serialization was added. Additions were made to
the XWindow API to grab the keyboard to a window. A new repaint function was added, which forces painting of part of a window before returning. FXFile and
FXURL were turned into name spaces. Popups were improved. FXCalculator now
has its own Web page. Lots of bugfixes were made in FXArrowButton,
FXScrollbar,FXMDIChild, FXTextField, FXStream, FXFrame, FXPacker, FXTopWindow/FXShell,and FXApp.
FOX has a dedicated web site. CUPS Printing
support has been added. PCX, TIFF, JPEG, XPM
Image I/O support has been added. FXProgressBar
has a dial mode. New Standard dialogs:
FXProgressDialog, Search and Replace dialogs,
Input dialog, Directory Selection Dialog have
been added. Dockable toolbar support ihas been
added. Socket and signal callback message
support have been added. Listing files, drive
letters, and network neighborhood (Windows) have
been added, and there have been many bug fixes.
|
||||
![]() |
![]() |
||||
![]() |
![]() |