Compile Time Changes

Library

The following field has been removed from Library.

Removed: public int uiVersion;

The following global variables / functions have been removed.

Removed: public bool ui9MasterEnable;
Removed: public void setDynamicUi(bool setDynamic) : deprecated {}
Removed: public bool coolToolboxFrames() { return true; }

Deprecated: public void formatToolboxUI9(Library lib) : deprecated {}

class LibraryLimb

Old: public constructor(symbol pkg, str key, Image image=null, bool frame=true, str label=null, str toolTipText=null, Image toolTipImage=null, SectionButton[] buttons=null, UIHint hint=null, SrcRef src=null)
New: public constructor(symbol pkg, str key, LibraryLimbVisibility vs=null, Image image=null,            // LibraryLimbVisibility vs is new
                        bool frame=true, str label=null, str toolTipText=null, Image toolTipImage=null,
                        SectionButton[] buttons=null, UIHint hint=null, bool hideSendToButton=false,     // bool hideSendToButton is new
                        SrcRef src=#:src)

Old: public constructor(LibraryLimb parent, symbol pkg, str key, LibraryLimbVisibility vs=null, Image image=null,
                        bool frame=true, str label=null, str toolTipText=null, Image toolTipImage=null,
                        SectionButton[] buttons=null, UIHint hint=null, SrcRef src=null)
New: public constructor(LibraryLimb parent,
                        symbol pkg, str key, LibraryLimbVisibility vs=null, Image image=null,
                        bool frame=true, str label=null, str toolTipText=null, Image toolTipImage=null,
                        SectionButton[] buttons=null, UIHint hint=null, bool hideSendToButton=false,     // bool hideSendToButton is new
                        SrcRef src=#:src)

class SubSectionLimb

Old: public constructor(LibraryLimb parent, symbol pkg, str key, LibraryLimbVisibility vs=null, UIHint hint=null, SrcRef src=#:src) 
New: public constructor(LibraryLimb parent,
                        symbol pkg, str key, LibraryLimbVisibility vs=null, str label=null,   // str label is new
                        UIHint hint=null, bool drawLine=false, SrcRef src=#:src)

class SnapperLimb

Old: public constructor(LibraryLimb parent, symbol pkg, str key,
                        UIHint hint=null,
                        LibraryLimbVisibility vs=null,
                        Image image=null,
                        str label=null,
                        str toolTipText=null,
                        Image toolTipImage=null,
                        bool keywordHidden=false,
                        str->Object initProps=null,
                        str->Object applyProps=null,
                        SnapperSpawner spawner=null,
                        SrcRef src=#:src)
New: public constructor(LibraryLimb parent, symbol pkg, str key,
                        UIHint hint=null,
                        LibraryLimbVisibility vs=null,
                        Image image=null,
                        str label=null,
                        str toolTipText=null,
                        Image toolTipImage=null,
                        bool keywordHidden=false,
                        str->Object initProps=null,
                        str->Object applyProps=null,
                        SnapperSpawner spawner=null,
                        bool skipRenderImage=false,  // New argument
                        SrcRef src=#:src)

class AnimationLimb

Old: public constructor(LibraryLimb parent, symbol pkg, str key,
                        UIHint hint=null,
                        LibraryLimbVisibility vs=null,
                        Image image=null,
                        str label=null,
                        str toolTipText=null,
                        Image toolTipImage=null,
                        bool keywordHidden=false,
                        str->Object initProps=null,
                        str->Object applyProps=null,
                        AnimationSpawner spawner=null,
                        SrcRef src=#:src)
New: public constructor(LibraryLimb parent, symbol pkg, str key,
                        UIHint hint=null,
                        LibraryLimbVisibility vs=null,
                        Image image=null,
                        str label=null,
                        str toolTipText=null,
                        Image toolTipImage=null,
                        bool keywordHidden=false,
                        str->Object initProps=null,
                        str->Object applyProps=null,
                        bool skipRenderImage=false,  // New argument
                        AnimationSpawner spawner=null,
                        SrcRef src=#:src)

class HeaderLimb

Old: public constructor(LibraryLimb parent, symbol pkg, str key,
                        LibraryLimbVisibility vs=null,
                        Font font=boldSystemFont,
                        alignment align=middle,
                        bool extendRight=false,
                        Image image=null,
                        bool compact=false,
                        PointI margins=null,
                        color labelColor=color(0),
                        SrcRef src=#:src)
New: public constructor(LibraryLimb parent, symbol pkg, str key,
                        LibraryLimbVisibility vs=null,
                        Font font=boldSystemFont,
                        alignment align=middle,
                        bool extendRight=false,
                        Image image=null,
                        bool compact=false,
                        PointI margins=null,
                        str forceText=null,       // New argument
                        color labelColor=color(0),
                        SrcRef src=#:src)

class VoidCallbackLimb

Old: public constructor(LibraryLimb parent, symbol pkg, str key,
                        UIHint hint=null, LibraryLimbVisibility vs=null,
                        Image image=null,
                        function() callback=null,
                        Image toolTipImage=null,
                        str label=null,
                        SrcRef src=#:src)
New: public constructor(LibraryLimb parent, symbol pkg, str key,
                        UIHint hint=null, LibraryLimbVisibility vs=null,
                        Image image=null,
                        function() callback=null,
                        Image toolTipImage=null,
                        str label=null,
                        str toolTipText=null,
                        SrcRef src=#:src)

class LibraryHeaderBuilder

Old: extend public Window build(Window parent) { return null; }
New: extend public Window build(Window parent, Library library) { return null; }

class BasicLibraryHeaderBuilder

Old: public constructor(Image icon, str title) {}
New: public constructor(Image icon, str title, str schemeKey=null) {}

UI Hints

As part of hint changes made for the new UI Toolbox Guidelines, the largeButtonHint is now removed:

Old: public const UIImageHint largeButtonHint;
New: public const UIImageHint productButtonMediumWithLabel;

As a result of some clean up work, the following global has been made constant:

Old: public UIHelpImageHint uiHelpImageHint();
New: public const UIHelpImageHint uiHelpImageHint();

UIBrushHoverHint has its sized field removed:

Old: public sizeI size;
New: public sizeI preferSize;
New final public sizeI safePreferSize();