/***************************************************************************** * "Irit" - the 3d polygonal solid modeller. * * * * Written by: Gershon Elber Ver 1.0, Jan. 1992 * ****************************************************************************** * (C) Gershon Elber, Technion, Israel Institute of Technology * ****************************************************************************** * Global definitions of x11drvs interface. * *****************************************************************************/ #ifndef X11DRVS_H /* Define only once */ #define X11DRVS_H #define RESOURCE_NAME "irit" #define DEFAULT_VIEW_WIDTH 400 #define DEFAULT_VIEW_HEIGHT 400 extern GLOBAL_DATA int IGViewHasSize, IGViewHasPos, IGViewPosX, IGViewPosY, IGXScreen; extern GLOBAL_DATA unsigned int IGMaxColors, IGViewBackGroundPixel, IGViewTextPixel, IGViewBorderPixel, IGViewBorderWidth, IGViewWidth, IGViewHeight; extern GLOBAL_DATA Display *IGXDisplay; extern GLOBAL_DATA Window IGXRoot, IGViewWndw; extern GLOBAL_DATA Colormap IGXColorMap; extern GLOBAL_DATA GC IGXViewGraphContext; extern GLOBAL_DATA XColor IGBlackColor, *IGViewCursorColor, IGXViewColorsHigh[IG_MAX_COLOR + 1], IGXViewColorsLow[IG_MAX_COLOR + 1]; void SetViewWindow(int argc, char **argv); #endif /* X11DRVS_H */