#ifndef SIMX1_H #define SIMX1_H /* $Id: simx1.h,v 10.1 92/10/06 23:09:07 ca Exp $ */ /* This file includes the declarations for the graphics interface */ #ifndef NoX #include #include #include #endif /* NoX */ #define COMP_WINDOW 0 #define INFO_WINDOW 1 /* Flags that go in p_flags of parameters */ #define MeterMask 1 #define DisplayMask 2 #define ChangeMask 4 #define CanHaveMeterMask 8 #define InputMask 16 #define CanHaveLogMask 32 #define LogMask 64 #define ModifyMask 128 /* Fields in the p_display_type of parameters. (Should really be a structure with bit fields, but we'll worry about that later.) */ #define MeterColorMask 0xF0 #define MeterTypeMask 0xF #define BINARY 1 #define BAR_GRAPH 2 #define LOG 3 #define TIME_HISTORY 4 #define TIME_HISTORY_D 5 #define DELTA 6 #define HISTOGRAM 7 #define TEXT_METER 8 /* Screen update variable */ int screen_update; typedef caddr_t COMP_OBJECT; typedef caddr_t GRAF_OBJECT; /* actually a meter*/ #endif /* SIMX1_H */