Inference Group

Search :

Dasher Documentation

This is the API documentation for authors wishing to port Dasher to new platforms.

  Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

A Dasher interface should implement the CDasherScreen, CDasherSettingsInterface, CDashEdit and CSettingsStore classes. Communication with the core is via the CDasherAppInterface, CDasherSettingsInterface and CDasherWidgetInterface classes.

CDasherScreen is the canvas on which the Dasher model itself will be drawn. CDasherSettingsInterface provides an interface for configuring certain Dasher options that can't be done without the cooperation of the interface. CDashEdit is the "edit box" - this deals with input and output of characters, and saving of text. It doesn't inherently have to be an edit box, but could instead be an interface that allows text to be entered directly into other applications. CSettignsStore provides a platform dependent mechanism for loading and saving configuration options. You'll need to call ChangeView in the core in order to get the core to set up the initial model, and then call ChangeEdit and ChangeScreen to tell the core what your DasherScreen and DashEdit objects are. After that, stuff should just work. There's no need to implement the full set of features if your interface doesn't require it.

In case of queries, please contact
Generated on Fri Mar 14 15:47:08 2003 for Dasher by doxygen1.3-rc3

The Inference Group is supported by the Gatsby Foundation
and by a partnership award from IBM Zurich Research Laboratory
David MacKay
Site last modified Fri Oct 1 10:33:19 BST 2010