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