background image
C H A P T E R 1
Overview
1-22
What's New in Newton 2.0
The implementation of undo has changed to an undo/redo model instead of two
levels of undo, so applications must support this new model.
Recognition
1
Recognition enhancements include the addition of an alternate high-quality
recognizer for printed text and significant improvements in the cursive recognizer.
While this doesn't directly affect applications, it does significantly improve
recognition performance in the system, leading to a better user experience. Other
enhancements that make the recognition system much easier to use include a new
correction picker, a new punctuation picker, and the caret insertion writing mode
(new writing anywhere is inserted at the caret position).
Specific enhancements of interest to developers include the addition of a
recConfig
frame, which allows more flexible and precise control over
recognition in individual input views. A new proto,
protoCharEdit
, provides a
comb-style entry view in which you can precisely control recognition and restrict
entries to match a predefined character template.
Additionally, there are new functions that allow you to pass ink text, strokes, and
shapes to the recognizer to implement your own deferred recognition. Detailed
recognition corrector information (alternate words and scores) is now available
to applications.
Sound
1
The interface for playing sounds is enhanced in Newton 2.0. In addition to the
existing sound functions, there is a new function to play a sound at a particular
volume and there is a new
protoSoundChannel
object. The
protoSoundChannel
object encapsulates sounds and methods that operate on
them. Using a sound channel object, sound playback is much more flexible--the
interface supports starting, stopping, pausing, and playing sounds simultaneously
through multiple sound channels.
Built-in Applications
1
Unlike in previous versions, the built-in applications are all more extensible in
version 2.0. The Notepad supports stationery, so you can easily extend it by adding
new "paper" types to the New pop-up menu. The Names file also supports stationery,
so it's easy to add new card types, new card layout styles, and new data items to
existing cards by registering new data definitions and view definitions for the
Names application. There's also a method that adds a new card to the Names soup.
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна