1 | /****************************************************************************** |
---|
2 | * Program: JuxtaView for SAGE |
---|
3 | * Module: JuxtaSCUICommon.h - Part of JuxtaView's UI |
---|
4 | * Authors: Arun Rao, arao@evl.uic.edu, |
---|
5 | Ratko Jagodic, rjagodic@evl.uic.edu, |
---|
6 | Nicholas Schwarz, schwarz@evl.uic.edu, |
---|
7 | et al. |
---|
8 | Date: 30 September 2004 |
---|
9 | Modified: 9 September 2005 |
---|
10 | * |
---|
11 | * Copyright (C) 2004 Electronic Visualization Laboratory, |
---|
12 | * University of Illinois at Chicago |
---|
13 | * |
---|
14 | * All rights reserved. |
---|
15 | * |
---|
16 | * Redistribution and use in source and binary forms, with or without |
---|
17 | * modification, are permitted provided that the following conditions are met: |
---|
18 | * |
---|
19 | * * Redistributions of source code must retain the above copyright |
---|
20 | * notice, this list of conditions and the following disclaimer. |
---|
21 | * * Redistributions in binary form must reproduce the above |
---|
22 | * copyright notice, this list of conditions and the following disclaimer |
---|
23 | * in the documentation and/or other materials provided with the distribution. |
---|
24 | * * Neither the name of the University of Illinois at Chicago nor |
---|
25 | * the names of its contributors may be used to endorse or promote |
---|
26 | * products derived from this software without specific prior written permission. |
---|
27 | * |
---|
28 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
---|
29 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
---|
30 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
---|
31 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
---|
32 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
---|
33 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
---|
34 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
---|
35 | * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
---|
36 | * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
---|
37 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
---|
38 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
---|
39 | * |
---|
40 | * Direct questions, comments etc to schwarz@evl.uic.edu or |
---|
41 | * http://www.evl.uic.edu/cavern/forum/ |
---|
42 | * |
---|
43 | *****************************************************************************/ |
---|
44 | |
---|
45 | |
---|
46 | #ifndef JUXTASCUI_COMMON_H |
---|
47 | #define JUXTASCUI_COMMON_H |
---|
48 | |
---|
49 | #define TRANSMISSION_SIZE 10 //send 10 bytes at a time |
---|
50 | |
---|
51 | //Messages To Transmit |
---|
52 | #define JVPAN_LEFT "jvleft" |
---|
53 | #define JVPAN_RIGHT "jvright" |
---|
54 | #define JVPAN_UP "jvup" |
---|
55 | #define JVPAN_DOWN "jvdown" |
---|
56 | #define JVFAST_PAN_LEFT "jvfleft" |
---|
57 | #define JVFAST_PAN_RIGHT "jvfright" |
---|
58 | #define JVFAST_PAN_UP "jvfup" |
---|
59 | #define JVFAST_PAN_DOWN "jvfdown" |
---|
60 | #define JVZOOM_OUT "jvzoomout" |
---|
61 | #define JVZOOM_IN "jvzoomin" |
---|
62 | #define JVEXTENTS "jvextent" |
---|
63 | #define JVOVERVIEW "jvoverv" |
---|
64 | #define JVTRANSLATE "jvfreepan" |
---|
65 | #define JVQUIT "jvquit" |
---|
66 | #define JVRESEND "jvresend" |
---|
67 | |
---|
68 | |
---|
69 | #endif |
---|