Re: Dasher accessibility integration



There's a tarball of my current tree at 
http://www.codon.org.uk/~mjg59/dashercontrol.tar.gz . To get it running:

untar
cd dasher3
./configure --with-a11y --with-gtk2 (optionally add --with-speech for 
speech)
make
make install
dasher
Options/Alphabet/English with Limited Punctuation

And then there should be a "Control" node in the bottom right corner of 
the canvas. Once the option you've chosen passes off the right-hand edge 
of the screen, it will take effect. I'd guess you need accessibility 
stuff switched on, as per normal.

In terms of functionality, the Dasher core is given a tree of nodes via 
the add_control_tree function. This tree is displayed under the control 
node, and whenever one is selected a pointer and an integer are passed 
back to the interface code. The integer is used in this case to 
determine what kind of pointer it is, and if it's an Accessibility* is 
acted upon. The tree is built by the code in Src/Gtk2/accessibility.cc - 
it's very much a brute force attack on the problem due to it being 
written at about 5AM, it's vastly slow, does things far too often and 
there's no code to deal with changes in the tree. I'll be committing 
this to CVS shortly, possibly after cleaning it up so it appears like 
less of an insult to humanity.
-- 
Matthew Garrett | mjg59 srcf ucam org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]