This appendix describes what's new in the Widget Building Guide in each release.
Two new functions:
The chapters dealing with the resource editor plugin API are new. These chapters are:
The new function PtFindResouce() replaces PtFindResourceRecord(), which is deprecated.
Binding Widgets into PhAB — There is a new ushort resource type.
- PtWidgetAbove()
- Corrected the description.
This section summarizes the changes to these chapters:
- Anchoring is now done by PtWidget instead of
PtContainer.
- The section on
PtResourceRec_t resource records
includes new mod_f special values
(Pt_CHANGE_CANVAS and Pt_CHANGE_CANVAS_REDRAW)
and a new arg_value type (Pt_ARG_IS_IMAGE).
- Widget classes now include a textual description. See
“Widget class resource table.”
- PtContainerChildRedirect() no longer exists;
use the Pt_SET_CHILD_REDIRECT_F manifest in your widget's
class-creation function instead. See
“Container widget anatomy.”
The method for
binding widgets into PhAB
has changed.
If PhAB can open the shared object for your widget, it can display your
widget correctly, and you can work with them “live.”
New functions:
- PtContainerChildRedirect() no longer exists;
use the Pt_SET_CHILD_REDIRECT_F manifest in your widget's
class-creation function instead. See
“Container widget anatomy”
in the Anatomy of a Widget chapter.
- PtGetAnchoredExtent() no longer exists; anchors are handled
by the widget library.
- PtInvokeResizeCallbacks()
is now a void function. It assumes that the widget passed
to it is a container.
Various tips have been added.