Cyberguide Code Reference

Fall Quarter 1995
11/30/95

Document Author:

Jason Vermillion

Project Sponsor:

Gregory Abowd

Cyberguide Team:

Ben Buie (Team Leader)
Jason Vermillion
Greg Brown
Nancy Babiarz
Eugene Liu
Chris Goodrum
Daniel Bassett


Outline


Introduction
TourGuide
Map
Information
PositioningSystem


Introduction


This document is a reference for the current Cyberguide. It documents the most frequently accessed views, variables, and functions. This document covers the most recent build as indicated in the File Layout Document.


Global Data Structures (Project Data)



TourGuide


Tour Guide is the main application view which holds all of the other views, clipper1 (map), viewDemos, viewDemosShort, About Screen, and other various global variables and functions. The slots of interest are:


Map (ViewWithClipper1)


The Map Screen shows the user a map of the GVU lab, with a small icon representing the users position located somewhere on the map. As the user moves about the GVU lab, the userŐs icon is adjusted on the map view to correspond with the userŐs locations. The user can also move the map by dragging it with the pen. To find his/her position again, the user can click the person icon.

The main components of the map are the clipper1 view which clips the map, viewwithpict1 (the physcial map and the demo pop-up boxes), the hand that appears whenever you drag the map, and myposition (the user icon that shows where the user is in the GVU lab).


Information


The information screens in Cyberguide allow the user access to printed information about each individual demonstration, what demos are available, what categories of demos are being shown, and what demonstrations are related together based on category. The user can use either a short version or long version of the information screens. The long version allows access to all of the demos whereas the short version only lets the user see the one demo that he selected from the map.

There are several key GUI objects which are important to the long form information screen; the category picker, demonstration picker, demonstration abstract text box, people scrolling list box, biography text box, the people picture box, and the text, people, and go-there buttons. The two pickers are used to select the category of demos to choose from and the demo picker is used to select which demo to display information about. The text and people button is used to either show the demonstration abstract or information about the people involved in the currently selected demo. When a user taps the go-there button then information screen disappears and the map view is shown so that the user sees the position of the demo that he had selected in the information screens.


PositioningSystem



Cyberguide Project Notebook
Last Modified 11/30/95 -- Ben Buie