Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

buttons.h

Go to the documentation of this file.
00001 //***************************************************************************
00002 #ifndef BUTTONS_H
00003 #define BUTTONS_H
00004 //***************************************************************************
00005 #ifdef CAVE
00006 
00007 #define iskeypressed(key, button) CAVEgetbutton(button)
00008 #define GLUT_KEY_LEFT           CAVE_LEFTARROWKEY
00009 #define GLUT_KEY_RIGHT          CAVE_RIGHTARROWKEY
00010 #define GLUT_KEY_UP             CAVE_UPARROWKEY
00011 #define GLUT_KEY_DOWN           CAVE_DOWNARROWKEY
00012 #define GLUT_KEY_PAGE_UP        CAVE_PAGEUPKEY
00013 #define GLUT_KEY_PAGE_DOWN      CAVE_PAGEDOWNKEY
00014 #define GLUT_KEY_HOME           CAVE_HOMEKEY
00015 #define GLUT_KEY_END            CAVE_ENDKEY
00016 #define GLUT_KEY_F2             CAVE_F2KEY
00017 #define GLUT_KEY_F5             CAVE_F5KEY
00018 
00019 #else
00020 
00021 #define iskeypressed(key, button) (key == button)
00022 #define CAVE_ESCKEY             27
00023 #define CAVE_RKEY               'r'
00024 #define CAVE_PERIODKEY          '.'
00025 #define CAVE_SPACEKEY           ' '
00026 #define CAVE_FKEY               'f'
00027 #define CAVE_DKEY               'd'
00028 #define CAVE_TKEY               't'
00029 #define CAVE_PKEY               'p'
00030 #define CAVE_IKEY               'i'
00031 #define CAVE_CKEY               'c'
00032 #define CAVE_SKEY               's'
00033 #define CAVE_VKEY               'v'
00034 #define CAVE_AKEY               'a'
00035 #define CAVE_EKEY               'e'
00036 
00037 #endif
00038 //***************************************************************************
00039 #endif // BUTTONS_H
00040 //***************************************************************************

Generated on Sun Jun 16 17:36:41 2002 for Anirudh's Vortex-Wake Simulation Code by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001