background image
C H A P T E R 1 0
Recognition: Advanced Topics
10-50
Summary of Advanced Topics in Recognition
// dictionaries to use when vCustomDictionaries is set
// single values need not reside in an array
dictionaries: [
dictId1
,
dictID2
, ...
dictIdN
],
// optional baseline info
rcGridInfo:
frame
,
// optional single-letter input view info
rcSingleLetters:
frame
,
// true disables symbols dictionary
inhibitSymbolsDictionary:
Boolean
,
...}
protoRecToggle
10
aRecToggleView :=
{
// current setting of recToggle view
// this slot may be provided by _parent chain
_recogSettings:
systemSuppliedValue
,
// order of items in recToggle picker
_recogPopup: [
sym1
,
sym2
...
symN
],
// optional index into _recogPopup array
defaultItem:
int
,
...}
protoCharEdit
10
aCharEditView :=
{
// screen coordinates of top edge of comb view
top:
int
, // Required when viewBounds not provided
// screen coordinates of left edge of comb view
left:
int
, // Required when viewBounds not provided
// dimensions & placement of comb view
viewBounds:
frame
, // Required when top & left not provided
// maximum number of cells in comb view; default value is 8
maxChars:
int
, // Required; sys provides if you provide viewBounds
// true causes comb view to display divider lines between cells
frameCells:
Boolean
,// Optional; default value is nil
// width of a cell in pixels; must be even number; default is 12
cellWidth:
int
, // system calculates from your top & left values
// pixels of blank space between cells in comb view
cellGap:
int
, // system-provided default value is 6
// pixels from top of viewBounds to dotted line at bottom of comb
viewLineSpacing:
int
, // system-provided default is 30
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна