/*-------------------------------------------------------------------------- * menu.h * * This file contains constants used by the Menu interface. *-------------------------------------------------------------------------- */ /* Menu number constants */ #define PROJECT_MENU 0 #define VIEW_MENU 1 #define ROTATE_MENU 2 #define GOAL_MENU 3 #define ANIMATE_MENU 4 /* Menu item numbers */ /* Animate menu items */ #define ARM_ITEM 0 #define FLYPAST_ITEM 1 #define BOTH_ITEM 2 /* Goal menu items */ #define SET_ALL_JOINTS_ITEM 0 #define DISTAL_GOAL_ITEM 1 #define PLACE_OBSTACLES_ITEM 2 /* Rotate menu items */ #define SHOULDER_ITEM 0 #define ELBOW_ITEM 1 #define WRIST_ITEM 2 /* View menu items */ #define WIRE_FRAME_ITEM 0 #define SOLID_VIEW_ITEM 1 #define REF_AXES_ITEM 2 #define VIEWPOINT_ITEM 3 #define PERSPECTIVE_ITEM 4 /* Project menu items */ #define NEW_ITEM 0 #define AUTHOR_ITEM 1 #define HELP_ITEM 2 #define COLORS_ITEM 3 #define QUIT_ITEM 4 /* Subitem numbers for menu items */ /* Viewpoint item subitems */ #define FRONT_SUBITEM 0 #define SIDE_SUBITEM 1 #define TOP_SUBITEM 2 #define ANGLE1_SUBITEM 3 #define ANGLE2_SUBITEM 4 #define ANGLE3_SUBITEM 5 /* Perspective item subitems */ #define PARALLEL_SUBITEM 0 #define WIDE_ANGLE_SUBITEM 1 #define TELEPHOTO_SUBITEM 2 /* Background item subitems */ #define ON_SUBITEM 0 #define OFF_SUBITEM 1 /* Color item subitems */ #define DEFAULT_SUBITEM 0 #define SET1_SUBITEM 1 #define SET2_SUBITEM 2 #define SET3_SUBITEM 3