Books

Class Book now inherits from Entrance and knows to install themselves in the library.

The field BookPage_index has been renamed indexOfPages.

The book of rules has been improved to deal with packages better. Created a new class, BookOfRulesStack, which automatically includes rules pages for all package scenes which are made public. Packages can publicize their scenes by installing into the new indexical iPublicPackageSceneList. Right now, packages must install into this list explicitly, but in future releases, iPackageStandardPlaces might be brought back and this list may be rebuilt automatically.

Classes affected by these changes

Book
BookOfDialingCodesPage new
BookOfListsPage
BookOfRulesPage new
BookOfRulesStack new
BookPage
DialingCodeBookScene new
SortedBookStack new
Removed NewTransientBuffer() and DestroyTransientBuffer() since all they did was call NewLockedBuffer() and DestroyLockedBuffer() respectively.

Removed TransientBufferSize() since it returned the physical size of a Buffer object instead of the desired logical size.

Removed SafeTransientBufferCopyBytes() and SafeLockedBufferCopyBytes() because they relied on TransientBufferSize(). Use CopyBytes() instead.

Classes affected by these changes

Buffer

Buttons

Several new button class have been added to Magic Cap. Class DoubleActionButton specifies two actions that can be performed on a target, one when the button is tapped and the other when the button is tapped when the option key is held down. Class StickyButton works like a power toggle, retaining its new depressed state after a touch. Class ZoomingButton performs a zooming effect before performing its action.

The class ButtonBackdrop implements a viewable that looks like a stack of disabled buttons. This is useful for button columns that have two or more disabled buttons, which helps to save space.

Added the mixin class HasButtonInTitleBar which knows how to draw a button in a titled window. Class TrashWindow now inherits from this mixin.

Classes affected by these changes

Button
ButtonBackdrop new
DoubleActionButton new
HasButtonInTitleBar new
ModeButton
SpecialButton
StickyButton new
TrashWindow
ZoomingButton new