Porting FOX 1.6 Applications to FOX 1.8This section should provide a kind of cookbook or checklist approach
for porting applications. It's especially important to point out the
non-obvious changes (i.e. ones the compiler won't scream about) and offer
guidance on how to deal with those changes. - All api that require time input have been changed from milliseconds to nanoseconds.
- Major
api changes in FXString. FXStringFormat and FXStringVal have been
replaced by FXString::value. For more information see the changes in FXString.
- FXPath::match / fxfilematch arguments have been reversed.
- FXGUISignal has been replaced by FXMessageChannel.
What's Changed?
Changes to Dynamic Link Library SupportThe
fxdllOpen, fxdllClose, fxdllSymbol and fxdllError functions have been
removed. They've have been replaced by the new classes FXDLL and
FXAutoDLL. FXAutoDLL automatically unloads a dynamic library when it
goes out of scope. Changes in FXApp New API getSelectionWindow() returns the window currently owning the primary selection. New API getClipboardWindow() returns the window currently owning the clipboard. New API setAutoHideDelay() and getAutoHideDelay() to set and get the auto hide delay. The experimental writeWindow() and readWindow() apis have been removed from this release. FXPath::match / fxfilematchThe file and pattern arguments are reversed in FOX 1.8. The file argument comes before the pattern argument. In addition, this allows the pattern to also have a new default argument. extern FXAPI FXbool fxfilematch(const FXchar *string,const FXchar *pattern,FXuint flags); extern FXAPI FXbool FXPath::match(const FXString& file,const FXString& pattern="*",FXuint flags=(FILEMATCH_NOESCAPE|FILEMATCH_FILE_NAME));
What's New?
ThreadingFXAtomicFXMessageChannelFXMessageChannel replaces the old FXGUISignal from FOX-1.6. FXThreadPoolFXSpinLockFXRunnableBaseFXAutoPtrFXComplex[fd]
SystemFXDLL & FXAutoDLLFXGLConfigFXLocaleWidgets
FXCalendar & FXCalendarView
FXConsoleFXCopyDialogFXRangeSlider
|
|