1. New Features
1.1 The Action= subkey for the Ctl key is now implemented.
Action=a sets the default action for the control to a, where a is 'NONE',
'CANCEL', 'APPLY', 'PREVIEW', or 'EDIT'. The default action is the action
that will be taken by the default handler for this control when the control
is activated. The default actions are:
NONE No action. This is the default action for radio buttons and
group boxes.
CANCEL FM exits, leaving the original source image unaltered.
This is the default action for the Cancel button,
APPLY The filter is applied to the original source image,
and FM exits. This is the default action for the OK
button.
PREVIEW The filter is applied to the proxy image, and all previews
are updated. This is the default action for most user
controls, including the STANDARD, SCROLLBAR, TRACKBAR,
PUSHBUTTON, and CHECKBOX controls.
EDIT FM enters or leaves Edit Mode. This is the default
action for the Edit control.
The default action for a control can be set programmatically by calling
setCtlAction(n, a), where 'n' is the control index and 'a' is one of the
following predefined named constants: CA_NONE, CA_CANCEL, CA_APPLY,
CA_PREVIEW, or CA_EDIT.
1.2 The following named constants are now built-ins in FM:
CA_NONE, CA_CANCEL, CA_APPLY, CA_PREVIEW, CA_EDIT,
CC_UNUSED, CC_STANDARD, CC_SCROLLBAR, CC_TRACKBAR,
CC_SPINNER, CC_UPDOWN, CC_PUSHBUTTON, CC_CHECKBOX,
CC_RADIOBUTTON, CC_GROUPBOX, CC_OWNERDRAW, CC_LISTBOX,
CC_COMBOBOX, CC_SLIDER, CC_PROGRESSBAR, CC_EDIT,
CC_STATICTEXT, CC_FRAME, CC_RECT, CC_BITMAP, CC_ICON,
CC_TOOLTIP, CC_ANIMATION, CC_PREVIEW.
CTP_TRACK, CTP_READONLY, CTP_HORZ, CTP_VERT,
CTP_ORIENT_MASK, CTP_TOP, CTP_BOTTOM, CTP_LEFT,
CTP_RIGHT, CTP_SIDE_MASK.
2. Changes
2.1 The default dialog background color is now X11.CadetBlue (#5F9EA0)
instead of Black.
2.2 A group box control can now be assigned any arbitrary value, not just
0 or 1.
2.3 String literals and floating point constants are now stored in the
same (fixed size) literal pool. If this literal pool overflows during
compilation, you will get the message: "Too many floating-point constants
or string literals."
3. Bug Fixes
3.1 A couple of small memory leaks have been fixed.